Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

problem installing numpy (Windows XP, Python 3.4) #57

Open
abubelinha opened this issue May 10, 2021 · 0 comments
Open

problem installing numpy (Windows XP, Python 3.4) #57

abubelinha opened this issue May 10, 2021 · 0 comments

Comments

@abubelinha
Copy link

I use Python 3.4 in Windows XP 32bits and I have successfully installed many Python packages using binaries provided by @cgohlke .

But for some reason I am not being able to install the basic package Numpy+MKL which is required by many other packages.
I have the feeling that my problem is related to the fact of having a "+" symbol inside the package name:

C:\python34\scripts\>pip install numpy-1.16.6+mkl-cp34-cp34m-win32.whl
DEPRECATION: Python 3.4 support has been deprecated. (...).
WARNING: Requirement 'numpy\u20111.16.6+mkl\u2011cp34\u2011cp34m\u2011win32.whl' looks like a filename, but the file does not exist
ERROR: numpy\u20111.16.6+mkl\u2011cp34\u2011cp34m\u2011win32.whl is not a valid wheel filename.

Actually, if I change the file name, then installation begins but I suspect the file name has importance here because not all names work (the one I tried I removed the mkl part, of the name, but then mkl package was missing).
I would be grateful if someone could help me this problem.

In the mean time, I also tried to install pipwin (as it is supposed to facilitate installation of these packages). But a different error raised here, which I suspect has nothing to do with numpy package:

c:\python34\scripts\pipwin install numpy

Building cache. Hang on . . .
Done
Package `numpy` found in cache
Downloading package . . .
https://download.lfd.uci.edu/pythonlibs/w4tscw6k/cp34/numpy-1.16.6+vanilla-cp34-cp34m-win32.whl
numpy-1.16.6+vanilla-cp34-cp34m-win32.whl
Traceback (most recent call last):
  File "c:\python34\lib\urllib\request.py", line 1183, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "c:\python34\lib\http\client.py", line 1137, in request
    self._send_request(method, url, body, headers)
  File "c:\python34\lib\http\client.py", line 1182, in _send_request
    self.endheaders(body)
  File "c:\python34\lib\http\client.py", line 1133, in endheaders
    self._send_output(message_body)
  File "c:\python34\lib\http\client.py", line 963, in _send_output
    self.send(msg)
  File "c:\python34\lib\http\client.py", line 898, in send
    self.connect()
  File "c:\python34\lib\http\client.py", line 1287, in connect
    server_hostname=server_hostname)
  File "c:\python34\lib\ssl.py", line 362, in wrap_socket
    _context=self)
  File "c:\python34\lib\ssl.py", line 580, in __init__
    self.do_handshake()
  File "c:\python34\lib\ssl.py", line 807, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python34\lib\runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python34\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\python34\scripts\pipwin.exe\__main__.py", line 9, in <module>
  File "c:\python34\lib\site-packages\pipwin\command.py", line 103, in main
    cache.install(package)
  File "c:\python34\lib\site-packages\pipwin\pipwin.py", line 300, in install
    wheel_file = self.download(requirement)
  File "c:\python34\lib\site-packages\pipwin\pipwin.py", line 294, in download
    return self._download(requirement, dest)
  File "c:\python34\lib\site-packages\pipwin\pipwin.py", line 290, in _download
    obj.start()
  File "c:\python34\lib\site-packages\pySmartDL\pySmartDL.py", line 267, in start
    urlObj = urllib.request.urlopen(req, timeout=self.timeout, context=self.context)
  File "c:\python34\lib\urllib\request.py", line 161, in urlopen
    return opener.open(url, data, timeout)
  File "c:\python34\lib\urllib\request.py", line 464, in open
    response = self._open(req, data)
  File "c:\python34\lib\urllib\request.py", line 482, in _open
    '_open', req)
  File "c:\python34\lib\urllib\request.py", line 442, in _call_chain
    result = func(*args)
  File "c:\python34\lib\urllib\request.py", line 1226, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "c:\python34\lib\urllib\request.py", line 1185, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

Any hints on how to solve this?
Thanks a lot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant