Failed building wheel for idyntree
Gaoyuan-Liu opened this issue · 3 comments
Hey,
I'm using ubuntu 18.04 + python3.6.
So I guess the python-support should be >=3.8 so I create a virtual env with 3.9.2. But when I run pip install gym-ignition
in the virtual env, I cannot install the dependencies and got errors:
---------------------------------------- ERROR: Failed building wheel for idyntree Failed to build idyntree ERROR: Could not build wheels for idyntree which use PEP 517 and cannot be installed directly
Any ideas?
Thanks!
I solved this issue by using the virtual environment with python 3.8.
- Download python3.8 and related:
sudo apt-get install python3.8 python3.8-dev python3.8-distutils python3.8-venv
- Create a virtual environment with python 3.8:
sudo apt install virtualenv
virtualenv -p python3.8 $HOME/venv
source $HOME/venv/bin/activate
- Download the gym-ignition:
pip install gym-ignition
@diegoferigo I ran into this issue as well and it wasn't immediately clear what the problem was. I would recommend adding a few more details to the README to clarify the necessity of python =>3.8. I attempted to do this with a PR but do not have access.
The README was structured to be a distilled version of the website, where information have been centralized. The system requirements are listed in Support Policy.