Hi, I’ve had success getting other non-wheel modules like dxfgrabber to install via pip and even updated to pip 19.2.1 using the pcbnew python window.
My system: win7 64.
I’d like to install Numpy from repository or local drive but throws errors:
from pip._internal import main as pipmain
pipmain ([‘install’, ‘–user’, ‘https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy/numpy‑1.16.4+vanilla‑cp27‑cp27m‑win_amd64.whl’])
Collecting https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy/numpy‑1.16.4+vanilla‑cp27‑cp27m‑win_amd64.whl
Downloading https://www.lfd.uci.edu/~gohlke/pythonlibs/ (2.1MB)
…
…
“[31m Cannot unpack file c:\users\username\appdata\local\temp\pip-unpack-kczr8r\pythonlibs.html (downloaded from c:\users\tinkerer\appdata\local\temp\pip-req-build-d1ydxj, content-type: text/html); cannot detect archive format [0m
[31mCannot determine archive format of c:\users\username\appdata\local\temp\pip-req-build-d1ydxj [0m
1”
or error from local drive:
pipmain ([‘install’, ‘–user’, ‘\pip\numpy-1.16.4+vanilla-cp27-cp27m-win_amd64.whl’])
[33mRequirement ‘\pip\numpy-1.16.4+vanilla-cp27-cp27m-win_amd64.whl’ looks like a filename, but the file does not exist [0m
[31mpip
umpy-1.16.4+vanilla-cp27-cp27m-win_amd64.whl is not a valid wheel filename. [0m
1
or:
pipmain ([‘install’, ‘–user’, ‘numpy-1.16.4+mkl-cp27-cp27m-win_amd64.whl’])
[33mRequirement ‘numpy-1.16.4+mkl-cp27-cp27m-win_amd64.whl’ looks like a filename, but the file does not exist [0m
[31mnumpy-1.16.4+mkl-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform. [0m
1
Numpy file is in \pip folder. It should find it there. However, pip reports it creates files but the location shows no such file was made. In the instance with dxfgrabber I created the missing file and pip installed dxfgrabber on the 2nd try. With wheels my experience is the opposite I create the file and pip will create another phantom with a different random suffix and again put nothing in it.
Worked on this for 3 days now to get this far. Any suggestions ?
Thanks in advance !