0

Pythonアプリをpy2appでパックしようとしています。作成したものを実行していますが、次のsetup.pyエラーが発生します。

  File "C:\Python26\lib\distutils\file_util.py", line 119, in copy_file
    "can't copy '%s': doesn't exist or not a regular file" % src
DistutilsFileError: can't copy '--dist-dir': doesn't exist or not a regular file

> c:\python26\lib\distutils\file_util.py(119)copy_file()
-> "can't copy '%s': doesn't exist or not a regular file" % src

誰かが私が何をすべきかについて何か手がかりを持っていますか?

4

1 に答える 1

2

何らかの理由で、コマンドラインスイッチ--dist-dirをファイル名として解釈しようとしているようです。おそらく、実際のスイッチは別の名前が付けられていて、タイプミスしましたか?それとも、別の順序で指定する必要がありますか?

于 2009-08-05T22:31:49.133 に答える