BarisYazici / deep-rl-grasping

Train deep reinforcement learning model for robotics grasping. Choose from different perception layers raw Depth, RGBD and autoencoder. Test the learned models in different scenes and object datasets
MIT License
183 stars 43 forks source link

Failed to build pybullet opencv-python #20

Closed ViktorPavlovA closed 1 year ago

ViktorPavlovA commented 1 year ago

Good day.

When i try to install:

pip install -e . --user

I get message:

Failed to build pybullet opencv-python


scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.6 requires Microsoft Visual Studio 2022. Get it with "Visual Studio 2017":

https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2019":

  https://visualstudio.microsoft.com/vs/

Or with "Visual Studio 2022":

  https://visualstudio.microsoft.com/vs/


ERROR: Failed building wheel for opencv-python Failed to build pybullet opencv-python ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

What could be the problem?

ViktorPavlovA commented 1 year ago

In this package trouble 'pybullet==3.2.5'

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/

ViktorPavlovA commented 1 year ago

(grasp_env) C:\Users\Viktor\Desktop\grasping_conda2>pip install pybullet==3.2.5 Collecting pybullet==3.2.5 Using cached pybullet-3.2.5.tar.gz (80.5 MB) Preparing metadata (setup.py) ... done Building wheels for collected packages: pybullet Building wheel for pybullet (setup.py) ... done Created wheel for pybullet: filename=pybullet-3.2.5-cp37-cp37m-win_amd64.whl size=67438137 sha256=7d662addc05d4dc282ec78a483ebc78f473d364e6100485953b54aefe565caf5 Stored in directory: c:\users\viktor\appdata\local\pip\cache\wheels\c6\39\e6\2a26b45db693fb292ab5e2e555372680a3d3797ace1e20c04a Successfully built pybullet Installing collected packages: pybullet Successfully installed pybullet-3.2.5