Python Forum
why I can't install numpy with this procedure
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why I can't install numpy with this procedure
#1
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
Reply
#2
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
Reply
#3
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
Reply
#4
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
Reply
#5
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Numpy] How to store different data type in one numpy array? water 7 612 Mar-26-2024, 02:18 PM
Last Post: snippsat
  Numpy returns "TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'" kalle 2 2,632 Jul-19-2022, 06:31 AM
Last Post: paul18fr
  Library resources and ML procedure nsadams87xx 3 1,904 Mar-03-2020, 08:02 PM
Last Post: nsadams87xx
  Weighting The Python KMeans Procedure zsfeinstein 0 1,958 Apr-29-2019, 10:07 PM
Last Post: zsfeinstein
  "erlarge" a numpy-matrix to numpy-array PhysChem 2 2,994 Apr-09-2019, 04:54 PM
Last Post: PhysChem
  tensorflow stopped after numpy install Devilish 0 2,202 Dec-28-2018, 09:29 PM
Last Post: Devilish
  Numpy install using pip not working w/37 allnotes 2 4,060 Aug-08-2018, 07:52 PM
Last Post: allnotes
  I am unable to install NumPy in Python3.7.0 and I don't know why. kanika97_scs 4 8,066 Mar-21-2018, 08:37 PM
Last Post: metulburr
  Procedure Entry Point could not be located ZedsDead 2 3,260 Mar-17-2018, 07:25 AM
Last Post: ZedsDead
  ImportError: DLL load failed: The specified procedure could not be found. chess 1 4,196 Sep-17-2017, 10:12 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020