p5 icon indicating copy to clipboard operation
p5 copied to clipboard

AttributeError: dlsym(0x1028abdb0, class_getMethodImplementation_stret): symbol not found

Open Xarbenence opened this issue 2 years ago • 5 comments

Describe the bug

I have followed the steps of brew installing GLFW, and pip installing p5. I'm on an M1 Macbook Pro, and I have seen that a few other people are having issues with python running on the M1 chip. I'm not really sure why I'm getting this error, or how to fix it.

Screenshots Screen Shot 2022-07-13 at 9 49 04 AM

System information:

  • p5 release (version number or latest commit): 3.3... I think
  • Python version: 3.9
  • Operating system: Mac OS

Xarbenence avatar Jul 13 '22 14:07 Xarbenence

Thank you for submitting your first issue to p5py

github-actions[bot] avatar Jul 13 '22 14:07 github-actions[bot]

Try installing it from the git repo and see if there exists a problem.

tushar5526 avatar Jul 13 '22 15:07 tushar5526

pip install git+https://github.com/p5py/p5.git#egg=p5

tushar5526 avatar Jul 13 '22 15:07 tushar5526

pip install git+https://github.com/p5py/p5.git#egg=p5

I ran that and it said p5 was built. However, it still unfortunately gives me the same attribute error when I try to run the code.

Xarbenence avatar Jul 13 '22 15:07 Xarbenence

I don't have a mac to check it myself. I would suggest making a fresh install or using a lower python version in your virtual environment.

tushar5526 avatar Jul 14 '22 08:07 tushar5526