No module named 'quaternion.numpy_quaternion'
See original GitHub issueI’m trying to install numpy-quaternion:
pip install numpy-quaternion … Successfully installed numpy-quaternion-2020.11.2.17.0.49
but then it fails when I try to import it:
I have checked the folder with __init__.py and there is no numpy_quaternion.py file
I use Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32 np.version.version ‘1.18.1’
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to fix "No module named 'quaternion'" in Python?
I keep getting the error, 'No module named 'quaternion''. To install the quaternion module to my computer I used my command prompt and...
Read more >numpy-quaternion - Read the Docs
This Python module adds a quaternion dtype to NumPy. The code was originally based on code by Martin Ling (which he wrote with...
Read more >ModuleNotFoundError: No module named 'Quaternion'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'Quaternion' How to remove the ModuleN.
Read more >numpy-quaternion - PyPI
This package creates a quaternion type in python, and further enables numpy to create and manipulate arrays of quaternions. The usual algebraic operations ......
Read more >python3.9.7报错“no Module named quaternion”_慕木子的博客
问题描述: ... 但是,执行 import quaternion 时,依旧会报错 “no Module named quaternion” .同期还会报 numpy has no attribute 'alen' 。 几经 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In case it helps someone else: I had a similar error to this - after installing numpy-quaternion I got an error “ModuleNotFoundError: No module named ‘quaternion’”.
It turns out this was because I had also installed a package called “quaternion”, probably by accident when I was trying to install numpy-quaternion previously. I could fix the problem by runnning
and then, after that, running
It really seems I had to do both of those things, in that order, before it would work.
Seems, it was true about broken python. I’ve fully reinstalled it and everything works now Thanks 😃