Hello. As I searched for it, in the Jango Girls tutorial
He started the project by creating Python Virtualenv.
I think it's really good to create an independent development environment.
I wonder if they create a virtual environment in real service~
virtualenv python
I think it depends on the choice. If your deployment uses a fixed version of Python interpreter, you can also extract the package information that you used in your virtual environment as text and install it at once.
Output package list installed with pip
Save a list of packages in use in your environment in requirements.txt
$ pip freeze > requirements.txt
Automatic installation of printed package list information
Install all using requirements.txt
$ pip install -r requirements.txt
In this way, you can ensure that each environment maintains the same package version and dependency.
765 M2 Mac fails to install rbenv install 3.1.3 due to errors
633 PHP ssh2_scp_send fails to send files as intended
751 Error in x, y, and format string must not be None
845 Uncaught (inpromise) Error on Electron: An object could not be cloned
768 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2025 OneMinuteCode. All rights reserved.