Search code examples
pythonubuntupycharmatom-editor

Atom and Pycharm do not see python libraries


Atom

Everything works if run from the terminal

Terminal


Solution

  • On PyCharm check if you have an active Interpreter: File> Settings> Project: "Project Name"> Python Interpreter

    If your Python Interpreter is than choose one. Your best choice would be the one: /usr/bin/python3.x

    On Atom you have to create your Virtual Environment. For this:

    $ python -m venv ./venv
    $ cd venv/Scripts
    $ venv\Scripts> activate
    

    You can check if it worked by typing: $ where Python

    You should see you working directory.