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

build fails on Windows11/conda FileNotFoundError #163

Open
@davidmnilsson

Description

@davidmnilsson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions