ImportError: No module named 'bottle' - PyCharm

Tinno TL picture Tinno TL · Sep 27, 2014 · Viewed 125.8k times · Source

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'"

Answer

Thomasleveil picture Thomasleveil · Sep 27, 2014

in your PyCharm project:

  • press Ctrl+Alt+s to open the settings
  • on the left column, select Project Interpreter
  • on the top right there is a list of python binaries found on your system, pick the right one
  • eventually click the + button to install additional python modules
  • validate

enter image description here