Python Forum
why I can't install numpy with this procedure - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: why I can't install numpy with this procedure (/thread-12914.html)



why I can't install numpy with this procedure - atlass218 - Sep-18-2018

hello;
I try to install numpy at my PC like that:
on the command console I write this command
C:\program files\python35\Scripts<pip install numpy

but I have this error message [Image: cbgo.jpg]

thanks for help


RE: why I can't install numpy with this procedure - snippsat - Sep-18-2018

Bug report.
Quote:It appears the issue is a corporate proxy/firewall/mitm-box is not allowing traffic to pypi.org and/or files.pythonhosted.org.
Turn off firewall/AV as a test.
Try:
python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip
Newest version of pip is 18.0.
C:\>pip -V
pip 18.0 from c:\python37\lib\site-packages\pip (python 3.7)

C:\>pip install numpy
Collecting numpy
  Downloading https://files.pythonhosted.org/packages/2d/d4/ddfa53d27e2cdfef261b744df6e4b68134fc69b0d45ad8211e560178c852/numpy-1.15.1-cp37-none-win32.whl (9.9MB)
    100% |████████████████████████████████| 9.9MB 1.1MB/s
Installing collected packages: numpy
Successfully installed numpy-1.15.1

C:\>

Not related but our install tutorial.
Python 3.6/3.7 and pip installation under Windows


RE: why I can't install numpy with this procedure - atlass218 - Sep-19-2018

hello
I uninstalled version 3.5 of python and replaced it with a new version of python (pyton 3.7). Then I desabled the kaspersky antivirus, so I managed to install the numpy and scipy libraries.
But the installation of the library matplotlib, unfortunately failed
See the attached image describing the problem
[Image: ghae.jpg]

I need help to complete the installation of the matplotlib library
thank you


RE: why I can't install numpy with this procedure - snippsat - Sep-19-2018

Don't post image as it do not show all error message(cmd Ctrl-a now Enter and all text is copied)

Get Wheel here or here
Eg you choose for your Python version.
pip install matplotlib-3.0.0-cp37-cp37m-win32.whl



RE: why I can't install numpy with this procedure - atlass218 - Sep-20-2018

hello;

at the website : https://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib

I selected and choose this file: matplotlib-2.2.3-cp37-cp37m-win_amd64.whl
I install it and I belive that it's well now (pip install matplotlib-2.2.3-cp37-cp37m-win_amd64.whl)

thank you for your information and advice