The main difference between PyCharm and Anaconda is that PyCharm is a quite convenient IDE and Anaconda is a set of python libraries. What I can recommend you right now: (do it in your terminal (โŒ˜+space -> terminal) or in PyCharm's terminal):

pip3 install numpy

The error you show seems like you tried to run it not in the terminal, but in python's console box :/

Also - here is a nice way to connect Anaconda's libraries to PyCharm

For installing libraries via PyCharm preferences:
1. Click on the "PyCharm" -> "Preferences"

2. Click on "Project Interpreter" and go for "+" button

3. Type "numpy" and "install package"

Answer from Maks Fedorchuk on Stack Overflow
๐ŸŒ
DEV Community
dev.to โ€บ tesseract-coding โ€บ how-to-install-numpy-in-pycharm-on-a-mac-1e0d
How to Install NumPy in PyCharm on a Mac - DEV Community
July 27, 2024 - First, open PyCharm on your Mac. If you don't have PyCharm installed, download and install it from the official website. Create a new project or open an existing one where you want to install NumPy.
Discussions

Help With NumPy (Installation)
Pycharm should be using a Python virtual environment for your current project and that's the environment you should be installing numpy in. Use the Pycharm package manager (see tabs along bottom of application window) to install numpy in your current environment. The >>> indicates you are entering pip in the Python interactive shell rather than in the operating system command line. If on Windows, open a powershell, command or terminal window and enter py -m pip install numpy to install the package. On macOS or Linux, open a terminal and enter, python3 -m pip install numpy In either case, if you are using Python virtual environments you need to activate the one you are working with that needs numpy before installing the package. More on reddit.com
๐ŸŒ r/learnpython
9
2
November 13, 2022
macos - How to install numpy with PyCharm on mac OSX? - Stack Overflow
I downloaded the binary file and all it does is open up PyCharm. How can I install? Many thanks. More on stackoverflow.com
๐ŸŒ stackoverflow.com
March 23, 2015
python - Import NumPy on PyCharm - Stack Overflow
I'm trying to import NumPy on PyCharm. Using the PyCharm terminal and Miniconda I've launched the command: conda install numpy And this was the output: Fetching package metadata: .... Solving pack... More on stackoverflow.com
๐ŸŒ stackoverflow.com
Unable to install numpy in pycharm version 9.3.3. Python version 3.8.2
Solved When installing visual studio [link] ( https://visualstudio.microsoft.com/visual-cpp-build-tools/ ) Offline Installer: [ https://aka.ms/vs/16/release/vs_buildtools.exe] Tick the checkbox of C++ build tools option in the installer. It will be around 2 Gb. Once installed it will tell you to restart your system. After restarting Go to Pycharm --> File --> Settings --> Project --> Project interpreter --> click the + symbol at the top right side , serach for numpy and click install package. More on reddit.com
๐ŸŒ r/pycharm
3
1
February 27, 2020
People also ask

How do I install NumPy in a PyCharm virtual environment?
Create or select a virtual environment as your project interpreter first. Then install numpy normally through Python Packages or terminal. Virtualenv isolates dependencies per project. Recommended approach for all Python development.
๐ŸŒ
tms-outsource.com
tms-outsource.com โ€บ home โ€บ how to install numpy in pycharm easily
How to Install NumPy in PyCharm Easily - TMS Outsource
How do I install NumPy in PyCharm using pip?
Open Terminal via View > Tool Windows > Terminal. Type 'pip install numpy' and press Enter. PyCharm's integrated terminal uses your project's pip command automatically. Installation completes in 10-30 seconds depending on connection speed.
๐ŸŒ
tms-outsource.com
tms-outsource.com โ€บ home โ€บ how to install numpy in pycharm easily
How to Install NumPy in PyCharm Easily - TMS Outsource
How do I check if NumPy is installed in PyCharm?
Open Python Console (View > Tool Windows > Python Console) and type 'import numpy as np' followed by 'print(np.__version__)'. Version output confirms successful installation. Import errors mean numpy isn't in your current interpreter.
๐ŸŒ
tms-outsource.com
tms-outsource.com โ€บ home โ€บ how to install numpy in pycharm easily
How to Install NumPy in PyCharm Easily - TMS Outsource
๐ŸŒ
TMS Outsource
tms-outsource.com โ€บ home โ€บ how to install numpy in pycharm easily
How to Install NumPy in PyCharm Easily - TMS Outsource
June 22, 2026 - Learning how to install NumPy in PyCharm takes about 3 minutes and saves hours of frustration with scientific computing projects. This guide walks through the complete installation process using JetBrainsโ€™ built-in package manager. Youโ€™ll also get a terminal alternative for pip install commands. By the end, youโ€™ll have NumPy running in your Python project, verified and ready for data analysis, array processing, or numerical operations. Works on Windows, macOS, and Linux with PyCharm Community or Professional Edition.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ installation guide โ€บ how-to-install-numpy-in-pycharm
How to install NumPy in PyCharm? - GeeksforGeeks
June 13, 2025 - Step 5: Click on NumPy option which is shown above and then click Install Package. ... NumPy package installed successfully. ... If the GUI installation fails, it is often due to issues such as network problems, environment misconfiguration or an outdated version of pip or the Python interpreter. In such cases, you can try installing NumPy directly from the PyCharm terminal.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Install Numpy in Pycharm | On Windows / Mac OS [2024]
To learn more, please visit the YouTube Help Center: https://www.youtube.com/help
๐ŸŒ
YouTube
youtube.com โ€บ learning gac
How to install numpy for pycharm #mac #windows #python #package - YouTube
how to install numpy for python 3.7 , python 3.8 #mac #windows
Published: April 25, 2020
Views: 3K
Find elsewhere
๐ŸŒ
YouTube
youtube.com โ€บ watch
How To Install NumPy In PyCharm - YouTube
In this tutorial, you will learn how to install NumPy in PyCharm, which is a popular Integrated Development Environment (IDE) for Python programming. NumPy i...
Published: April 13, 2023
๐ŸŒ
Reddit
reddit.com โ€บ r/learnpython โ€บ help with numpy (installation)
r/learnpython on Reddit: Help With NumPy (Installation)
November 13, 2022 -

UPDATE: Problem fixed. Thanks for the help, everyone.

For those having the same issue: My problem was that the virtual environment in PyCharm was preventing me from accessing my installation of numpy. If you are using PyCharm, be sure to use the in-built menus to install numpy from within the app (tutorial linked by someone in the comments below)!

Hello all,

I have been having some troubles attempting to install and use the NumPy module. I would like to create some arrays/matrices to use in the project I am working on. However, I cannot seem to get it to work...

So I looked it up, apparently I managed to grab a Python package that does not already have NumPy. That's fine, I can install it myself. But when I tried to type pip install numpy, it gives me the following error message (I tried just typing pip, pip install, but nothing seems to work):

Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> pip
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'pip' is not defined
>>> pip install
  File "<stdin>", line 1
    pip install
        ^
SyntaxError: invalid syntax
>>> pip install numpy
  File "<stdin>", line 1
    pip install numpy
        ^
SyntaxError: invalid syntax
>>>

I did some looking around on google, and found someone who said to try importing pip before attempting the install, and so I did just that in my python cmd window (this is the python shell that I can launch from my start menu, but I have also tried this on the regular windows cmd window), et voila, it installed it. Problem solved, or so it seemed...

So I then go to try and use import numpy and even from numpy import * in my script in PyCharm, but I get the following messages:

"No module named numpy" or "Unresolved reference 'numpy'."

What gives? Now, I will say that there seems to be something up with my PATH, because if I type py into my Windows cmd window, python loads up, but if I type out python, it pulls up the windows store. I remember that the shell said something about the PATH while "installing" numpy, but I didn't think anything of it because it still completed the installation, so I did not copy down the exact message.

Any help would be appreciated. I feel like it's something to do with the PATH stuff, or I somehow messed up my original python installation. But everything else works fine, I've been writing code for the past four days with no issues.

๐ŸŒ
YouTube
youtube.com โ€บ watch
How to install NUMPY in PyCharm - 2 ways explained step by step - YouTube
Learn how to install numpy in your Python Project in the PyCharm IDE.By watching this video, you will learn two ways to do the installation of Numpy in your ...
Published: August 23, 2022
Views: 10K
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Install NumPy on PyCharm - Setting up your Python Interpreter - YouTube
Hey everyone, I hope this video helped someone! This video describes how to download and install NumPy onto PyCharm, as well as onto your Python Interpreter.
Published: February 18, 2023
๐ŸŒ
Finxter
blog.finxter.com โ€บ home โ€บ learn python blog โ€บ how to install numpy on pycharm?
How to Install NumPy on PyCharm? - Be on the Right Side of Change
September 11, 2021 - Open File > Settings > Project from the PyCharm menu. Select your current project. Click the Python Interpreter tab within your project tab. Click the small + symbol to add a new library to the project.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Install numpy package on pycharm IDE (2021) - YouTube
In this video, learn how to install numpy package on PyCharm IDE. To Install PyCharm IDE, refer the below video:https://youtu.be/u-wjBfGHT1Eโ˜… Top Online Cour
Published: April 25, 2021
๐ŸŒ
Studyopedia
studyopedia.com โ€บ home โ€บ how to setup numpy on pycharm ide
How to setup Numpy on PyCharm IDE - Studyopedia
January 1, 2025 - We will learn how to install Numpy. NumPy is an open-source Python library, that allows you to work with multi-dimensional arrays & matrices.
๐ŸŒ
pythontutorials
pythontutorials.net โ€บ blog โ€บ how-to-install-numpy-in-pycharm
How to Install NumPy in PyCharm โ€” pythontutorials.net
Click on the + button in the top - right corner of the Python Interpreter window. In the search bar, type numpy. Select the numpy package from the list of available packages. Click the Install Package button.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How to Install Numpy on MacOS | How To Install NumPy On A Mac - YouTube
In this Python video I am going to show you How to Install numpy Package or How to use PyCharm for installing and managing Pip and PyPI (Python Package Inde...
Published: August 3, 2022
๐ŸŒ
Quora
quora.com โ€บ What-is-the-command-to-install-a-package-in-PyCharm-like-Jupyter-Notebooks-has-Pip-install-numpy
What is the command to install a package in PyCharm like Jupyter Notebooks has โ€œ! Pip install numpyโ€? - Quora
Answer: you can do it 3 ways. 1. 1 type โ€˜pip install numpyโ€™ into the terminal within Pycharm - not the python console 2. 2 you can do an โ€˜import numpyโ€™ in your python code, and when python does the red squggle under that line it will prompt you to install and import 3. 3 if you are ...