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
Cross compiling SciPy fails while importing numpy.distutils.core #8226
Comments
Hi @Westranger this is more of a NumPy issue with bootstrapping. You can start from this thread |
Hi @ilayn I don't understand. I'm just downloading scipy from git hub an run the setup.py and then this error occours, but numpy is defenitliy correctly installed. It works on my machine properly, but when I run the bitbake recipe it does not. I also debugged the recive and internally everything looks to be in place. |
Have a look at the comment under the thread I've linked above. |
I looked into the "there is no standard solution" link and also into the answers. This means that I need to fool the setup proccess. So I need to modify the setup.py from scipy ? I already tried adding the code from the most upvoted answer but it does not work. How can I debug such a process ? |
I have a semi-answer but I'm not sure about the NumPy side so I don't want to confuse you further. Let's summon some other residents with build expertise instead @pv @rgommers @xoviat @matthew-brett and whoever else feels like it. |
Bitbake is required to provide all dependencies specified in Note that pip also has this bug, but the pip maintainers rejected my attempts to fix the problem. |
not a scipy issue, so closing. |
I'm trying to build SciPy with Bitbake for Yocto(Rocko) with the following recipe:
but it fails with the following error
I looked into the
setup.py
from scipy and to me it looks thatnumpy
can be imported but not thenumpy.distutils.core
moduleThe numpy version is the default recipe which comes with Rocko. I also posted my problem on SO which let me here.
The text was updated successfully, but these errors were encountered: