【问题标题】:Tweepy installed pathTweepy 安装路径
【发布时间】:2014-11-27 03:41:47
【问题描述】:

我已经使用 windows 命令提示符安装了 tweepy,如下所示。

G:\Python27\Scripts>pip install tweepy
Downloading/unpacking tweepy
  Downloading tweepy-2.3.0.tar.gz
  Running setup.py (path:c:\docume~1\bishan\locals~1\temp\pip_build_Bishan\tweep
y\setup.py) egg_info for package tweepy

Installing collected packages: tweepy
  Running setup.py install for tweepy

Successfully installed tweepy
Cleaning up...

G:\Python27\Scripts>

现在我需要在我的项目中使用 tweepy。但是我在我的电脑上找不到 tweepy 的安装位置。

如何找到 tweepy 安装位置并将其导入到我的 eclipse 项目中?

【问题讨论】:

    标签: python eclipse python-2.7 tweepy


    【解决方案1】:

    你在使用 PyDev 吗?如果是,并且您已正确配置它,那么您不必关心已安装库的物理位置。请参阅this question 了解如何配置 PyDev 以自动解析已安装的 python 包。

    但如果你真的想知道已安装库的物理位置,请查看 Python 安装目录中的 Lib/site-packages 目录。它应该在那里。

    【讨论】:

    • 是的,我正在使用 PyDev,刚刚在 Lib/site-packages directory 上找到了 tweepy。 :)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-10
    • 1970-01-01
    相关资源
    最近更新 更多