-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't install #108
Comments
Hi @seaward901 , Can you provide the full output of the installation command? Also, what version of python are you using? |
Thank you
python 3.8.5
[seaward]$ python3 -m pip install gff3tool
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting gff3tool
Using cached https://mirrors.aliyun.com/pypi/packages/aa/b3/cecb768a048bf2e661f0e77bf3208ed8ef203acbd93107b1f00d7b57da1e/gff3tool-2.0.1.tar.gz (79 kB)
Building wheels for collected packages: gff3tool
Building wheel for gff3tool (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_o7ow8rg/gff3tool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_o7ow8rg/gff3tool/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-50bjnyoc
cwd: /tmp/pip-install-_o7ow8rg/gff3tool/
Complete output (3 lines):
running bdist_wheel
running build
error: <urlopen error retrieval incomplete: got only 606208 out of 175185600 bytes>
----------------------------------------
ERROR: Failed building wheel for gff3tool
Running setup.py clean for gff3tool
Failed to build gff3tool
Installing collected packages: gff3tool
Running setup.py install for gff3tool ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_o7ow8rg/gff3tool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_o7ow8rg/gff3tool/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-ts6zm53n/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/seaward/.local/include/python3.8/gff3tool
cwd: /tmp/pip-install-_o7ow8rg/gff3tool/
Complete output (3 lines):
running install
running build
error: [Errno 17] File exists: '/tmp/pip-install-_o7ow8rg/gff3tool/gff3tool/lib/ncbi-blast+'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-_o7ow8rg/gff3tool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-_o7ow8rg/gff3tool/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-ts6zm53n/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/seaward/.local/include/python3.8/gff3tool Check the logs for full command output.
…------------------ 原始邮件 ------------------
发件人: "NAL-i5K/GFF3toolkit" <[email protected]>;
发送时间: 2020年11月12日(星期四) 晚上9:41
收件人: "NAL-i5K/GFF3toolkit"<[email protected]>;
抄送: "陈思远"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [NAL-i5K/GFF3toolkit] can't install (#108)
Hi @seaward901 ,
Can you provide the full output of the installation command? Also, what version of python are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I've tried it on several operating systems,ubuntu, CentOS, Windows 10, The results are the same.
…------------------ 原始邮件 ------------------
发件人: "NAL-i5K/GFF3toolkit" <[email protected]>;
发送时间: 2020年11月12日(星期四) 晚上9:41
收件人: "NAL-i5K/GFF3toolkit"<[email protected]>;
抄送: "陈思远"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [NAL-i5K/GFF3toolkit] can't install (#108)
Hi @seaward901 ,
Can you provide the full output of the installation command? Also, what version of python are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Are you installing within a virtual environment? E.g.:
|
Thank you for your answer, I use python3.9
[seaward]$ python3.9 -m pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already up-to-date: pip in /home/seaward/.local/lib/python3.9/site-packages (20.2.4)
[seaward]$ python3.9 -m pip install wheel
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.34.2)
[seaward]$ python3.9 -m pip install gff3tool
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting gff3tool
Using cached https://mirrors.aliyun.com/pypi/packages/aa/b3/cecb768a048bf2e661f0e77bf3208ed8ef203acbd93107b1f00d7b57da1e/gff3tool-2.0.1.tar.gz (79 kB)
Building wheels for collected packages: gff3tool
Building wheel for gff3tool (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-46ln5k27/gff3tool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-46ln5k27/gff3tool/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0mv9p7o9
cwd: /tmp/pip-install-46ln5k27/gff3tool/
Complete output (3 lines):
running bdist_wheel
running build
error: <urlopen error retrieval incomplete: got only 131072 out of 175185600 bytes>
----------------------------------------
ERROR: Failed building wheel for gff3tool
Running setup.py clean for gff3tool
Failed to build gff3tool
Installing collected packages: gff3tool
Running setup.py install for gff3tool ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-46ln5k27/gff3tool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-46ln5k27/gff3tool/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-nmvb99oz/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/seaward/.local/include/python3.9/gff3tool
cwd: /tmp/pip-install-46ln5k27/gff3tool/
Complete output (3 lines):
running install
running build
error: [Errno 17] File exists: '/tmp/pip-install-46ln5k27/gff3tool/gff3tool/lib/ncbi-blast+'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-46ln5k27/gff3tool/setup.py'"'"'; __file__='"'"'/tmp/pip-install-46ln5k27/gff3tool/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-nmvb99oz/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/seaward/.local/include/python3.9/gff3tool Check the logs for full command output.
…------------------ 原始邮件 ------------------
发件人: "NAL-i5K/GFF3toolkit" <[email protected]>;
发送时间: 2020年11月12日(星期四) 晚上10:24
收件人: "NAL-i5K/GFF3toolkit"<[email protected]>;
抄送: "陈思远"<[email protected]>;"Mention"<[email protected]>;
主题: Re: [NAL-i5K/GFF3toolkit] can't install (#108)
Are you installing within a virtual environment? E.g.:
#make new python environment and source it python3 -m venv my-newenv source my-newenv/bin/activate #sometimes you have to upgrade pip and install wheel: pip install --upgrade pip pip install wheel #install gff3tool pip install gff3tool
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm not 100% sure what's going on. My first guess is permissions. It looks like you're not using a python virtual environment. Could you try that?
Otherwise, it may be an issue with python3.9 (we've only tested up to python3.7). It will take us a while to get around to testing it in 3.9, though. |
Same problem here. Python version: 3.7.6 and my python environment was set up via miniconda3. (base) [jxyue@gpunode ~]$ ~/miniconda3/bin/pip install gff3tool And it will take forever ... |
@yjx1217 Sorry, I'm not sure what's going on. I ran a fresh install of miniconda (Mac) and did the following:
It took about 2 minutes for the gff3tool to build. |
Hi mpoelchau, Thanks for checking! Yes, it is a bit weird. But I managed to installed gff3tool via setup.py , so at least I can use it for my work. :-) Best, |
run
pip install gff3tool
Stopped
Building wheel for gff3tool (setup.py) ... -
The text was updated successfully, but these errors were encountered: