pybullet install under miniforge arm64 env is x86_64 instead of arm64
Posted: Thu May 12, 2022 12:42 am
Hello! I tried to install pybullet in a miniforge conda environment with the following commands:
Everything was installed fine but when I try to use pybullet I get the following error:
Code: Select all
conda create --name clean python=3.9
conda activate clean
python -m pip install --upgrade pip
python -m pip install --upgrade pybullet
My mac is m1 and is using https://github.com/conda-forge/miniforg ... X-arm64.sh for the conda environment. Pybullet works well when I use x86_64 python. Has anyone seen this before? Would appreciate any help! Thanks!(clean) Bluefish_@MacBook-Pro-2 bullet3 % python
Python 3.9.12 (main, Apr 5 2022, 01:52:34)
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybullet as p
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/Bluefish_/miniforge3/envs/clean/lib/python3.9/site-packages/pybullet.cpython-39-darwin.so, 0x0002): tried: '/Users/Bluefish_/miniforge3/envs/clean/lib/python3.9/site-packages/pybullet.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
>>> exit()