我尝试安装并运行它,但我这样做,它不起作用.
C:\Users\Dino Non Admin>py -m pip install pyinstaller
Collecting pyinstaller
Using cached PyInstaller-3.3.tar.gz
Requirement already satisfied: setuptools in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages (from pyinstaller)
Requirement already satisfied: pefile>=2017.8.1 in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages (from pyinstaller)
Requirement already satisfied: macholib>=1.8 in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages (from pyinstaller)
Requirement already satisfied: future in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages (from pyinstaller)
Requirement already satisfied: pypiwin32 in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages (from pyinstaller)
Requirement already satisfied: altgraph>=0.13 in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages (from macholib>=1.8->pyinstaller)
Installing collected packages: pyinstaller
Running setup.py install for pyinstaller ... done
Successfully installed pyinstaller-3.3
C:\Users\Dino Non Admin>pyinstaller
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
另外,对于这些文件:
pyinstaller.exe
pyinstaller-script.py
当我打开它时它会这样做:
Pyinstaller cannot check for assembly dependencies.
Please install PyWin32 or PyWin32-ctypes
我尽力做它说的,但是
C:\Users\Dino Non Admin>py -m pip install pypiwin32
Requirement already satisfied: pypiwin32 in c:\users\dino non admin\appdata\local\programs\python\python35\lib\site-packages
最佳答案 尝试pip install pywin32-ctypes.