build fails on Windows11/conda FileNotFoundError
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
- conda install -c conda-forge jupyterlite-xeus-python
- 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,
- 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
- 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