Hello,
I wanted to install and run pysamstats under my Ubuntu-System.
To install I used pip with following commands
sudo -H pip install pysam==0.11.2.2
sudo -H pip install pysamstats
I got no error or warning messages during the installation, but everytime I use the command
pysamstats --help
I get following error message;
Traceback (most recent call last):
File "/usr/local/bin/pysamstats", line 10, in <module>
import pysamstats
File "/usr/local/lib/python2.7/dist-packages/pysamstats/__init__.py", line 8, in <module>
from .pileup import *
File "/usr/local/lib/python2.7/dist-packages/pysamstats/pileup.py", line 6, in <module>
import pysamstats.opt as opt
File "libcfaidx.pxd", line 51, in init pysamstats.opt (pysamstats/opt.c:34893)
AttributeError: 'module' object has no attribute 'PersistentFastqProxy'
I
tried to uninstall pysamstats and pysam via pip uninstall and then
reinstall both packages again. But this doesn't help either.
Can somebody help me?