TylerGubala/blenderpy

python setup.py bdist_wheel did not run successfully

Opened this issue · 1 comments

I am receiving this error while installing bpy with pip.
Specifications:

  1. Ubuntu 18.04
  2. python 3.7.11
Building wheels for collected packages: bpy
  Building wheel for bpy (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.7
      creating build/lib.linux-x86_64-3.7/blenderpy
      copying blenderpy/__init__.py -> build/lib.linux-x86_64-3.7/blenderpy
      copying blenderpy/post_install.py -> build/lib.linux-x86_64-3.7/blenderpy
      running build_ext
      Preparing the build environment
      Searching for compatible Blender online (this will take a while)
      error: [Errno 2] No such file or directory: 'svn': 'svn'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for bpy
  Running setup.py clean for bpy
Failed to build bpy
Installing collected packages: bpy
  Running setup.py install for bpy ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for bpy did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.7
      creating build/lib.linux-x86_64-3.7/blenderpy
      copying blenderpy/__init__.py -> build/lib.linux-x86_64-3.7/blenderpy
      copying blenderpy/post_install.py -> build/lib.linux-x86_64-3.7/blenderpy
      running build_ext
      Preparing the build environment
      Searching for compatible Blender online (this will take a while)
      error: [Errno 2] No such file or directory: 'svn': 'svn'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> bpy

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Svn is missing. You need to instal subversion