Closed paulmaxus closed 5 months ago
I'm not a Windows user, but this path \\tmp\\xeus-python-kernel\\envs\\xeus-python-kernel\\Scripts/pygmentize-script.py
does not look correct for Windows, or is it?
@derthorsten do you know why this path could look like this and if that could lead to issues?
Isn't this issue a xeus-python issue, i.e. related to https://github.com/jupyterlite/xeus-python-kernel/issues/124
It is indeed a xeus-python-kernel issue IMO. Probably that it does not work well yet on windows.
Im having a similar issue when building the demo app for Voici in windows. Calling voici notebooks/
leads to an error, that I think is very similar to the one above.
WindowsPath('/tmp/xeus-python-kernel/envs/xeus-python-kernel'),
Here's some more context:
File "C:\Users\user\miniconda3\envs\voiciV2\lib\subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Users\\user\\miniconda3\\condabin\\conda.BAT', 'install', '--yes', '--prefix', WindowsPath('/tmp/xeus-python-kernel/envs/xeus-python-kernel'), '-c', 'https://repo.mamba.pm/emscripten-forge', '-c', 'https://repo.mamba.pm/conda-forge', 'python=3.10', 'xeus-lite', 'xeus-python=0.15.9', 'ipywidgets=8.0.6', 'jupyterlab_widgets=3.0.7']' returned non-zero exit status 1.
Can you check that you are using the latest empack and jupyterlite-xeus-python versions?
Hi Im using the version below I believe all of them are the latest.
xeus-python=0.15.8 xeus-python-shell=0.5.0 jupyterlite-xeus-python=0.9.6 empack=3.1.4
Ive gone ahead and create a new environment since I was having trouble recalling how I originally built the last one. Unfortunately Im running into the same issue. Additionally I would point out this error as well.
InvalidArchiveError('Error with archive C:\\Users\\user\\miniconda3\\pkgs\\python-3.10.2-h_hash_28_cpython.tar.bz2. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')
Seems that cpython file downloaded here may have issues.
The full ouput is here
This should be fixed in 0.6.0, xeus-python-kernel
is replaced by jupyterlite_xeus
. Please feel free to re-open if needed.
Description
When building the application an error is raised while attempting to install packages into the xeus-python-kernel conda environment.
Reproduce
voici build --contents
(see complete CLI output under Context) Voici seems to build the app without any issues. Then, when the xeus kernel environment is created under C:\tmp\xeus-python-kernel\envs\xeus-python-kernel, packages are being downloaded and installed but then I run into this error:
[VoiciBuildApp] ERROR | [lite] [post_build] [jupyterlite-xeus-python] [ERR] [Errno 2] No such file or directory: '\\tmp\\xeus-python-kernel\\envs\\xeus-python-kernel\\Scripts/pygmentize-script.py'
(complete output below)My only guess is that this is related to the xeus-python-kernel environment being created globally, while the conda installation is local.
Context
Command Line Output