看板 Python 關於我們 聯絡資訊
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
AlanSung:試試 0.4.2 版的 10/10 01:25
beatitude:0.4.2版是ok的, thx! 10/10 14:15