I installed the "clifford" package, or at least so I believed. Here is what I executed:
import clifford as cf layout, blades = cf.Cl(4)
Here's the result:
File "C:UsersasdfDocuments4DPythonclifford.py", line 10, in <module> layout, blades = cf.Cl(3) AttributeError: partially initialized module 'clifford' has no attribute 'Cl' (most likely due to a circular import)
Now what?
Your file is called clifford.py hence it creates another python module called clifford and trys importing from there. Renaming your file should work
clifford.py
clifford
2.1m questions
2.1m answers
60 comments
57.0k users