pyinstaller使用遇到错误Error: import module hook setuptools.extern.six.moves, No module named _vendor.six

Recently because you want to write .py files into .exe file, then checked some method. Using pyinstaller, but there was a mistake in the conversion process: import module hook setuptools.extern.six.moves, No module named _vendor.six. So search the Internet in various ways, installed at the start of a six pack, but does not solve the problem, then continue the search, finally found the same problem with me in a corner GitHub's https://github.com/pyinstaller/ pyinstaller / AND DELINQUENCY / 3777 ,

So try it, the perfect solution.


method:

I have same problem. Was able to work around by running:
 

pip install --force-reinstall --no-binary :all: pyinstaller


from this issue


 

Guess you like

Origin blog.csdn.net/li123_123_/article/details/83381481