SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
104 stars 32 forks source link

python on windows install problem #2017

Closed akenmorris closed 1 year ago

akenmorris commented 1 year ago

I'm getting an error trying to use install_shapeworks.bat on a windows machine:

  Building wheel for shapeworks (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build\lib
      error: could not create 'build\lib': Access is denied
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for shapeworks
  Running setup.py clean for shapeworks
Failed to build shapeworks
Installing collected packages: shapeworks
  Running setup.py install for shapeworks ... error
  error: subprocess-exited-with-error

  × Running setup.py install for shapeworks did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running install
      C:\Users\amorris\miniconda3\envs\shapeworks\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build\lib
      error: could not create 'build\lib': Access is denied
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure