Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Jupyter Lab 3.0.5 #183

Closed
bytedynamic opened this issue Jan 19, 2021 · 17 comments
Closed

Cannot install on Jupyter Lab 3.0.5 #183

bytedynamic opened this issue Jan 19, 2021 · 17 comments

Comments

@bytedynamic
Copy link

python 3.8
pip install lckr-jupyterlab-variableinspector

Error:
Could not build wheels for lckr-jupyterlab-variableinspector which use PEP 517 and cannot be installed directly.

@lckr
Copy link
Collaborator

lckr commented Jan 19, 2021

Hey, are you on windows by any chance? Then the following approach might also work for you: #172 (comment)

@bytedynamic
Copy link
Author

My os is win7.

@lckr
Copy link
Collaborator

lckr commented Jan 19, 2021

Did you have any success with the solution outlined in #172 (comment) ?

@bytedynamic
Copy link
Author

Create a clean environment and install? I would like to try it.

@okkymabruri
Copy link

@bytedynamic Try pip install --upgrade lckr-jupyterlab-variableinspector (I've solved with this).
jupyterlab-variableInspector has been updated to v3.0.4

@bytedynamic
Copy link
Author

bytedynamic commented Jan 20, 2021

I try the v3.0.4 on my 2 PCs, one is Win10, another is Win7.
Win10 success, but still have same problem on Win7.

Detail Error Info as follows:

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting lckr-jupyterlab-variableinspector
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ae/0c/2826b1b3874f83dc76b356a004c165eca0f1195c8f2a958de6c6b8e7f638/lckr_jupyterlab_variableinspector-3.0.4.tar.gz (57 kB)
     |████████████████████████████████| 57 kB 273 kB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: jupyterlab==3.*,>=3.0.0rc13 in d:\anaconda3\lib\site-packages (from lckr-jupyterlab-variableinspector) (3.0.5)
Requirement already satisfied: jinja2>=2.10 in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.11.2)
Requirement already satisfied: jpyter-core in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (4.6.3)
Requirement already satisfied: jupyter-server~=1.2 in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.2.2)
Requirement already satisfied: ipython in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (7.19.0)
Requirement already satisfied: tornado>=6.1.0 in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (6.1)
Requirement already satisfied: nbclassic~=0.2 in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.2.6)
Requirement already satisfied: packaging in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (20.4)
Requirement already satisfied: jupyterlab-server~=2.0 in d:\anaconda3\lib\site-packages (from jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.1.2)
Requirement already satisfied: MarkupSafe>=0.23 in d:\anaconda3\lib\site-packages (from jinja2>=2.10->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.1.1)
Requirement already satisfied: Send2Trash in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.5.0)
Requirement already satisfied: pywin32>=1.0 in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (227)
Requirement already satisfied: terminado>=0.8.3 in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.9.1)
Requirement already satisfied: traitlets>=4.2.1 in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (5.0.5)
Requirement already satisfied: jupyter-client>=6.1.1 in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (6.1.7)
Requirement already satisfied: nbconvert in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (6.0.7)
Requirement already satisfied: prometheus-client in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.8.0)
Requirement already satisfied: nbformat in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (5.0.8)
Requirement already satisfied: anyio>=2.0.2 in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.0.2)

Requirement already satisfied: pyzmq>=17 in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (19.0.2)
Requirement already satisfied: ipython-genutils in d:\anaconda3\lib\site-packages (from jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.2.0)
Requirement already satisfied: sniffio>=1.1 in d:\anaconda3\lib\site-packages (from anyio>=2.0.2->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.2.0)
Requirement already satisfied: idna>=2.8 in d:\anaconda3\lib\site-packages (from anyio>=2.0.2->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.10)
Requirement already satisfied: python-dateutil>=2.1 in d:\anaconda3\lib\site-packages (from jupyter-client>=6.1.1->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.8.1)
Requirement already satisfied: json5 in d:\anaconda3\lib\site-packages (from jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.9.5)
Requirement already satisfied: requests in d:\anaconda3\lib\site-packages (from jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.25.1)

Requirement already satisfied: babel in d:\anaconda3\lib\site-packages (from jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.8.1)
Requirement already satisfied: jsonschema>=3.0.1 in d:\anaconda3\lib\site-packages (from jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (3.2.0)
Requirement already satisfied: setuptools in d:\anaconda3\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (50.3.1.post20201107)
Requirement already satisfied: pyrsistent>=0.14.0 in d:\anaconda3\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.17.3)
Requirement already satisfied: attrs>=17.4.0 in d:\anaconda3\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (20.3.0)
Requirement already satisfied: six>=1.11.0 in d:\anaconda3\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.15.0)
Requirement already satisfied: notebook<7 in d:\anaconda3\lib\site-packages (from nbclassic~=0.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (6.1.5)
Requirement already satisfied: argon2-cffi in d:\anaconda3\lib\site-packages (from notebook<7->nbclassic~=0.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (20.1.0)
Requirement already satisfied: ipykernel in d:\anaconda3\lib\site-packages (from notebook<7->nbclassic~=0.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (5.3.4)
Requirement already satisfied: pywinpty>=0.5 in d:\anaconda3\lib\site-packages (from terminado>=0.8.3->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.5.7)
Requirement already satisfied: cffi>=1.0.0 in d:\anaconda3\lib\site-packages (from argon2-cffi->notebook<7->nbclassic~=0.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.14.3)
Requirement already satisfied: pycparser in d:\anaconda3\lib\site-packages (from cffi>=1.0.0->argon2-cffi->notebook<7->nbclassic~=0.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.20)
Requirement already satisfied: pytz>=2015.7 in d:\anaconda3\lib\site-packages (from babel->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2020.1)
Requirement already satisfied: colorama in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.4.4)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (3.0.8)
Requirement already satisfied: backcall in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.2.0)
Requirement already satisfied: jedi>=0.10 in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.17.2)
Requirement already satisfied: pygments in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.7.2)
Requirement already satisfied: pickleshare in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.7.5)
Requirement already satisfied: decorator in d:\anaconda3\lib\site-packages (from ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (4.4.2)
Requirement already satisfied: parso<0.8.0,>=0.7.0 in d:\anaconda3\lib\site-packages (from jedi>=0.10->ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.7.0)
Requirement already satisfied: wcwidth in d:\anaconda3\lib\site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.2.5)
Requirement already satisfied: pandocfilters>=1.4.1 in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.4.3)
Requirement already satisfied: bleach in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (3.2.1)
Requirement already satisfied: nbclient<0.6.0,>=0.5.0 in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.5.1)
Requirement already satisfied: defusedxml in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.6.0)
Requirement already satisfied: entrypoints>=0.2.2 in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.3)
Requirement already satisfied: jupyterlab-pygments in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.1.2)
Requirement already satisfied: testpath in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.4.4)
Requirement already satisfied: mistune<2,>=0.8.1 in d:\anaconda3\lib\site-packages (from nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.8.4)
Requirement already satisfied: nest-asyncio in d:\anaconda3\lib\site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.4.2)
Requirement already satisfied: async-generator in d:\anaconda3\lib\site-packages (from nbclient<0.6.0,>=0.5.0->nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.10)
Requirement already satisfied: webencodings in d:\anaconda3\lib\site-packages (from bleach->nbconvert->jupyter-server~=1.2->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (0.5.1)
Requirement already satisfied: pyparsing>=2.0.2 in d:\anaconda3\lib\site-packages (from packaging->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2.4.7)
Requirement already satisfied: certifi>=2017.4.17 in d:\anaconda3\lib\site-packages (from requests->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\anaconda3\lib\site-packages (from requests->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (1.25.1)
Requirement already satisfied: chardet<5,>=3.0.2 in d:\anaconda3\lib\site-packages (from requests->jupyterlab-server~=2.0->jupyterlab==3.*,>=3.0.0rc13->lckr-jupyterlab-variableinspector) (3.0.4)
Building wheels for collected packages: lckr-jupyterlab-variableinspector
  Building wheel for lckr-jupyterlab-variableinspector (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: 'D:\Anaconda3\python.exe' 'D:\Anaconda3\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\user1\AppData\Local\Temp\tmp60f98p82'
       cwd: C:\Users\user1\AppData\Local\Temp\pip-install-qbguch2n\lckr-jupyterlab-variableinspector_e3468907e87f48cc827408ecf5e981a2
  Complete output (50 lines):
  running bdist_wheel
  running jsdeps
  running handle_files
  running build
  running build_py
  creating build
  creating build\lib
  creating build\lib\lckr_jupyterlab_variableinspector
  copying lckr_jupyterlab_variableinspector\_version.py -> build\lib\lckr_jupyterlab_variableinspector
  copying lckr_jupyterlab_variableinspector\__init__.py -> build\lib\lckr_jupyterlab_variableinspector
  running egg_info
  writing lckr_jupyterlab_variableinspector.egg-info\PKG-INFO
  writing dependency_links to lckr_jupyterlab_variableinspector.egg-info\dependency_links.txt
  writing requirements to lckr_jupyterlab_variableinspector.egg-info\requires.txt
  writing top-level names to lckr_jupyterlab_variableinspector.egg-info\top_level.txt
  reading manifest file 'lckr_jupyterlab_variableinspector.egg-info\SOURCES.txt'
  writing manifest file 'lckr_jupyterlab_variableinspector.egg-info\SOURCES.txt'
  creating build\lib\lckr_jupyterlab_variableinspector\labextension
  copying lckr_jupyterlab_variableinspector\labextension\package.json -> build\lib\lckr_jupyterlab_variableinspector\labextension
  creating build\lib\lckr_jupyterlab_variableinspector\labextension\static
  copying lckr_jupyterlab_variableinspector\labextension\static\383.647c844d41484f5a36f5.js -> build\lib\lckr_jupyterlab_variableinspector\labextension\static
  copying lckr_jupyterlab_variableinspector\labextension\static\453.8c3e228b049bcae471dc.js -> build\lib\lckr_jupyterlab_variableinspector\labextension\static
  copying lckr_jupyterlab_variableinspector\labextension\static\534.879f22f7b76b38ac76c6.js -> build\lib\lckr_jupyterlab_variableinspector\labextension\static
  copying lckr_jupyterlab_variableinspector\labextension\static\remoteEntry.54bb6dac0fc62fa93f79.js -> build\lib\lckr_jupyterlab_variableinspector\labextension\static
  copying lckr_jupyterlab_variableinspector\labextension\static\style.js -> build\lib\lckr_jupyterlab_variableinspector\labextension\static
  installing to build\bdist.win-amd64\wheel
  running install
  running install_lib
  creating build\bdist.win-amd64
  creating build\bdist.win-amd64\wheel
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector\labextension
  copying build\lib\lckr_jupyterlab_variableinspector\labextension\package.json -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector\labextension
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector\labextension\static
  copying build\lib\lckr_jupyterlab_variableinspector\labextension\static\383.647c844d41484f5a36f5.js -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector\labextension\static
  copying build\lib\lckr_jupyterlab_variableinspector\labextension\static\453.8c3e228b049bcae471dc.js -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector\labextension\static
  copying build\lib\lckr_jupyterlab_variableinspector\labextension\static\534.879f22f7b76b38ac76c6.js -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector\labextension\static
  copying build\lib\lckr_jupyterlab_variableinspector\labextension\static\remoteEntry.54bb6dac0fc62fa93f79.js -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector\labextension\static
  copying build\lib\lckr_jupyterlab_variableinspector\labextension\static\style.js -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector\labextension\static
  copying build\lib\lckr_jupyterlab_variableinspector\_version.py -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector
  copying build\lib\lckr_jupyterlab_variableinspector\__init__.py -> build\bdist.win-amd64\wheel\.\lckr_jupyterlab_variableinspector
  running install_data
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data\share
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data\share\jupyter
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data\share\jupyter\labextensions
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data\share\jupyter\labextensions\@lckr
  creating build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data\share\jupyter\labextensions\@lckr\jupyterlab_variableinspector
  error: could not create 'build\bdist.win-amd64\wheel\lckr_jupyterlab_variableinspector-3.0.4.data\data\share\jupyter\labextensions\@lckr\jupyterlab_variableinspector': The system cannot find the path specified.
  ----------------------------------------
  ERROR: Failed building wheel for lckr-jupyterlab-variableinspector
Failed to build lckr-jupyterlab-variableinspector
ERROR: Could not build wheels for lckr-jupyterlab-variableinspector which use PEP 517 and cannot be installed directly

@bytedynamic Try pip install --upgrade lckr-jupyterlab-variableinspector (I've solved with this).
jupyterlab-variableInspector has been updated to v3.0.4

@lckr
Copy link
Collaborator

lckr commented Jan 20, 2021

According to #172 (comment) the following seems to help in your case:

ok this appears to be a windows issue per this thread. Downgrading pip with pip install pip==18.1 got it to install [...]

@bytedynamic
Copy link
Author

bytedynamic commented Jan 21, 2021

reinstall pip 18.1 and run pip install --upgrade lckr-jupyterlab-variableinspector.

  Collecting pywin32>=1.0; sys_platform == "win32" (from jupyter-core->jupyterlab==3.*,>=3.0.0rc13)
    Could not find a version that satisfies the requirement pywin32>=1.0; sys_platform == "win32" (from jupyter-core->jupyterlab==3.*,>=3.0.0rc13) (from versions: )
  No matching distribution found for pywin32>=1.0; sys_platform == "win32" (from jupyter-core->jupyterlab==3.*,>=3.0.0rc13)

  ----------------------------------------
Command "D:\Anaconda3\python.exe -m pip install --ignore-installed --no-user --prefix C:\Users\user1\AppData\Local\Temp\pip-build-env-pe275qkv --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/simple -- jupyter_packaging~=0.7.9 jupyterlab>=3.0.0rc13,==3.* setuptools>=40.8.0 wheel" failed with error code 1 in None

@dingdl
Copy link

dingdl commented Jan 22, 2021

reinstall pip 18.1 and run pip install --upgrade lckr-jupyterlab-variableinspector.

  Collecting pywin32>=1.0; sys_platform == "win32" (from jupyter-core->jupyterlab==3.*,>=3.0.0rc13)
    Could not find a version that satisfies the requirement pywin32>=1.0; sys_platform == "win32" (from jupyter-core->jupyterlab==3.*,>=3.0.0rc13) (from versions: )
  No matching distribution found for pywin32>=1.0; sys_platform == "win32" (from jupyter-core->jupyterlab==3.*,>=3.0.0rc13)

  ----------------------------------------
Command "D:\Anaconda3\python.exe -m pip install --ignore-installed --no-user --prefix C:\Users\user1\AppData\Local\Temp\pip-build-env-pe275qkv --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.tuna.tsinghua.edu.cn/simple -- jupyter_packaging~=0.7.9 jupyterlab>=3.0.0rc13,==3.* setuptools>=40.8.0 wheel" failed with error code 1 in None

I encounter the same issue following this suggestion.

@lckr
Copy link
Collaborator

lckr commented Jan 26, 2021

This seems to be a windows issue and also related to jupyter-core . And since I do not have access to a win machine right now I cannot help you with that. Sorry

@lckr lckr closed this as completed Jan 26, 2021
@leopoletti
Copy link

Hello,

I am under Windows 7 and I was facing this issue: the problem is path lenght which is limited to 260 caracters in windows 7.
Since the temp directory is located in a long path (C:\users\username\AppData\Local\Temp\etc....) and the directory is quite long (lckr-jupyterlab-variableinspector) you easely rich the limit.

The work around was to download the tar.gz file on a short path and create the wheel in that path and the build went fine.

I hope it will help.

@bytedynamic
Copy link
Author

bytedynamic commented Mar 25, 2021

Hello,

I am under Windows 7 and I was facing this issue: the problem is path lenght which is limited to 260 caracters in windows 7.
Since the temp directory is located in a long path (C:\users\username\AppData\Local\Temp\etc....) and the directory is quite long (lckr-jupyterlab-variableinspector) you easely rich the limit.

The work around was to download the tar.gz file on a short path and create the wheel in that path and the build went fine.

I hope it will help.

Thanks. I have solved the problem following your advice.
Here is my solution:

Step 1: Download the tar.gz file from release page to a short path, ie "C:\mypy", and rename the tar.gz file to a short file name, ie "vi.tar.gz" (not necessary maybe)

Step 2: run CMD, type the following code:

cd /d C:\mypy\
pip install vi.tar.gz

Done.

@lckr
Copy link
Collaborator

lckr commented Apr 10, 2021

You now can also obtain the current version of the extension from npm again (see Installation instructions in the README)

@gi3265
Copy link

gi3265 commented Apr 11, 2021

Hello,
I am under Windows 7 and I was facing this issue: the problem is path lenght which is limited to 260 caracters in windows 7.
Since the temp directory is located in a long path (C:\users\username\AppData\Local\Temp\etc....) and the directory is quite long (lckr-jupyterlab-variableinspector) you easely rich the limit.
The work around was to download the tar.gz file on a short path and create the wheel in that path and the build went fine.
I hope it will help.

Thanks. I have solved the problem following your advice.
Here is my solution:

Step 1: Download the tar.gz file from release page to a short path, ie "C:\mypy", and rename the tar.gz file to a short file name, ie "vi.tar.gz" (not necessary maybe)

Step 2: run CMD, type the following code:

cd /d C:\mypy\
pip install vi.tar.gz

Done.

Thank you so much!! You saved my ass

@JohannesWiesner
Copy link

Hello,
I am under Windows 7 and I was facing this issue: the problem is path lenght which is limited to 260 caracters in windows 7.
Since the temp directory is located in a long path (C:\users\username\AppData\Local\Temp\etc....) and the directory is quite long (lckr-jupyterlab-variableinspector) you easely rich the limit.
The work around was to download the tar.gz file on a short path and create the wheel in that path and the build went fine.
I hope it will help.

Thanks. I have solved the problem following your advice. Here is my solution:

Step 1: Download the tar.gz file from release page to a short path, ie "C:\mypy", and rename the tar.gz file to a short file name, ie "vi.tar.gz" (not necessary maybe)

Step 2: run CMD, type the following code:

cd /d C:\mypy\
pip install vi.tar.gz

Done.

I tried that but I am getting the following error:

Processing c:\users\johannes.wiesner\downloads\vi.tar
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\Johannes.Wiesner\Miniconda3\envs\R\python.exe' 'C:\Users\JOHANN~1.WIE\AppData\Local\Temp\pip-standalone-pip-wp1k7r_i\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\JOHANN~1.WIE\AppData\Local\Temp\pip-build-env-sorxts0z\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'jupyter_packaging~=0.7.9' 'jupyterlab>=3.0.0rc13,==3.*' 'setuptools>=40.8.0' wheel
       cwd: None
  Complete output (8 lines):
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/jupyter-packaging/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/jupyter-packaging/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/jupyter-packaging/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/jupyter-packaging/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))': /simple/jupyter-packaging/
  Could not fetch URL https://pypi.org/simple/jupyter-packaging/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jupyter-packaging/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))) - skipping
  ERROR: Could not find a version that satisfies the requirement jupyter_packaging~=0.7.9 (from versions: none)
  ERROR: No matching distribution found for jupyter_packaging~=0.7.9
  ----------------------------------------
WARNING: Discarding file:///C:/Users/Johannes.Wiesner/Downloads/vi.tar. Command errored out with exit status 1: 'C:\Users\Johannes.Wiesner\Miniconda3\envs\R\python.exe' 'C:\Users\JOHANN~1.WIE\AppData\Local\Temp\pip-standalone-pip-wp1k7r_i\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\JOHANN~1.WIE\AppData\Local\Temp\pip-build-env-sorxts0z\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'jupyter_packaging~=0.7.9' 'jupyterlab>=3.0.0rc13,==3.*' 'setuptools>=40.8.0' wheel Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'C:\Users\Johannes.Wiesner\Miniconda3\envs\R\python.exe' 'C:\Users\JOHANN~1.WIE\AppData\Local\Temp\pip-standalone-pip-wp1k7r_i\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\JOHANN~1.WIE\AppData\Local\Temp\pip-build-env-sorxts0z\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'jupyter_packaging~=0.7.9' 'jupyterlab>=3.0.0rc13,==3.*' 'setuptools>=40.8.0' wheel Check the logs for full command output.

@jj-github-jj
Copy link

jj-github-jj commented Jan 31, 2022

I was facing same issue of build failure on windows 10 and this solution copied below but posted above worked for me. Thanks (https://github.com/leopoletti) for the tip. Please consider changing the very long name lckr-jupyterlab-variableinspector to something only 8 to 10 characters long if the path character count limitation is indeed the issue. I really like variableinspector but getting it installed on new windows machines has always been problematic for me.

Step 1: Download the (tar.gz) file from release page to a short path, ie "C:\mypy", and rename the tar.gz file to a short file name, ie "vi.tar.gz" (not necessary maybe)

Step 2: run CMD, type the following code:

cd /d C:\mypy
pip install vi.tar.gz

@WilliamChen8869
Copy link

WilliamChen8869 commented Feb 2, 2023

As some people here, I also install jupyterlab-variableInspector unsuccessfully. I try to follow @jj-github-jj but still failed. After review the comment from @leopoletti, I change the limit of path lenght and finally install successfully.
Step 1 : open Registry in win 11
Step 2: Computer -> HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> FileSystem
Step 3: find 'LongPathsEnabled' and right click to modify Value data to 1 and install again.
pip 23.0
Python 3.10.7
jupyter lab 3.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants