0

When I tried to build PyMesh from cmd by typing setup.py build, it says

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

When I tried with 'python setup.py build', it gives the following error, without any further information

error: [WinError 193] %1 is not a valid Win32 application

I've used 'where python' to verify that I only have one python installed from anaconda. Any help would be appreciated!

johz
  • 15
  • 4

1 Answers1

0

following this issue:

don't use setup.py, instead do as the following cd thirdparty and then run python build.py all
and then run cmake

Mogi
  • 596
  • 1
  • 6
  • 18
  • When I ran cmake, it says "Failed to run MSBuild command: MSBuild.exe to get the value of VCTargetsPath: The system cannot find the file specified" Do you know how to deal with this? – johz Nov 29 '20 at 02:07
  • install MSBuild.exe https://stackoverflow.com/questions/44478492/cmake-failed-to-run-msbuild-command-msbuild-exe – Mogi Nov 29 '20 at 19:28