Question: Deep tools : package_python_2_7_bx_python_0_7 error
0
christophe.habib • 340 wrote:
Hello,
I am trying to install deep tools from toolshed. But I have this error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bx-python 0.7.2 package Error | |
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.35.tar.gz | |
Traceback (most recent call last): | |
File "setup.py", line 9, in <module> | |
use_setuptools() | |
File "/data/GalaxyData/Formation/database/tmp/tmp-toolshed-mtdOdKO7H/bx-python-0.7.2/distribute_setup.py", line 152, in use_setuptools | |
return _do_download(version, download_base, to_dir, download_delay) | |
File "/data/GalaxyData/Formation/database/tmp/tmp-toolshed-mtdOdKO7H/bx-python-0.7.2/distribute_setup.py", line 131, in _do_download | |
to_dir, download_delay) | |
File "/data/GalaxyData/Formation/database/tmp/tmp-toolshed-mtdOdKO7H/bx-python-0.7.2/distribute_setup.py", line 201, in download_setuptools | |
src = urlopen(url) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 154, in urlopen | |
return opener.open(url, data, timeout) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 437, in open | |
response = meth(req, response) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 550, in http_response | |
'http', request, response, code, msg, hdrs) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 469, in error | |
result = self._call_chain(*args) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 409, in _call_chain | |
result = func(*args) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 656, in http_error_302 | |
return self.parent.open(new, timeout=req.timeout) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 431, in open | |
response = self._open(req, data) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 454, in _open | |
'unknown_open', req) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 409, in _call_chain | |
result = func(*args) | |
File "/home/galaxy/Formation/galaxy/dependencies/python/2.7.10/iuc/package_python_2_7_10/0339c4a9b87b/lib/python2.7/urllib2.py", line 1265, in unknown_open | |
raise URLError('unknown url type: %s' % type) | |
urllib2.URLError: <urlopen error unknown url type: https> |
I guess the simple solution would be to download the package (done) and to change the URL to the path of the archive. How can I do that ? Otherwise if you know how to fix this bug I would be glad to do it properly !
Thank you.
can you please paste the error you are getting? thanks
Ofc, sorry i didn't paste the good link!
Chris, can you try again please. It seems you can not fetch this URL http://pypi.python.org/packages/source/d/distribute/distribute-0.6.35.tar.gz but it is accessible. Any network issues on your end? Is this the latest deeptools version?