This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
How To: Create a Text File for a Backing up Designer Python Packages
This article will go over how to create a requirement text from the packages that are installed for the Python Tool and walk through how to use that document to reinstall after installs or upgrades.
To generate the text file containing the python packages
Start with a new Python tool.
In a new cell, run the following command, making sure to replace the file location and file name to your preference.
!pip freeze > "C:\temp\requirement.txt"
After you run that command, confirm the document was created and has the package list inside. This is the document you will want to use to reinstall all the packages after upgrading or after a fresh installation of Designer.
To reinstall the packages using that file
Start with a new Python Tool.
In a new cell, run the following command, pointing to the location of your file.