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

ImportError after pip installing dwave-system #57

Closed
arcondello opened this issue Jul 21, 2023 · 0 comments · Fixed by #58
Closed

ImportError after pip installing dwave-system #57

arcondello opened this issue Jul 21, 2023 · 0 comments · Fixed by #58
Labels
bug Something isn't working

Comments

@arcondello
Copy link
Member

See dwavesystems/dwave-preprocessing#130.

tldr; delvewheel patches dwave/__init__.py to make use of the new .pyd files. So installing dwave-system (or another namespace package) afterwards overwrites that patch.

The solution is to use the new --namespace-pkg flag introduced in delvewheel 1.4.0.

@arcondello arcondello added the bug Something isn't working label Jul 21, 2023
arcondello added a commit to arcondello/dwave-samplers that referenced this issue Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant