PyCharm doesn't install dependencies for M1 properly

I'm running PyCharm 2021.1.3 (Community edition) on M1 and I'm unable to work with several libraries. 

Pandas import fails, after installation with

`no suitable image found` `mach-o, but wrong architecture`

I've attached screenshot of errors, interpreter and project structure
If I run it from the terminal everything works. How can I solve it?

1 comment
Comment actions Permalink

Hi, I've never faced this issue myself, but you can find a fair number of similar issues online, e.g. for Tensorflow (one, two, three)

General recommendation is to try ARM64 version of Python that comes with XCode Command Line Tools.


Please sign in to leave a comment.