#f2py.exe and numpy-config.exe are not in PATH. What to do?

12 messages · Page 1 of 1 (latest)

paper kraken
#

So I don't know if this is the right place to ask this question but I was trying to get started again on my new pc after a while and tried installing numpy when suddenly this popped up:
" WARNING: The scripts f2py.exe and numpy-config.exe are installed in 'C:\Users\Theon\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location."
Does anyone know how to fix this?

onyx cairnBOT
#

-# Python @weak pier @junior marsh @hoary hornet @dusty wharf
-# Windows @primal nova @junior marsh @hoary hornet @dusty wharf

dusty wharf
#

@onyx cairn tell him how to add to path on windows

onyx cairnBOT
#

-# Writing a response for "How to add Python scripts directory to Windows PATH"

onyx cairnBOT
# paper kraken So I don't know if this is the right place to ask this question but I was trying...

Hey! That's a super common issue when setting up a new environment. Here is how you can add that folder to your PATH:

  1. Locate your path: Find the folder path (usually C:\Users\<User>\AppData\Local\Programs\Python\PythonXX\Scripts).
  2. Open Environment Variables: Press Win, type "env", and select Edit the system environment variables.
  3. Edit Path: Click the Environment Variables button. Under User variables, select Path and click Edit.
  4. Add Entry: Click New and paste your directory path.
  5. Save: Click OK on all windows to apply changes.

Verification
Open a new Command Prompt or PowerShell window and run:

pip --version

Note: You must restart any open terminal windows for the changes to take effect. If you installed Python via the official installer, you can also re-run the installer and select "Modify" to check the "Add to PATH" option automatically.

dusty wharf
#

there ya go @paper kraken

paper kraken
#

thank you:)

#

any tips on how to find the path if its not C:\Users<User>\AppData\Local\Programs\Python\PythonXX\Scripts?

onyx cairnBOT
#

No worries! The easiest way to find exactly where your Python is installed is to open your command prompt (cmd) and type:

where python

That will show you the path to your python.exe. Your Scripts folder will be in that same parent directory. Let me know if that helps you find it!

paper kraken
#

@dusty wharf sorry if im annoying you but it now shows this (I censored my name because idk if its dangerous to show lol) is this correct?

dusty wharf
#

Yes truly dangerous

#

I haven't touched Windows in years but looks ok