#🔒 numpy installation error
111 messages · Page 1 of 1 (latest)
@azure eagle
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
add Python and pip to the path
how ?
Reinstall python and check “add to path” option
no need really
search up path on your windows whatever task bar click on it
i had this error message, then i reinstalled python
and i still have it
There’s another way, but it’s a tad more complicated on windows as he has to navigate multiple windows
Doing it through installer is best case scenario for a noobie . That’s just my opinion tho
Environment tables yes
now, search up python, click open file location, copy the file location, add it onto your path, restart your terminal
where do i search python ?
in your windows whatever search bar
i don’t know the names of every windows gui component apologies
C:\Users\(Your logged in User)\AppData\Local\Programs\Python\Python...
my python is in my downloads ?
The place where it is actually installed will be here (likely)
Honestly, it will be easier to uninstall and install and making sure you check "add to path"
no python folder
you didn’t install it then
double click the installation exe file in your downloads
in roaming there is one
You got the installer from python.org?
yes that’s it
i just reinstalled it
download installer from here
like 15 mins ago
Check add to path when installing
I think it is not checked by default
okay, restart your terminal if it was checked by default and run python -v
no
Not checked by default
oh yes
yes
do i have to delete files in appdata and programfiles ?
or just unistall from control pannel
no need, youll be fine, but if you must, uninstall it from apps & programs
alr im unistalling it rn
okay
install now
no admin ?
yes admin
not really required but preferably yeah
once installed restart your terminal / cmd / powershell, rerun pip install numpy and you should be good to go
ow do i do that ?
it was in program files
i did
Ah alright
you just, exit out of powershell, or your command prompt
reopen it
do pip install numpy
disable path length limit then close
yeah
wew it works now
amazing
what is the environment variables thing tho ?
i had to change something at some point on another computer
That means you can do python or pip without having to type out the FULL path
they basically tell the system “hi X is here, Y is here, Z is here”
i see
It would have still worked, but you would have to type C:\full\path\to\pip etc.
so C:\full\path\to\pip install numpy ?
Yeah, but then like the actual path to pip
it will work now
^
I don't know where it is installed exactly
But adding to path means you don't need to know 😛
it did
c:/users/youruser/appdata/local/python/python3.13/pip.exe
congrats
thank you very much to both of you
<3
<3
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.