# Pip installing off PATH: should I do something?

**URL:** <https://discuss.python.org/t/pip-installing-off-path-should-i-do-something/21353>\
**Category:** Python Help\
**Created:** [November 23, 2022, 9:03pm UTC](https://discuss.python.org/t/pip-installing-off-path-should-i-do-something/21353 "2022-11-23T21:03:47Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![cameron](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/cameron/32/2658_2.png) [@cameron](https://discuss.python.org/u/cameron)\
**Post date:** [November 24, 2022, 11:48pm UTC](https://discuss.python.org/t/pip-installing-off-path-should-i-do-something/21353/8 "2022-11-24T23:48:24Z")

</div>

> This is what I used:  
> `C:\Users\atomi>pip install tabulate`
> 
> ```auto
> Requirement already satisfied: tabulate in c:\users\atomi\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (0.9.0)
> 
> ```

Ok, this still looks a bit bogus based on the install path. I think  
you’re finding the `pip` command from the wrong place (which is why the  
`py -m pip` version is preferred - always correct for `py`).

> Sorry for the delay.

No worries. I’m in GMT+11.

> Edit: Entered `py -m pip install numpy` for this result:
> 
> ```auto
> Collecting numpy
> Using cached numpy-1.23.5-cp310-cp310-win_amd64.whl (14.6 MB)
> Installing collected packages: numpy
> WARNING: The script f2py.exe is installed in 'C:\Users\atomi\AppData\Local\Programs\Python\Python310\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.
> Successfully installed numpy-1.23.5
> 
> ```
> 
> So… progress?

That install path looks _far_ more reasonable.

So if you start an interactive Python prompt by typing `py`, does  
`import numpy` now work?

Example (again, on a Mac, so the command’s a little different from  
yours:

```
 [~]fleet2*> py3
 Python 3.10.6 (main, Aug 11 2022, 13:47:18) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import numpy
 >>>

```

For clarity, the bits I typed above were `py3` to start my Python, and  
`import numpy` to try the import.

Cheers,  
Cameron Simpson [cs@cskk.id.au](mailto:cs@cskk.id.au)

---

_[View the full topic](https://discuss.python.org/t/pip-installing-off-path-should-i-do-something/21353)._
