【发布时间】:2014-02-16 03:06:01
【问题描述】:
我完全不知道如何完成练习 46 的http://learnpythonthehardway.org/book/ex46.html 要求的测验。以作者解释的方式制作目录非常清晰,我什至让鼻子测试运行正常,但我对必需的测验完全不知所措。我应该制作自己的模块(?)并使用 pip 安装它。 AFAIK,我会这样做的
pip install setup.py
虽然在 Powershell 中,但我不知道在“骨架”内部的哪个位置放置我应该编写的任何脚本、模块——甚至它们应该包含的内容。如果有人能以对新手友好的方式帮助澄清这一切的含义,我将非常感激。
另外,当我尝试这样做时
pip install setup.py
从骨架文件夹中,我收到来自 Powershell 的错误消息:
Could not find any downloads that satisfy the requirement setup.py
Cleaning up...
No distributions at all found for setup.py
Storing debug log for failure in C:\Users\Owner\pip\pip.log
非常感谢您的阅读和帮助!
【问题讨论】:
标签: python module pip setup.py