Question: Fwd: Install Problems On Os X With Python From Macports
0
gravatar for James Casbon
10.2 years ago by
James Casbon370
James Casbon370 wrote:
Oops, missed the mailing list on this reply... Date: 2008/9/12 Subject: Re: [galaxy-user] Install problems on OS X with python from macports To: Nate Coraor <nate@bx.psu.edu> 2008/9/12 Nate Coraor <nate@bx.psu.edu>: It's the egg downloader doing md5s on the files. I think there are two ways hashlib can work, and I think the macports way is to use the _hashlib c implementation, which goes missing from the path. This is probably because MacPorts choose to split out hashlib from the base install. I can get hashlib from the interactive shell. Is there a way to get a shell with the galaxy environment? Here is the traceback. If you read hashlib, it tries to import _hashlib and if that fails and so it tries to get _md5. The MacPorts python should have _hashlib but not _md5 (as below). _hashlib cannot be found with the path for some reason. Traceback (most recent call last): File "scramble.py", line 11, in <module> use_setuptools( download_delay=8, to_dir=scramble_lib ) File "/Users/james/Src/galaxy_dist/scripts/scramble/build/py2.5-macos x-10.3-i386-ucs2/Cheetah/ez_setup.py", line 91, in use_setuptools return do_download() File "/Users/james/Src/galaxy_dist/scripts/scramble/build/py2.5-macos x-10.3-i386-ucs2/Cheetah/ez_setup.py", line 85, in do_download egg = download_setuptools(version, download_base, to_dir, download_delay) File "/Users/james/Src/galaxy_dist/scripts/scramble/build/py2.5-macos x-10.3-i386-ucs2/Cheetah/ez_setup.py", line 120, in download_setuptools import urllib2, shutil File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib /python2.5/urllib2.py", line 91, in <module> import hashlib File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib /python2.5/hashlib.py", line 133, in <module> md5 = __get_builtin_constructor('md5') File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib /python2.5/hashlib.py", line 60, in __get_builtin_constructor import _md5 ImportError: No module named _md5 OK I will try these flags out and see what happens. Thanks for the quick reply, James
galaxy • 1.2k views
ADD COMMENTlink written 10.2 years ago by James Casbon370
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 177 users visited in the last hour