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

Pypi install V1.1.1 #446

Open
peter-manzl opened this issue Jun 13, 2024 · 2 comments
Open

Pypi install V1.1.1 #446

peter-manzl opened this issue Jun 13, 2024 · 2 comments

Comments

@peter-manzl
Copy link

Hi everyone!

I just noticed yesterday that for the newest version (V 1.1.1 from May 11th, 2024) on pypi, only the source code or the MacOS version is available. When I run (windows / Python 3.11 anaconda environment):
pip install roboticstoolbox-python
I get a very long error message which ends with:
grafik
As far as I can see this is because the package cannot be compiled without the Microsoft Visual C++ compiler. I tried it on another machine with the compiler available and everything works there fine.

Would it be possible to either upload the other wheels or mark Version 1.1.1 as pre-release? When running
pip install roboticstoolbox-python==1.1.0
everything works fine for me.

Best regards,
Peter

@laorhy
Copy link

laorhy commented Jan 14, 2025

I encountered the same issue while trying to pip install roboticstoolbox-python on Windows. Thanks to pip install roboticstoolbox-python==1.1.0, it worked.

@gbattocletti
Copy link

gbattocletti commented Jan 17, 2025

As far as I know the issue is related to the version requirements of spatialmath-python, and it should have been fixed in version 1.1.13 of spatialmath-python. However, today I tried an installation of spatialmath-python on windows + python 3.13 which resulted in the same error reported by @peter-manzl (see bdaiinstitute/spatialmath-python#150 (comment)).

As a workaround there are the fix suggested by @laorhy, and also two other options, namely, 1) to use a lower version of python (up to and including 3.10 the installation works fine), and 2) on any python version, install the package with the --no-deps specification and then add the required packages manually.

Edit: the issue is actually fully solved in the current version of the package on GitHub, so a viable approach for the installation is also to clone the repository and install it locally. Release 1.1.13 still has some issues with the version requirements in the pyproject.toml file, which should be fixed in the next release.

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

No branches or pull requests

3 participants