I installed bottle on python3.4 with pip install. In terminal, when I do:
$ python3.4 >>>import bottle # shows no import error >>>
but when I do it in PyCharm, it says "import bottle ImportError: No module named 'bottle'"
Python interpreters in PyCharmA virtual environment consists of a base interpreter and installed packages. With PyCharm Professional, you can also configure interpreters to execute your Python code on remote environments: SSH, Vagrant, WSL (only for Windows), Docker, and Docker Compose.
in your PyCharm project:
+
button to install additional python modulesIn some cases no "No module ..." can appear even on local files. In such cases you just need to mark appropriate directories as "source directories":
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With