error=86, Bad CPU type in executable

I cannot use my python (python 2.7) on my IDE programs. It is giving the below error. My OS is Big Sur.


Error:Cannot run program "/usr/local/bin/python2.7" (in directory "/Users/XXXXXXX/Desktop"): error=86, Bad CPU type in executable


I followed the instructions from this article https://support.apple.com/en-us/HT208050 but it did not solve the problem.

MacBook Pro 13″, macOS 11.0

Posted on Dec 15, 2020 12:50 PM

Reply
1 reply

Dec 19, 2020 8:13 AM in response to kemal2

Hello kemal2,


We understand that you are getting an error message trying to use certain programs on your Mac. We’d like to help however we can. 


To get the best assistance with what’s happening, we would recommend reaching out to the developer of these applications.

How to contact an app developer


You can also contact our Developer Support here:

Developer Support


Cheers!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

error=86, Bad CPU type in executable

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.