简体   繁体   中英

Python setup.py error when running from cmd

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!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM