[問題] 關於plurk_oauth的安裝

看板Python作者 (...)時間14年前 (2011/10/09 22:35), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
http://poopoo888888.blogspot.com/2011/08/pythonplurk-api.html 我按照之前爬文以及上述網址看到的方式裝plurk_oauth, 但是在cmd輸入python setup.py install後, 卻出現錯誤訊息 以下為錯誤訊息, 請問有人知道出了什麼問題嗎? 亦或有其它的安裝方式? 感謝 Installed c:\python27\lib\site-packages\plurk_oauth-0.4.1-py2.7.egg Processing dependencies for plurk-oauth==0.4.1 Searching for urlparse Reading http://pypi.python.org/simple/urlparse/ Couldn't find index page for 'urlparse' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for urlparse Best match: None Traceback (most recent call last): File "setup.py", line 19, in <module> setup(**config) File "C:\Python27\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 76, i n run self.do_egg_install() File "C:\Python27\lib\site-packages\setuptools\command\install.py", line 104, in do_egg_install cmd.run() File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line 211, in run self.easy_install(spec, not self.no_deps) File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line 427, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line 478, in install_item self.process_distribution(spec, dist, deps) File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line 519, in process_distribution [requirement], self.local_index, self.easy_install File "C:\Python27\lib\site-packages\pkg_resources.py", line 563, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "C:\Python27\lib\site-packages\pkg_resources.py", line 799, in best_match return self.obtain(req, installer) # try and download/install File "C:\Python27\lib\site-packages\pkg_resources.py", line 811, in obtain return installer(requirement) File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line 434, in easy_install self.local_index File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 475, in fetch_distribution return dist.clone(location=self.download(dist.location, tmpdir)) AttributeError: 'NoneType' object has no attribute 'clone' -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.251.148.95

10/10 01:25, , 1F
試試 0.4.2 版的
10/10 01:25, 1F

10/10 14:15, , 2F
0.4.2版是ok的, thx!
10/10 14:15, 2F
文章代碼(AID): #1EaR55dR (Python)
文章代碼(AID): #1EaR55dR (Python)