Import numpy on pycharm
In PyCharm go to
- File → Settings, or use Ctrl + Alt + S
- < project name > → Project Interpreter → gear symbol → Add Local
- navigate to
C:\Miniconda3\envs\my_env\python.exe
, where my_env is the environment you want to use
Alternatively, in step 3 use C:\Miniconda3\python.exe
if you did not create any further environments (if you never invoked conda create -n my_env python=3
).
You can get a list of your current environments with conda info -e
and switch to one of them using activate my_env
.
Go to
- ctrl-alt-s
- click "project:projet name"
- click project interperter
- double click pip
- search numpy from the top bar
- click on numpy
- click install package button
if it doesnt work this can help you:
https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html