安装jupyter lab时出现问题 - 无法找到满足ipykernel
要求的版本pip install jupyterlab
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000277F1AB8C18>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/ipykernel/
Could not find a version that satisfies the requirement ipykernel (from notebook>=4.3.1->jupyterlab) (from versions: )
No matching distribution found for ipykernel (from notebook>=4.3.1->jupyterlab)
后
我检查了点子版本:
C:\Users\xxxx\AppData\Local\Continuum\anaconda3\Scripts>pip --version
pip 9.0.1 from C:\Users\xxxx\AppData\Local\Continuum\anaconda3\lib\site-packages (python 3.6)
和ipykernel版本:
C:\Users\xxxx\AppData\Local\Continuum\anaconda3\Scripts>conda list ipykernel
我尝试过conda forge但仍然没有工作
conda install -c conda-forge jupyterlab
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/pro/noarch/repodata.json.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io', port=443): Max retries exceeded with url: /pkgs/pro/noarch/repodata.json.bz2 (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001F03B89DE10>, 'Connection to repo.continuum.io timed out. (connect timeout=9.15)'))",),)
答案 0 :(得分:0)
我有类似的问题。就我而言(Ubuntu 16.04,python 3.5.2)命令
pip install jupyterlab
导致类似的错误。阅读完此页
https://github.com/jupyterlab/jupyterlab
我尝试了这个命令,它起作用了
python3 -m pip install jupyterlab
我希望它能有所帮助!
答案 1 :(得分:0)
也许您有很多python环境,所以,您可能需要为python指定一个显式版本,然后按照以下步骤尝试重新安装它:
python3 -m pip install jupyterlab
它也对我有用。希望它能对您有所帮助。
答案 2 :(得分:0)
如果 python3 -m pip install jupyterlab
不起作用,请尝试 py -m pip install jupyterlab
。对我有用