Skip to content
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

spatialmath import error on Ubuntu 22.04 #78

Open
asekerci opened this issue May 28, 2023 · 2 comments
Open

spatialmath import error on Ubuntu 22.04 #78

asekerci opened this issue May 28, 2023 · 2 comments

Comments

@asekerci
Copy link

I installed spatialmath by using the command "pip install spatialmath-python",

Then tried importing it in ipython:

"from spatialmath.base import *"

I got the error(s) as shown in the attached text file.

spatialmath_error.txt

@myeatman-bdai myeatman-bdai added the bug Something isn't working label Jun 20, 2023
@petercorke
Copy link
Collaborator

I've had reports from users of other toolboxes on linux (I'm guessing) with Python 3.10. Can you ensure all your packages are uptodate, or haven't been regressed by some subsequent install. Self is defined in the typing_extensions.py package for python 3.10. This gradual change of type hints is a pain.

@petercorke petercorke added under investigation and removed bug Something isn't working labels Nov 13, 2023
@Prier
Copy link

Prier commented Dec 21, 2023

The problem we had was that the version of typing_extensions was forced to a version <4.0.0 which does not have Self defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants