NeLy-EPFL / NeuroMechFly

A neuromechanical model of adult Drosophila melanogaster.
https://nely-epfl.github.io/NeuroMechFly/
Apache License 2.0
44 stars 1 forks source link

ERROR: Could not build wheels for farms-container which use PEP 517 and cannot be installed directly #25

Closed VictorLobatoRios closed 3 years ago

VictorLobatoRios commented 3 years ago

When installing on Windows 10 this error happened:

Building wheel for farms-container (PEP 517) ... error ERROR: Command errored out with exit status 1: [....] building 'farms_container.parameter' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for farms-container [....] Failed to build farms-container ERROR: Could not build wheels for farms-container which use PEP 517 and cannot be installed directly

VictorLobatoRios commented 3 years ago

It's solved by: 1.- Getting the "Microsoft C++ Build Tools" from the link provided: https://visualstudio.microsoft.com/visual-cpp-build-tools/

2.- Rebooting the computer

3.- Launching the environment and trying to install farms_container again with: pip install git+https://gitlab.com/FARMSIM/farms_container.git