Closed 1633146782 closed 4 years ago
Just use pip install sacred
should be fine. I am not sure why did you get these errors.
thank you sir!
------------------ 原始邮件 ------------------ 发件人: "bilylee"<notifications@github.com>; 发送时间: 2019年12月24日(星期二) 下午4:01 收件人: "bilylee/SiamFC-TensorFlow"<SiamFC-TensorFlow@noreply.github.com>; 抄送: "liujinlong"<1633146782@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [bilylee/SiamFC-TensorFlow] pip install sacred 不成功 (#92)
Just use pip install sacred should be fine. I am not sure why did you get these errors.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
It seems sacred
is updated to support python > 3.5 only. You can try to install an older version like pip install sacred==0.7.5
Thank you, i solve it.
ERROR: Command errored out with exit status 1: command: /home/ailab/anaconda3/envs/tensorflow1.4/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-w4pcmR/setup.py'"'"'; file='"'"'/tmp/pip-req-build-w4pcmR/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-w4pcmR/pip-egg-info cwd: /tmp/pip-req-build-w4pcmR/ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in
File "/tmp/pip-req-build-w4pcmR/setup.py", line 42, in
install_requires=Path("requirements.txt").read_text().splitlines(),
AttributeError: 'PosixPath' object has no attribute 'read_text'
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.