2014-10-02 323 views
0

我已經安裝tweepy如下使用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。但我無法在PC上找到tweepy的安裝位置。

我怎樣才能找到tweepy安裝位置並將其導入到我的eclipse項目?

回答

1

你在使用PyDev嗎?如果是,並且已經正確配置,那麼您不必關心已安裝庫的物理位置。請參閱this question瞭解如何配置PyDev以自動解析已安裝的Python包。

但是,如果您確實想知道已安裝庫的物理位置,請查看您的Python安裝目錄中的Lib/site-packages目錄。它應該在某處。

+0

是的,我使用PyDev,並且在'Lib/site-packages directory'上找到** tweepy **。 :) – Bishan 2014-10-02 11:58:20