I am having issues installing packages using pip. When installing packages through conda from within my environment it works fine however when trying to install through pip I continue receiving the ImportError: No Module named X.
The packages I am trying to install are a group of packages that are not apart of the conda distribution.
Example
[sjamal@login1(franklin) src]$ source activate Py343
(Py343) [sjamal@login1(franklin) src]$ pip install pyvcf
Collecting pyvcf
Requirement already satisfied: setuptools in /users/sjamal/anaconda3/envs/Py343/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg (from pyvcf)
Installing collected packages: pyvcf
Successfully installed pyvcf-0.6.8
(Py343) [sjamal@login1(franklin) src]$ python
Python 3.4.3 |Continuum Analytics, Inc.| (default, Oct 19 2015, 21:52:17)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import vcf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'vcf'
In ~/.bashrc I have the following path added /users/sjamal/anaconda3/bin which obviously allows me to access anaconda, conda etc.
I initially thought I had the same issue as in the question posed below. But either I missunderstood the answer or its not the same issue.
Does anaconda create a separate PYTHONPATH variable for each new environment?
I am pretty certain that it is a path issue but my lack of understanding of how installation of packages through pip and conda to the respective environments is probably why I can't seem to solve it.
Additional information:
I am on a login node on a cluster where I can't perform any root commands. I am sure root access is not needed but thought it would be good to mention. My linux distribution is CentOS release 6.6 (Final).
Thanks for taking a look at it!