This is what I used:
C:\Users\atomi>pip install tabulate
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: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