cx_Freeze- ImportError: cannot import name setup

前端 未结 1 1216
萌比男神i
萌比男神i 2021-01-23 17:30

I\'m using a Windows 7 machine with cx_Freeze 4.3.1 with Python 3.3, both Python and cx_Freeze are 32-bit versions. I\'ve written a setup.py script that looks like this:

1条回答
  •  青春惊慌失措
    2021-01-23 18:17

    Resolved, I removed import sys from my setup.py file and the program compiled successfully.

    0 讨论(0)
提交回复
热议问题