No module named 'Quaternion' error even though its present in /opt/homebrew/lib/python3.10/site-packages

Viewed 14

I am using pip for downloading packages for my project. I need to use quaternion, which I have tried downloading by both

pip install quaternion

and

pip install numpy-quaternion

To check that my download was successful I used

pip install pytest
python -c 'import Quaternion; Quaternion.test()'

But it gave me following error

ModuleNotFoundError: No module named 'Quaternion'

I am using macOS Monterey version 12.5.1. Can someone please tell me how I can download quaternion without downloading conda.

Thank you

0 Answers
Related