Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/315.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python exe在unicode文件夹中失败。错误-Pythondll_Python_Unicode_Python Unicode - Fatal编程技术网

Python exe在unicode文件夹中失败。错误-Pythondll

Python exe在unicode文件夹中失败。错误-Pythondll,python,unicode,python-unicode,Python,Unicode,Python Unicode,我创建了一个hello.py。 然后创建setup.py from distutils.core import setup from py2exe.build_exe import py2exe setup(console=["hello.py"]) 然后使用python setup.py py2exe创建构建。 这是成功的,效果很好 现在我用unicode名称(例如-औ玻璃纤维生长因子) 当我执行这个构建时,它给出了一个错误 C:\?gfgf\dist>hello.exe LoadL

我创建了一个hello.py。 然后创建setup.py

from distutils.core import setup
from py2exe.build_exe import py2exe

setup(console=["hello.py"])
然后使用
python setup.py py2exe
创建构建。 这是成功的,效果很好

现在我用unicode名称(例如-औ玻璃纤维生长因子) 当我执行这个构建时,它给出了一个错误

C:\?gfgf\dist>hello.exe
LoadLibrary(pythondll) failedThe specified module could not be found.
C:\?gfgf\dist\PYTHON27.DLL
C:\?gfgf\dist>