This documentation is for Dash Enterprise.
Dash Enterprise is the fastest way to write & deploy Dash apps and
Jupyter notebooks.
10% of the Fortune 500 uses Dash Enterprise to productionize AI and
data science apps. Find out if your company is using Dash Enterprise.
To keep Python packages in your development workspace in sync with
your deployed app, you have three options:
Install the package in your terminal with
shell
$ pip install <package>
$ pip freeze > requirements.txt
This is our recommended solution as it will automatically include the
version number of the package that you installed as well as any additional
dependencies that were installed. You can use the Git UI in the
leftmost sidebar to inspect which packages and versions were installed.
Install the package in your terminal with $ pip install <package>
and add that package name to requirements.txt
. This will not version
lock any of the package’s dependencies.
Add the package to requirements.txt
and then rebuild the
workspace. As with the second option, this will not version lock any of the package’s
dependencies.
Once you commit your changes to the requirements.txt
file and git push
those changes to deploy, your app rebuilds with the new requirements file.