[新手問題] 請教關於 pip install pycpaser

176 views
Skip to first unread message

Macpaul LIn

unread,
Apr 18, 2012, 11:07:39 AM4/18/12
to python.tw
Hi all,

不知道可不可以在這邊貼新手問題 (汗)
想請教一下, 我在 ubuntu 11.04 使用 pip install pycpaser的時候碰到些問題。
pycpaser 的網址: http://pypi.python.org/pypi/pycparser
但是安裝PLY parsing library是好的。

想請教一下這個pycpaser 到底有沒有被包在pip裡面呢?
還是說pip也有其他的mirror可以使用呢?要怎要修改或查詢呢?
不好意思麻煩一下。謝謝。

下面是pip.log
------------------------------------------------------------
/usr/bin/pip run on Wed Apr 18 20:24:47 2012
Downloading/unpacking pycpaser
Getting page http://pypi.python.org/simple/pycpaser
Could not fetch URL http://pypi.python.org/simple/pycpaser: HTTP
Error 404: Not Found (pycpaser does not have any releases)
Will skip URL http://pypi.python.org/simple/pycpaser when looking
for download links for pycpaser
Getting page http://pypi.python.org/simple/
URLs to search for versions for pycpaser:
* http://pypi.python.org/simple/pycpaser/
Getting page http://pypi.python.org/simple/pycpaser/
Could not fetch URL http://pypi.python.org/simple/pycpaser/: HTTP
Error 404: Not Found (pycpaser does not have any releases)
Will skip URL http://pypi.python.org/simple/pycpaser/ when looking
for download links for pycpaser
Could not find any downloads that satisfy the requirement pycpaser
No distributions at all found for pycpaser
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line
126, in main
self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py",
line 223, in run
requirement_set.prepare_files(finder,
force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in
prepare_files
url = finder.find_requirement(req_to_install,
upgrade=self.upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 152, in
find_requirement
raise DistributionNotFound('No distributions at all found for %s'
% req)
DistributionNotFound: No distributions at all found for pycpaser

xatierlike Lee

unread,
Apr 18, 2012, 9:14:51 PM4/18/12
to pyth...@googlegroups.com
看這邊:

Error 404: Not Found (pycpaser does not have any releases)

http://pypi.python.org/simple/pycpaser/     => 這個找不到

真正的東西在這裡:


為什麼麼呢?因為你打錯字啦XD

pip install pycparser

XDDDD


--
您已訂閱「Google 網上論壇」的「python.tw」群組,因此我們特別傳送這封郵件通知您。
如要在此群組張貼留言,請傳送電子郵件至 pyth...@googlegroups.com
如要取消訂閱此群組,請傳送電子郵件至 pythontw+u...@googlegroups.com
如需更多選項,請造訪此群組:http://groups.google.com/group/pythontw?hl=zh-TW


Macpaul LIn

unread,
Apr 19, 2012, 12:46:54 AM4/19/12
to python.tw
Hi

ㄚㄚㄚ笨到了ㄚㄚㄚㄚ好丟臉阿

On 4月19日, 上午9時14分, xatierlike Lee <xatierl...@gmail.com> wrote:
> 看這邊:
>
> Error 404: Not Found (pycpaser does not have any releases)
>
> http://pypi.python.org/simple/pycpaser/ => 這個找不到
>

> pip install pycparser
>
> XDDDD
>

我還以為404 Error是跟ubuntu的 apt mirror 一樣某些站點(甚至主站)的 apt package會掉包的問題啊
好笨阿~~~~~ XD 虧我還試了十幾次都是錯的
(趕快找地洞鑽起來)

Reply all
Reply to author
Forward
0 new messages