Windows Distutils trouble

Submitted by inducer on Wed, 05/12/2007 - 14:00

On Mittwoch 05 Dezember 2007, Jian Guo wrote:

I want to use MeshPy0.90 that I downloaded from your website. I also
installed boost-1.34.1. However when I execute command line: Python
setup.py install, I met following error msgs:
----------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\MeshPy-0.90\setup.py", line 46, in
<module>
    define_macros=tetgen_macros
  File "C:\Python25\lib\distutils\core.py", line 139, in setup
    raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: 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
------------------------------------------------------------------

Could you please tell me why this happened? Does it mean there are sth wrong with my boost installation?

I've never used Distutils (the build tool for MeshPy) on Windows. In principle, it's supposed to just work. It's telling you that it's not seeing the "install" command you gave it. Did you type

Python setup.py install

at the "cmd" commandline? Or did you use some sort of IDE to run it? Also, are you using the same compiler that your Python was compiled with?

Your boost install is not likely to be the cause.

Andreas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

can MeshPy run on Microsoft Windows? I have problem on installing Boost.Python and MeshPy as well.

I do need help.

I don't see why not. See here for Windows install instructions for a similar (build-wise) project.

Andreas