Comments (5)
I can't really tell without seeing the error message - please could you copy/paste the message, below.
I've just attempted to install pyani in a virtualenv, and it worked correctly. Here's how I did it:
virtualenv test
source test/bin/activate
pip3 install pyani
The pip
install step gave me the output:
$ pip3 install pyani
Collecting pyani
Downloading pyani-0.2.1-py3-none-any.whl (47kB)
100% |████████████████████████████████| 51kB 998kB/s
Collecting rpy2 (from pyani)
Downloading rpy2-2.8.3.tar.gz (186kB)
100% |████████████████████████████████| 194kB 1.8MB/s
Collecting pandas (from pyani)
Downloading pandas-0.19.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (11.4MB)
100% |████████████████████████████████| 11.4MB 104kB/s
Collecting matplotlib (from pyani)
Using cached matplotlib-1.5.3-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting seaborn (from pyani)
Downloading seaborn-0.7.1.tar.gz (158kB)
100% |████████████████████████████████| 163kB 2.2MB/s
Collecting scipy (from pyani)
Using cached scipy-0.18.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting biopython (from pyani)
Downloading biopython-1.68.tar.gz (14.4MB)
100% |████████████████████████████████| 14.4MB 41kB/s
Collecting six (from rpy2->pyani)
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting pytz>=2011k (from pandas->pyani)
Using cached pytz-2016.7-py2.py3-none-any.whl
Collecting python-dateutil>=2 (from pandas->pyani)
Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
100% |████████████████████████████████| 194kB 320kB/s
Collecting numpy>=1.7.0 (from pandas->pyani)
Using cached numpy-1.11.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting pyparsing!=2.0.0,!=2.0.4,!=2.1.2,>=1.5.6 (from matplotlib->pyani)
Using cached pyparsing-2.1.10-py2.py3-none-any.whl
Collecting cycler (from matplotlib->pyani)
Downloading cycler-0.10.0-py2.py3-none-any.whl
Building wheels for collected packages: rpy2, seaborn, biopython
Running setup.py bdist_wheel for rpy2 ... done
Stored in directory: /Users/lpritc/Library/Caches/pip/wheels/e8/08/4c/8a2bec94e55df1a2e175d9d352b30770e554fb8378f76a8cde
Running setup.py bdist_wheel for seaborn ... done
Stored in directory: /Users/lpritc/Library/Caches/pip/wheels/cb/c8/67/83d615c0ef9b529558525aa521025b183de8c5b156799b091e
Running setup.py bdist_wheel for biopython ... error
Complete output from command /Users/lpritc/test/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/private/var/folders/f9/b9snshhs35sb95fd60kt8x5w0000gn/T/pip-build-4cj1ruhf/biopython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/f9/b9snshhs35sb95fd60kt8x5w0000gn/T/tmp9du15fw0pip-wheel- --python-tag cp35:
running bdist_wheel
running build
running build_py
Numerical Python (NumPy) is not installed.
This package is required for many Biopython features. Please install
it before you install Biopython. You can install Biopython anyway, but
anything dependent on NumPy will not work. If you do this, and later
install NumPy, you should then re-install Biopython.
You can find NumPy at http://www.numpy.org
----------------------------------------
Failed building wheel for biopython
Running setup.py clean for biopython
Successfully built rpy2 seaborn
Failed to build biopython
Installing collected packages: six, rpy2, pytz, python-dateutil, numpy, pandas, pyparsing, cycler, matplotlib, scipy, seaborn, biopython, pyani
Running setup.py install for biopython ... done
Successfully installed biopython-1.68 cycler-0.10.0 matplotlib-1.5.3 numpy-1.11.2 pandas-0.19.1 pyani-0.2.1 pyparsing-2.1.10 python-dateutil-2.6.0 pytz-2016.7 rpy2-2.8.3 scipy-0.18.1 seaborn-0.7.1 six-1.10.0
This installed the module and scripts, e.g.:
$ average_nucleotide_identity.py -h
usage: average_nucleotide_identity.py [-h] [-o OUTDIRNAME] [-i INDIRNAME] [-v]
[-f] [-s FRAGSIZE] [-l LOGFILE]
[--skip_nucmer] [--skip_blastn]
[--noclobber] [--nocompress] [-g]
[--gformat GFORMAT] [--gmethod GMETHOD]
[--labels LABELS] [--classes CLASSES]
[-m METHOD] [--scheduler SCHEDULER]
[--workers WORKERS]
[--SGEgroupsize SGEGROUPSIZE]
[--maxmatch] [--nucmer_exe NUCMER_EXE]
[--blastn_exe BLASTN_EXE]
[--makeblastdb_exe MAKEBLASTDB_EXE]
[--blastall_exe BLASTALL_EXE]
[--formatdb_exe FORMATDB_EXE]
[--write_excel] [--rerender]
[--subsample SUBSAMPLE] [--seed SEED]
[--jobprefix JOBPREFIX]
from pyani.
when I tried to set up Pyani, everytime has changed the error message like below script.
"Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-0hnh2qp_/scipy
Storing debug log for failure in /root/.pip/pip.log"
Why did the error message happen?
I am looking forward to hearing a helpful reply.
Thank you.
from pyani.
The problem appears to be in the attempt to install SciPy, so may not be a problem with pyani
.
What does the installation log in /root/.pip/pip.log
tell you about the failure (this is indicated as the place to check, in the error message you got)
from pyani.
This thread on StackOverflow might be helpful: http://stackoverflow.com/questions/26575587/cant-install-scipy-through-pip
from pyani.
Issue closed because problem appears to be with scipy
installation.
from pyani.
Related Issues (20)
- Update v2 distribution on PyPI (and bioconda) HOT 8
- Bug in CircleCI tests for python 3.6: caching issue HOT 4
- Updating `Contributors.md` HOT 3
- `test_cli_parsing()` tests fail when `pytest` is run with no flags HOT 1
- Problem with EASY-INSTALL-ENTRY-SCRIPT for miniconda HOT 1
- Untested code in `fastani.py` HOT 1
- pyani: command not found HOT 1
- Use of `unittest.TestCase` assertion methods provides more informative error messages than `assert` HOT 1
- pyani command not found HOT 1
- `pyani` command not found HOT 1
- Cannot run anim in pyani 0.3.0-alpha using provided data, on macosx 12.6, nucmer fails. HOT 4
- Error "Cannot update because the update target is missing these hooks" when trying to use autoupdate on my repo HOT 1
- sending some love for this script: " genbank_get_genomes_by_taxon.py" HOT 2
- ERROR: This has possibly been a NUCmer run failure, please investigate ERROR: NoneType: None HOT 3
- Type strain vs X of genomes HOT 1
- ValueError in pyani plot using pyani 0.3.0-alpha
- Pyani not installing through conda HOT 5
- Inquiry on Analysis Duration with ANIb and ANIm for Streptomyces Genomes HOT 4
- Fix alignment coverage >1.0 and aniM symmetrical behaviour HOT 8
- Add separate columns for subject and query alignment lengths in `--run_results` HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyani.