当我安装DSRG:
pip install pylayers/ 时,遇到问题:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-dez0944s/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-dez0944s/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-dez0944s/pip-egg-info
cwd: /tmp/pip-req-build-dez0944s/
Complete output (7 lines):
running egg_info
creating /tmp/pip-req-build-dez0944s/pip-egg-info/pylayers.egg-info
writing dependency_links to /tmp/pip-req-build-dez0944s/pip-egg-info/pylayers.egg-info/dependency_links.txt
writing /tmp/pip-req-build-dez0944s/pip-egg-info/pylayers.egg-info/PKG-INFO
writing top-level names to /tmp/pip-req-build-dez0944s/pip-egg-info/pylayers.egg-info/top_level.txt
writing manifest file '/tmp/pip-req-build-dez0944s/pip-egg-info/pylayers.egg-info/SOURCES.txt'
error: package directory 'pylayers' does not exist
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
error: package directory 'pylayers' does not exist
提示新建文件夹,所以
cd /DSRG/pylayers/pylayers
mkdir pylayers
cd ..
pip install pylayers