Skip to content
yvancouver edited this page May 30, 2014 · 1 revision

Mon May 26 11:36:32 CEST 2014

> python MergeResults.py
Traceback (most recent call last):
  File "MergeResults.py", line 10, in 
    import argparse
ImportError: No module named argparse

Install anaconda

27Mai2014

With the default python

>>> import vcf
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named vcf
>>> import argparse
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named argparse
>>>

With anaconda

-bash-4.1$ python
Python 2.7.6 |Anaconda 1.9.2 (64-bit)| (default, Jan 17 2014, 10:13:17)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import vcf
>>> import argparse
>>>
  • mkdir transfert
  • cd /data/projects/yvans/
  • mkdir anaconda
  • bash Anaconda-1.9.2-Linux-x86_64.sh
  • ./bin/conda update conda
  • ./bin/conda update anaconda
  • pip install pyvcf
  • pip install argparse
  • cd ~/transfert/workspace/fingerprinting/
  • /data/projects/yvans/anaconda/bin/python MergeResults.py

No errors!!!

###UPGRADE PYTHON PACKAGE### pip-reviw --interactive

pip install PIL --allow-external PIL --allow-unverified PIL

28Mai2014

Clone this wiki locally