Skip to content

python-can fails to install on Windows with Python 3.11 due to windows-curses #1394

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

Closed
Hnasar opened this issue Sep 13, 2022 · 0 comments · Fixed by #1395
Closed

python-can fails to install on Windows with Python 3.11 due to windows-curses #1394

Hnasar opened this issue Sep 13, 2022 · 0 comments · Fixed by #1395
Labels

Comments

@Hnasar
Copy link
Contributor

Hnasar commented Sep 13, 2022

Describe the bug

Python 3.11 is set to release in 2-3 weeks, but wheels (or sdists) are unavailable for windows-curses. Since it is only used for the CanViewer functionality we can make windows-curses an optional dependency.

(Relevant upstream issue: zephyrproject-rtos/windows-curses#31)

To Reproduce

Install windows with python 3.11-rc

pip install .
...
ERROR: Could not find a version that satisfies the requirement windows-curses; platform_system == "Windows" and platform_python_implementation == "CPython" (from python-can) (from versions: none)
ERROR: No matching distribution found for windows-curses; platform_system == "Windows" and platform_python_implementation == "CPython"

Additional context

OS and version: Windows 11
Python version: 3.11-rc1
python-can version: 4+ (devel branch)
python-can interface/s (if applicable):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant