marbl / metAMOS

A metagenomic and isolate assembly and analysis pipeline built with AMOS
http://marbl.github.io/metAMOS
Other
93 stars 45 forks source link

Automated installation problems #134

Closed creageng closed 10 years ago

creageng commented 10 years ago

I cd to metAMOS folder, run: python INSTALL.py core: ''' Will automatically install: Pysam Setuptools Fastqc Matplotlib Metavelvet Lap Kronatools Cython Sra Velvet Velvet-Sc Kraken Psutil Uniprot Amos Numpy

curl: (7) couldn't connect to host python: can't open file 'ez_setup.py': [Errno 2] No such file or directory

curl: (7) Failed to connect to 2607:f8b0:400e:c04::52: Network is unreachable tar: psutil.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now mv: cannot stat `./Utilities/python/psutil-0.6.1': No such file or directory Traceback (most recent call last): File "INSTALL.py", line 298, in os.chdir("./Utilities/python/psutil") OSError: [Errno 2] No such file or directory: './Utilities/python/psutil' """

What is the problem?

skoren commented 10 years ago

It looks like the system you are using does not have an internet connection. metAMOS installation will download required tools and install them and your error indicates the downloads are failing. I've verified the URLs in INSTALL.py are correct. Can you try running: curl -L http://psutil.googlecode.com/files/psutil-0.6.1.tar.gz -o ./psutil.tar.gz curl -L https://bitbucket.org/pypa/setuptools/raw/0.7.4/ez_setup.py -o ez_setup.py

To see if the downloads are successful or not.

creageng commented 10 years ago

Hi tried the curl -L http://psutil.googlecode.com/files/psutil-0.6.1.tar.gz -o ./psutil.tar.gz curl -L https://bitbucket.org/pypa/setuptools/raw/0.7.4/ez_setup.py -o ez_setup.py

Can not connect. But can download from ftp server.

thx

skoren commented 10 years ago

Without being able to download files, INSTALL.py is not going to be able to install most tools. You can try try manually installing the list of tools and adding them to your PATH and library path (i.e. PYTHONPATH, etc) variables or, if possible, use a different system/conneciton.

creageng commented 10 years ago

Thanks. I am asking for my proxy here.