Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

build fails on Windows11/conda FileNotFoundError #163

Open
davidmnilsson opened this issue Sep 28, 2023 · 0 comments
Open

build fails on Windows11/conda FileNotFoundError #163

davidmnilsson opened this issue Sep 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@davidmnilsson
Copy link

Description

Build fails with:
FileNotFoundError: [Errno 2] No such file or directory: '\tmp\xeus-python-kernel\envs\xeus-python-kernel\Scripts/pip-script.py'

Reproduce

  1. conda install -c conda-forge jupyterlite-xeus-python
  2. jupyter lite build

Error:
Executing transaction: done
[LiteBuildApp] ERROR | [lite] [post_build] [jupyterlite-xeus-python] [ERR] [Errno 2] No such file or directory: '\tmp\xeus-python-kernel\envs\xeus-python-kernel\Scripts/pip-script.py'
Traceback (most recent call last):
File "C:\Users\DavidNilsson\anaconda3\envs\xeus-python-kernel\Lib\site-packages\doit\doit_cmd.py", line 294, in run
return command.parse_execute(args)
...
File "C:\Users\DavidNilsson\anaconda3\Lib\shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '\tmp\xeus-python-kernel\envs\xeus-python-kernel\Scripts/pip-script.py'

Expected behavior

Two issues,

  1. it's looking for a linux \tmp style path while on Windows it's on (in the log):
    environment location: C:\tmp\xeus-python-kernel\envs\xeus-python-kernel
  2. The folder and file Scripts/pip-script.py doesn't exist in C:\tmp\xeus-python-kernel...

Context

  • JupyterLite version:
  • jupyterlite-app-0.1.2
  • jupyterlite-xeus-python-0.9.6
  • python=3.10
  • xeus-python=0.15.9
  • anaconda3
  • Operating System and version: Windows 11
  • Browser and version: N/A

Building with the jupyterlite with pyodide-kernel works fine, but not with Xeus.
Tried multiple conda env setups, same issue.
Logs attached. Please advise.
XeusBuildIssueFileNotFound.txt

@davidmnilsson davidmnilsson added the bug Something isn't working label Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant