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

ERROR: Failed building wheel for pycddlib-standalone for BurnMan 2.0 #610

Open
Te-rex83 opened this issue Nov 21, 2024 · 3 comments
Open

Comments

@Te-rex83
Copy link
Contributor

Te-rex83 commented Nov 21, 2024

When installing BurnMan from pip, this may fail depending on the python version up to the current 3.13 release.

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycddlib-standalone Failed to build pycddlib-standalone ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pycddlib-standalone)

The user can go to the Microsoft website and download the online installer for MS Visual C++ 14, but may still be confused what components to download and install. The download is not small either, over 5 GB for a C++ compiler to build wheels for pycddlib.

I'm not sure how to avoid pycddlib, but it seems to be a requirement (i.e. not optional) to install BurnMan.

It would be best to make this package optional again, and when it is really needed, give a warning.

@bobmyhill
Copy link
Member

@Te-rex83
Copy link
Contributor Author

  • The problem exists with all versions of python 3.9 and greater.
  • The problem does not exist for version 3.8 and lower because an older version of Burnman is installed...(presumably)
  • Note that I can install pycddlib with pip for all versions of python, however the standalone version requires building wheels, which cannot be done without the development tools from Visual C++.

@bobmyhill
Copy link
Member

Ok, I think the pycddlib maintainer has already published a fix for the full pycddlib (https://pypi.org/project/pycddlib/), and he will probably push the same fix for pycddlib-standalone soon.

I opened an issue here: mcmtroffaes/pycddlib-standalone#1

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

2 participants