Scott,
I'm not seeing your problem. You probably didn't do a module load opt-python
before trying pip?
try
# module load opt-python
# pip install pysam
worked fine for me. Rocks has it's own version of python (foundation-python) and is by definition the
same version as what the anaconda installer uses. All rocks command use THAT version of python. The version
is tied because rocks MUST be compatible with the installer.
The python roll provides an updated version of python (without stomping on the system version OR the foundation version)
This is to support "modern" editions of python and is the one to use for real application work. Python2 and Python3 are there.
virtualenv is available for both. To use those, module load opt-python.
I checked the compile log of /opt/python , ssl is properly being built.
=== log of installing pysam
[root@ ~]# which python
/usr/bin/python
[root@ ~]# module load opt-python
[root@~]# which python
/opt/python/bin/python
[root@~]# pip install pysam
Collecting pysam
Downloading pysam-0.13-cp27-cp27m-manylinux1_x86_64.whl (8.6MB)
100% |████████████████████████████████| 8.6MB 163kB/s
Installing collected packages: pysam
Successfully installed pysam-0.13
-P