deptlab:python_virtual_env
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
deptlab:python_virtual_env [2022/07/07 15:52] – [Using a Python3 IDE with Virtual Environments] localadmin | deptlab:python_virtual_env [2024/09/17 17:18] (current) – [Using Virtual Environments] localadmin | ||
---|---|---|---|
Line 81: | Line 81: | ||
Now your shell session is back to normal, and the python command refers to the global Python install. Remember to do this whenever you’re done using a specific virtual environment. | Now your shell session is back to normal, and the python command refers to the global Python install. Remember to do this whenever you’re done using a specific virtual environment. | ||
+ | |||
+ | Using Virtual Environment makes it east to reset your Python environment if you need to use a different set of packages. | ||
**Be sure to cleanup/ | **Be sure to cleanup/ | ||
- | ===== Using a Python3 IDE with Virtual Environments ===== | + | ===== Tips for Using a Python3 IDE with Virtual Environments ===== |
+ | |||
+ | ==== Using Spyder in the 244 Lab ==== | ||
+ | - Activate (start) your virtual environment. | ||
+ | - Run spyder | ||
+ | - Go to Tools --> preferences --> python Interpreter and select the python file from the virtual env you want to link to Spyder ex : / | ||
- | ==== Preferred Method: Spyder Method 1 (Use with tensorflow) ==== | + | ==== Preferred Method |
To use Spyder. | To use Spyder. | ||
- Activate (start) your virtual environment. | - Activate (start) your virtual environment. |
deptlab/python_virtual_env.1657209177.txt.gz · Last modified: by localadmin