0

The 'tox' interpreter is in the '.tox' folder, after executing command tox. Are there any ways to set that interpreter to the PyCharm?

Oliver Bestwalter
  • 5,219
  • 33
  • 47
Vadim Kovrizhkin
  • 1,575
  • 4
  • 16
  • 27

1 Answers1

2

UPDATE: today this is made very easy with the PyVenvManage Plugin which provides a context menu entry to directly activate any virtualenv in .tox.


Yes that's possible. You open up Settings -> Project Interpreter -> Add local and choose the python binary you want to use. It does not matter if it lives in a .tox folder or somewhere else.

enter image description here

enter image description here

Also see pycharm help.

Oliver Bestwalter
  • 5,219
  • 33
  • 47