如何轻松安装 Swampy?
按照 python.org 上的教程,我尝试通过以下方式安装 Swampy:
easy_install -f http://www.greenteapress.com/thinkpython/swampy/install.html
easy_install http://www.greenteapress.com/thinkpython/swampy/swampy-2.0.python.zip
easy_install sampy-2.0
(Swampy 的文件夹已放置在 site-packages 文件夹中)。
但这些都不起作用!我到底做错了什么?
Following the tutorial on python.org I tried to install Swampy in the following ways:
easy_install -f http://www.greenteapress.com/thinkpython/swampy/install.html
easy_install http://www.greenteapress.com/thinkpython/swampy/swampy-2.0.python.zip
easy_install swampy-2.0
(Swampy's folder was already placed in the site-packages folder).
But none of those are working! what the bobba am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您运行的是 Python 3.x,则可能会出现此问题,而 swampy 仅与 Python 2.x 兼容。这可以解释语法错误(假设 PyPI 上的 swampy 版本没有因其他原因而损坏)。
You may get this if you are running Python 3.x, and swampy is only compatible with Python 2.x. That would explain syntax errors (assuming the version of swampy on PyPI isn't broken for some other reason).