在 Windows 上安装 Swampy Python 模块 [英] Installing the Swampy Python module on Windows

查看:42
本文介绍了在 Windows 上安装 Swampy Python 模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Python 上安装 Swampy 模块,但是有网站和文档中给出的说明中有很多不清楚的地方.我已将 Swampy 文件夹放入 Python 2.7.1 的 site-packages 文件夹中,但我不知道如何制作安装它的 .pth 文件,以便可以导入模块.谁能告诉我如何制作这些神奇的 .pth 文件之一?

I am trying to install the Swampy module on Python, but there is a lot that is unclear in the instructions given on the site and the documentation. I have put the Swampy folder into the site-packages folder of Python 2.7.1, but I don't know how to make the .pth file that will get it installed so that the module can be imported. Can anyone give me instructions on how to make one of these magical .pth files?

推荐答案

如果你安装了 setuptools,然后您可以使用以下命令安装 Swampy:easy_install swampy.

If you installed setuptools, then you can install Swampy with: easy_install swampy.

这篇关于在 Windows 上安装 Swampy Python 模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆