You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`PyCharm`_ will automatically setup a `Python virtual environment <https://docs.python.org/3/tutorial/venv.html>`_ for new or added projects.
16
+
By default this virtual environment is isolated and will ignore global Python packages installed from the standard terminal. **In this case you MUST install tcod inside of your per-project virtual environment.**
17
+
18
+
The recommended way to work with PyCharm is to add a ``requirements.txt`` file to the root of your PyCharm project with a `requirement specifier <https://pip.pypa.io/en/stable/cli/pip_install/#requirement-specifiers>`_ for `tcod`.
Once this file is saved to your projects root directory then PyCharm will detect it and ask if you want these requirements installed. Say yes and `tcod` will be installed to the `virtual environment`. Be sure to add more specifiers for any modules you're using other than `tcod`, such as `numpy`.
28
+
29
+
Alternatively you can open the `Terminal` tab in PyCharm and run ``pip install tcod`` there. This will install `tcod` to the currently open project.
0 commit comments