vatsaaa / others

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bring venv to an existing non-venv project in PyCharm

  1. Open project in PyCharm
  2. Go to settings / preferences
  3. Project: -> Project Interpreter -> Top right click the "settings" button -> Select "Show All"
  4. From the bottom of "Project Interpreters" window, click the '+' icon
  5. Select "New Environment", ensure location is <your-proj-directory/venv>
  6. Select the right base interpreter
  7. Click "OK"
  8. Open "Terminal" within PyCharm
  9. source venv/bin/activate
  10. pip install -r requirements.txt

About

License:MIT License