simon-anders / htseq

HTSeq is a Python library to facilitate processing and analysis of data from high-throughput sequencing (HTS) experiments.
https://htseq.readthedocs.io/en/release_0.11.1/
GNU General Public License v3.0
122 stars 77 forks source link

Conda install doesn't appear to work #84

Closed j-berg closed 5 years ago

j-berg commented 5 years ago

I installed a couple versions of HTSeq from conda and keep getting this confusing error:

 htseq-count -h
Traceback (most recent call last):
  File "/uufs/chpc.utah.edu/common/home/.local/bin/htseq-count", line 4, in <module>
    __import__('pkg_resources').run_script('HTSeq==0.11.0', 'htseq-count')
  File "/uufs/chpc.utah.edu/common/home/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/uufs/chpc.utah.edu/common/home/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1444, in run_script
    exec(code, namespace, namespace)
  File "/uufs/chpc.utah.edu/common/home/anaconda3/lib/python3.6/site-packages/HTSeq-0.11.0-py3.6-linux-x86_64.egg-info/scripts/htseq-count", line 3, in <module>
    import HTSeq.scripts.count
  File "/uufs/chpc.utah.edu/common/home/anaconda3/lib/python3.6/site-packages/HTSeq/__init__.py", line 13, in <module>
    from HTSeq._HTSeq import *
  File "/uufs/chpc.utah.edu/common/home/anaconda3/lib/python3.6/site-packages/HTSeq/_HTSeq.py", line 7, in <module>
    __bootstrap__()
  File "/uufs/chpc.utah.edu/common/home/anaconda3/lib/python3.6/site-packages/HTSeq/_HTSeq.py", line 6, in __bootstrap__
    imp.load_dynamic(__name__,__file__)
ImportError: dynamic module does not define init function (init_HTSeq)

Do you all have any ideas what the origin of this issue might be. I have been using HTSeq for a while and have never run into the issue until this clean install.

j-berg commented 5 years ago

It appears for some reason my conda install wasn't being directly pointed to, thus the issues. Working just fine now.