2017-08-08 25 views
0

JupiterをUbuntu 14.04のホームディレクトリにインストールしようとしています。UbuntuにJupyterをインストール

私は自分のローカルバージョンのpython 2.7を持っていて、それを逃げたいと思っています。私は

pip install jupyter 

を使用してみましたが、それはsimplegeneric

Exception: 
Traceback (most recent call last): 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main 
     status = self.run(options, args) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run 
     wb.build(autobuilding=True) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build 
     self.requirement_set.prepare_files(self.finder) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files 
     ignore_dependencies=self.ignore_dependencies)) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file 
     session=self.session, hashes=hashes) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/download.py", line 809, in unpack_url 
     unpack_file_url(link, location, download_dir, hashes=hashes) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/download.py", line 715, in unpack_file_url 
     unpack_file(from_path, location, content_type, link) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 599, in unpack_file 
     flatten=not filename.endswith('.whl') 
    File "https://stackoverflow.com/users/dor/arqj/ahl/.local/lib/python2.7/site-packages/pip/utils/__init__.py", line 484, in unzip_file 
     zip = zipfile.ZipFile(zipfp, allowZip64=True) 
    File "https://stackoverflow.com/users/dor/arqj/ahl/python/lib/python2.7/zipfile.py", line 770, in __init__ 
     self._RealGetContents() 
    File "https://stackoverflow.com/users/dor/arqj/ahl/python/lib/python2.7/zipfile.py", line 811, in _RealGetContents 
     raise BadZipfile, "File is not a zip file" 
BadZipfile: File is not a zip file 

にこの問題を解決する方法をインストールしようとしたとき、私はこのエラーを取得しますか?

答えて

0

16.10

sudo apt-get update 
sudo apt-get -y install python-pip python-dev 
sudo -H pip install --upgrade pip 
sudo apt-get -y install ipython ipython-notebook 
sudo -H pip install jupyter 

for more information visit

+0

sudoを使用しなくてもそうするどのような方法→Ubuntuの14.04でJupyterをインストールし、私はあなたがHTTPを試みることなく、必要な場合にsudo – Ahmed

+0

を使用する特権を持っていない:// winlandiano.github.io/informatik/2017/06/13/Installing-Jupyter-on-ipd-server-without-sudo-authority –

+0

私はまだ上記の同じエラーが表示されます – Ahmed