Make Pycharm refer to the environment of a specific folder when you build a Python environment with virtualenv.
| Environmental factors | value |
|---|---|
| OS | Windows 10 (On HyperV) |
| PyCharm | PyCharm Community Edtion 5.0.4 |
(1) Start PyCharm and select in the following order.
menu bar> File > Settings > Project: [Project name] > Project Interpreter >Gear button> Add Local
(2) Specify and add python.exe of the environment created by virtualenv.
(3) Select the added environment from the select box of Project Interpreter
Switching is complete.
Recommended Posts