2016-09-19 5 views
0

私はのautobahnをインストールしようとしていました。しかし、私がzshでそれをすると、私はエラーになります。zshell pipパッケージが見つかりませんautobahn [serialization]

zsh: no matches found: autobahn[serialization]

しかし、できるだけ早く私はbashを使用して、それが動作します。以下は私のコマンドラインログです:

[email protected] ~                                             

    [23:59:19] 
> $ pip install autobahn[serialization]                                           
zsh: no matches found: autobahn[serialization] 

[email protected] ~                                              [23:59:25] 
> $ bash                                                   
[[email protected] ~]$ pip install autobahn[serialization] 
Collecting autobahn[serialization] 
    Using cached autobahn-0.16.0-py2.py3-none-any.whl 
Requirement already satisfied (use --upgrade to upgrade): six>=1.10.0 in ./anaconda2/lib/python2.7/site-packages (from autobahn[serialization]) 
Requirement already satisfied (use --upgrade to upgrade): txaio>=2.5.1 in ./anaconda2/lib/python2.7/site-packages (from autobahn[serialization]) 
Requirement already satisfied (use --upgrade to upgrade): u-msgpack-python>=2.1; extra == "serialization" in ./anaconda2/lib/python2.7/site-packages (from autobahn[serialization]) 
Requirement already satisfied (use --upgrade to upgrade): py-ubjson>=0.8.4; extra == "serialization" in ./anaconda2/lib/python2.7/site-packages (from autobahn[serialization]) 
Requirement already satisfied (use --upgrade to upgrade): cbor>=1.0.0; extra == "serialization" in ./anaconda2/lib/python2.7/site-packages (from autobahn[serialization]) 
Installing collected packages: autobahn 
Successfully installed autobahn-0.16.0 
[[email protected] ~]$ pip install --upgrade --force-reinstall autobahn[serialization] 
Collecting autobahn[serialization] 
    Using cached autobahn-0.16.0-py2.py3-none-any.whl 
Collecting six>=1.10.0 (from autobahn[serialization]) 
    Using cached six-1.10.0-py2.py3-none-any.whl 
Collecting txaio>=2.5.1 (from autobahn[serialization]) 
    Using cached txaio-2.5.1-py2.py3-none-any.whl 
Collecting u-msgpack-python>=2.1; extra == "serialization" (from autobahn[serialization]) 
Collecting py-ubjson>=0.8.4; extra == "serialization" (from autobahn[serialization]) 
Collecting cbor>=1.0.0; extra == "serialization" (from autobahn[serialization]) 
Installing collected packages: six, txaio, u-msgpack-python, py-ubjson, cbor, autobahn 
    Found existing installation: six 1.10.0 
    Uninstalling six-1.10.0: 
     Successfully uninstalled six-1.10.0 
    Found existing installation: txaio 2.5.1 
    Uninstalling txaio-2.5.1: 
     Successfully uninstalled txaio-2.5.1 
    Found existing installation: u-msgpack-python 2.1 
    Uninstalling u-msgpack-python-2.1: 
     Successfully uninstalled u-msgpack-python-2.1 
    Found existing installation: py-ubjson 0.8.5 
    Uninstalling py-ubjson-0.8.5: 
     Successfully uninstalled py-ubjson-0.8.5 
    Found existing installation: cbor 1.0.0 
    Uninstalling cbor-1.0.0: 
     Successfully uninstalled cbor-1.0.0 
    Found existing installation: autobahn 0.16.0 
    Uninstalling autobahn-0.16.0: 
     Successfully uninstalled autobahn-0.16.0 
Successfully installed autobahn-0.16.0 cbor-1.0.0 py-ubjson-0.8.5 six-1.10.0 txaio-2.5.1 u-msgpack-python-2.1 
[[email protected] ~]$ exit 
exit 

[email protected] ~                                              [0:00:27] 
> $ pip install autobahn[serialization]                                           
zsh: no matches found: autobahn[serialization] 

私はzshで何が起こっているのか分かりません。

> $ which pip                                                  
~/anaconda2/bin/pip                                                     
[email protected] ~                                              [0:18:24] 
> $ bash                                                   
[[email protected] ~]$ which pip 
~/anaconda2/bin/pip 
[[email protected] ~]$ 

答えて

0

角カッコはzshの中の特殊文字である、あなたはバックスラッシュでエスケープすることができます:

pip install autobahn\[serialization\] 

それともescape square brackets by default in zsh

はまた、ここに私のwhich pipの出力です。

関連する問題