Problem with Installing Packages #442
Nielssss99
started this conversation in
Ask for help
Replies: 1 comment 2 replies
-
Issue solved. For people with similar problems in the future: pip installling "-e modular_robot_physical[remote]" by the use of WSL works. Installing "revolve2.simulators.mujoco_simulator" with WSL did not work, command prompt of Windows did work for this module. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am encountering the following error when running the sh student_install.sh command required to load the packages into the virtual environment. My laptop has Windows 11.
c_gpio.c
source/c_gpio.c(27): fatal error C1083: Cannot open include file: 'sys/mman.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for RPi.GPIO
Running setup.py clean for RPi.GPIO
Building wheel for spidev (pyproject.toml): started
Building wheel for spidev (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Building wheel for spidev (pyproject.toml) did not run successfully.
exit code: 1
[26 lines of output]
C:\Users\niels\AppData\Local\Temp\pip-build-env-l8i17oca\overlay\Lib\site-packages\setuptools\dist.py:472: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
I already updated pip and setuptools, as proposed in an existing discussion. How can I tackle this problem?
Niels
Beta Was this translation helpful? Give feedback.
All reactions