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

Wheel built problem with python 3.8 on Colab #57

Closed
MichelangeloFantini opened this issue Jun 29, 2022 · 4 comments
Closed

Wheel built problem with python 3.8 on Colab #57

MichelangeloFantini opened this issue Jun 29, 2022 · 4 comments

Comments

@MichelangeloFantini
Copy link

@mcmtroffaes thank you for your work on this! I'm trying to install pycddlib on Colab. As showed in the Colab notebook linked below, while running on python 3.7 everything works as intended. Although after installing python3.8 on Colab the pycdllib installation fails as the wheel cannot be built. I realise that the Colab python3.8/pip upgrade might be a bit hacky but do you have any suggestions on what could be going wrong with the built?

https://colab.research.google.com/drive/1YCGJyp7tzLyw--c4M70XfxesGqaNIc4X?usp=sharing

@mcmtroffaes
Copy link
Owner

Running pip verbosely on your system gives the following error:

cdd.c:6:10: fatal error: Python.h: No such file or directory
   #include "Python.h"
            ^~~~~~~~~~
  compilation terminated.

So it looks like you're missing the Python headers. Does this help?

@mcmtroffaes
Copy link
Owner

With

sudo apt-get install python3.8-dev

it works. I'll add a note in the documentation about needing the python dev package.

@mcmtroffaes
Copy link
Owner

Instructions have been added:

518c004

Thanks again for reporting!

@JacopoPan
Copy link

Awesome, thank you for the quick solution!

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

3 participants