[Matplotlib-users] illegal instruction on raspberry pi0
andi klein
pabloemma at gmail.com
Mon Jan 17 09:17:39 EST 2022
Yes, I agree. I probably have to get my head into pip and see if I can
find anything like this.
On 1/17/22 06:48, Neal Becker wrote:
> OK, sorry, I hadn't read you message carefully. I can only suppose
> that the build did not target the correct arch, even though you built
> it on that machine. I'm guessing that if you could somehow modify the
> compile flags to --march=native, maybe that would do it. But not sure
> if you can do this with pip.
>
> On Mon, Jan 17, 2022 at 8:37 AM andi klein <pabloemma at gmail.com> wrote:
>
> Yes, I understand this. This is why thought downloading it and
> building from scratch
> would rectify this.
>
>
> On 1/16/22 18:32, Neal Becker wrote:
>> Illegal instructions means the executable is not compiled for
>> your processor.
>>
>> On Sun, Jan 16, 2022, 6:42 PM andi klein <pabloemma at gmail.com> wrote:
>>
>> I am trying to get matplotlib to run on a pi0.
>> The system is running bullseye and the python is 3.9.2
>> First I did*pip install matplotlib
>> *when I do
>> import matplotlib, I get illegal instruction, so I did pip
>> uninstall matlpotlib and then did
>> sudo apt-get install python3-matplotlib
>> Now I can do import matlpotlib, but I get another illegal
>> instruction when I do
>> import matplotlib.pyplot
>> I removed this version and downloaded the latest tar.gz file
>> then:
>> git clone https://github.com/matplotlib/matplotlib.git matplotlib
>> cd matplotlib
>> python -m pip install -e .
>>
>> Now it gives me an illegal istruction again at import matplotlib.
>> I am now at my wits end. Doe anyone have seen a similar behavior?
>> Thanks, andi
>>
>> --
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users at python.org
>> https://mail.python.org/mailman/listinfo/matplotlib-users
>>
>
>
> --
>
>
>
> --
> /Those who don't understand recursion are doomed to repeat it/
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/matplotlib-users/attachments/20220117/3664c11d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dilbert-lean-strategic-changes-9.gif
Type: image/gif
Size: 56275 bytes
Desc: not available
URL: <https://mail.python.org/pipermail/matplotlib-users/attachments/20220117/3664c11d/attachment-0001.gif>
More information about the Matplotlib-users
mailing list