-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'glm' has no attribute 'vec3' with unittest on ubuntu #208
Comments
Hi there @Wasserwecken, the issue is that you are using the library "glm" alongside "PyGLM" inside https://github.com/Wasserwecken/spatial-transform/blob/main/requirements.txt . It is not currently possible to use the two packages alongside each other (as far as I'm concerned). Distributing PyGLM this way was a decision I made when I was still very inexperienced with the PyPI and I am contemplating changing the package structure. |
I'm assuming you meant to only put |
Thanks for that lighning fast answer. Yes this was the error. Removing the 'glm' requirement solves the problem! The requirements.txt was generated with: python -m pipreqs.pipreqs --force Don't know what that glm package is and where it appeard. |
I've created a ci workflow and tests for my libary: https://github.com/Wasserwecken/spatial-transform
Tests are all running on my local windows(11) machine with python 3.9.
But they fail all with the same error on wsl and GitHub CI.
Does have PyGLM some extra requirements?
You can check the CI file on the repo if needed: https://github.com/Wasserwecken/spatial-transform/blob/main/.github/workflows/python-package.yml
WSL ubuntu 22.04
The text was updated successfully, but these errors were encountered: