Create venv with Windows command line (you may also consider Python venv (PyCharm).
This is the recommended method to create a virtual environment for Room plugins.
At this time we recommend Python 3.8.0 release which is stable.
Room installer will install Python 3.8.0 in C:\Python38
so we recommend to let Room install Python. Anyway, you can download Python x64 installer from python.org and run the installer yourself, please select C:\Python38
for the target folder.
The installation performed by Room is somehow minimal:
$ python-3.8.0-amd64.exe /quiet TargetDir=C:\Python38 Shortcuts=0 PrependPath=1 Include_doc=0 Include_launcher=0 Include_test=0
For a manual installation, select custom installation:
- add Python 3.8.0 to PATH is selected
- unselect all options
- select pip
- select tcl/tk and IDLE
- select create shortcuts
- select add Pyhton to environment variables
- install in
C:\Python38
Please note that Room plugins are recommended to run in their own venv created with this method.
$ cd «Your Project Directory»
$ python -m pip install --upgrade pip
$ python -m venv --copies --clear .\venv
$ venv\Scripts\activate.bat
$ python -m pip install --upgrade pip
$ pip install -r requirements.txt
You can now run your Python script from the command line.
$ pip freeze > requirements.txt
$ venv\Scripts\deactivate.bat
Faure Systems (Dec 5th, 2019)
- company: FAURE SYSTEMS SAS
- mail: dev at faure dot systems
- github: fauresystems
- web: Faure Systems