2

我正在使用此处的一些说明来安装和运行 python scripts/setup.py,为我正在处理的项目启动服务器:

https://docs.google.com/document/d/11IPqZcDcLTd2mtYaR5ONpDxFgL9Y1nMNTDvEarST8Wk/edit#

具体来说,我正在使用这些命令(我在 macOS 终端上运行它):

Option 2: Use Virtual Environment:
git clone http://github.com/wroscoe/donkey.git
virtualenv -p python3 donkey_env
source donkey_env/bin/activate
pip install -e donkey[server]
cd donkey
python scripts/setup.py
python scripts/serve.py

我一行一行地跟着他们,但我得到了这个错误:

python: can't open file 'scripts/setup.py': [Errno 2] No such file or directory

setup.py 文件似乎在 donkey 文件夹中,所以我不知道为什么它无法运行或找到它。

此外,我已经在网上搜索了几个小时来寻找答案,但没有遇到任何问题。任何指导、建议或帮助将不胜感激。

4

0 回答 0