python - Unable to install older wxPython within virtualenv (Cannot unpack file / Cannot determine archive format) -


within virtualenv built off python 2.6.6, i'm trying pip install 2.8.10.1 2.6 unicode dmg found here thus:

pip install -iv http://sourceforge.net/projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download 

granted, url bit of guess.

i (dividing log in two):

macbook-pro-de-pyderman:pyderman$ pip install -iv http://sourceforge.net/projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download -u --trusted-host sourceforge.net collecting http://sourceforge.net/projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download   starting new http connection (1): sourceforge.net   "get /projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download http/1.1" 302 519   starting new http connection (1): downloads.sourceforge.net   "get /project/wxpython/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg?r=&ts=1452906240&use_mirror=superb-dca2 http/1.1" 302 433   starting new http connection (1): superb-dca2.dl.sourceforge.net   "get /project/wxpython/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg http/1.1" 200 39136817   downloading http://sourceforge.net/projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download (39.1mb)   downloading url http://sourceforge.net/projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download     100% |████████████████████████████████| 39.1mb 1.9mb/s    cannot unpack file /private/var/folders/t3/yhd5b6lj2cz_b82qzw4zcwh40000gn/t/pip-mlgthu-unpack/download.dmg (downloaded /var/folders/t3/yhd5b6lj2cz_b82qzw4zcwh40000gn/t/pip-frcexs-build, content-type: application/x-apple-diskimage); cannot detect archive format cleaning up... cannot determine archive format of /var/folders/t3/yhd5b6lj2cz_b82qzw4zcwh40000gn/t/pip-frcexs-build 

-

exception information:pyderman traceback (most recent call last):   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/basecommand.py", line 211, in main     status = self.run(options, args)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/commands/install.py", line 305, in run     wb.build(autobuilding=true)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/wheel.py", line 705, in build     self.requirement_set.prepare_files(self.finder)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/req/req_set.py", line 334, in prepare_files     functools.partial(self._prepare_file, finder))   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/req/req_set.py", line 321, in _walk_req_to_install     more_reqs = handler(req_to_install)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/req/req_set.py", line 491, in _prepare_file     session=self.session)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/download.py", line 825, in unpack_url     session,   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/download.py", line 677, in unpack_http_url     unpack_file(from_path, location, content_type, link)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/utils/__init__.py", line 665, in unpack_file     'cannot determine archive format of %s' % location installationerror: cannot determine archive format of /var/folders/t3/yhd5b6lj2cz_b82qzw4zcwh40000gn/t/pip-frcexs-build starting new https connection (1): pypi.python.org /users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.   insecureplatformwarning there error checking latest version of pip traceback (most recent call last):   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/utils/outdated.py", line 126, in pip_version_check     headers={"accept": "application/json"},   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 477, in     return self.request('get', url, **kwargs)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/download.py", line 373, in request     return super(pipsession, self).request(method, url, *args, **kwargs)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 465, in request     resp = self.send(prep, **send_kwargs)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 573, in send     r = adapter.send(request, **kwargs)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/_vendor/cachecontrol/adapter.py", line 46, in send     resp = super(cachecontroladapter, self).send(request, **kw)   file "/users/pyderman/downloads/pyderman/venv/lib/python2.6/site-packages/pip/_vendor/requests/adapters.py", line 431, in send     raise sslerror(e, request=request) sslerror: [errno 1] _ssl.c:490: error:14090086:ssl routines:ssl3_get_server_certificate:certificate verify failed 

is "there error checking latest version of pip" significant?

pip virtualenv's own:

/users/pyderman/downloads/pyderman/venv/bin/pip --version pip 7.1.2 /users/pyderman/downloads/pyderman/venv/lib/python2.6/site-     packages (python 2.6) 

i don't think error checking version significant problem (this pip trying update itself) causing error. perhaps older version of python doesn't support required ssl settings? can disable update check using:

pip install -iv http://sourceforge.net/projects/wxpython/files/wxpython/2.8.10.1/wxpython2.8-osx-unicode-2.8.10.1-universal-py2.6.dmg/download --disable-pip-version-check 

Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -