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

Python build tutorial failing on Windows #3096

Open
2 tasks done
aqc-carlodri opened this issue Feb 10, 2025 · 1 comment
Open
2 tasks done

Python build tutorial failing on Windows #3096

aqc-carlodri opened this issue Feb 10, 2025 · 1 comment

Comments

@aqc-carlodri
Copy link

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

The code is exactly the one presented in the Python tutorial pages, both give the same result:

Only change is platforms = ["win-64"] otherwise I stumble into #2805.

Using Win10 x64 and pixi 0.41.1

xref discord

Issue description

Running pixi run start builds the whole thing and finally errors out with the following:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\simple-pixi-package\.pixi\envs\default\Scripts\rich-example-main.EXE\__main__.py", line 4, in <module>
    from rich_example import main
  File "D:\simple-pixi-package\src\rich_example\__init__.py", line 2, in
 <module>
    from rich.console import Console
ModuleNotFoundError: No module named 'rich'

Expected behavior

Should not error out and print the expected table.

@aqc-carlodri
Copy link
Author

Confirmed that the example works fine under Ubuntu 24 in WSL

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

1 participant