-
Notifications
You must be signed in to change notification settings - Fork 100
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
rvctool: ImportError: cannot import name 'randn' from 'scipy' #16
Comments
I tested python version 3.10, 3.9, 3.8 and 3.7. |
For anyone dropping by here, this issue is documented in the robotics-toolbox-python repo here: petercorke/robotics-toolbox-python#412. The crux of the problem is that SciPy removed the 'randn' import in v1.12.0, which is incompatible with the current version of the toolbox. There's a hotfix that can be used for the time being, which installs a version of scipy less than v1.12.0: pip install "scipy<1.12.0" There is also a propsed PR (petercorke/robotics-toolbox-python#413) which fixes the problem by removing the import since it's not even being used, but given that it's 3 months old and hasn't had any attention from the author, I'd recommend sticking to the hotfix for now. |
Sorry about the long delay in sorting this. This was fixed in 1.1.1 posted earlier this month. |
@petercorke Thanks for the response! Also might be helpful to update the Anaconda version to 1.1.1 for anyone else using it |
@petercorke thanks for your effort, i think it would be sure helpfull for all linux/ros2 users |
Trying to run rvctool after installation gives an error as shown in the attached image.
The text was updated successfully, but these errors were encountered: