使用apt get在特定路径中安装python htseq包

使用apt get在特定路径中安装python htseq包,python,path,package,apt-get,Python,Path,Package,Apt Get,我想安装python htseq包,以便在从命令行运行python时使用它。但是,我使用的python是: $ which python /home/name/bin/Anaconda3/bin/python 在安装包时: $ dpkg -L python-htseq /usr/lib/python2.7/dist-packages/HTSeq/_HTSeq.so /usr/lib/python2.7/dist-packages/HTSeq/_HTSeq_internal.py 我有没有办法

我想安装python htseq包,以便在从命令行运行python时使用它。但是,我使用的python是:

$ which python
/home/name/bin/Anaconda3/bin/python
在安装包时:

$ dpkg -L python-htseq
/usr/lib/python2.7/dist-packages/HTSeq/_HTSeq.so
/usr/lib/python2.7/dist-packages/HTSeq/_HTSeq_internal.py
我有没有办法指出应该为哪个python安装包

我还尝试使用pip安装软件包,但收到错误消息:

Command "/home/name/bin/Anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vr1w43uw/HTSeq/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-wbat5dk9/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-vr1w43uw/HTSeq/
有没有办法避免上述任何问题

提前感谢您的帮助