我使用cx_freeze將一個.py文件轉換爲.exe文件。 我正在使用python 3.2,我的操作系統是windows 7 .py文件在python解釋器和命令行中正確執行..但是.. 當我創建它的exe文件並執行它時...它給了我以下錯誤導入錯誤:無名爲re的模塊
Traceback (most recent call last): File
"C:\Python32\lib\site-packages\cx_Freeze\initscripts\Console3.py",
line 2 7, in exec(code, m.__dict__) File "HB2.py", line 1, in File "C:\Python32\lib\random.py", line 40, in from warnings import warn as _warn File
"C:\Python32-64\lib\warnings.py", line 6, in File
"C:\Python32-64\lib\linecache.py", line 10, in File
"C:\Python32-64\lib\tokenize.py", line 27, in ImportError:
No module named re
你能幫我解決這些嗎?