python install virtual environment

1, after python3.3, venv tool comes with a virtual environment, you can replace virtualenv

But if we use pycharm create a virtual environment, or use virtualenv

 

2, create a virtual environment:

python -m venv C:\PyProject\nmt-keras

============== or =============

pycharm which you can use the New Project

3, using a virtual environment

C:\PyProject\nmt-keras\Scripts\activate.bat

4, if needed debugging console, set the console to the virtual environment can interpreter =

 

Guess you like

Origin www.cnblogs.com/yjybupt/p/10968703.html