[英]Unable to install pyinstaller using pip
我正在使用Python 3.6.0
python --version
Python 3.6.0
我正在尝试使用pip将pyinstaller安装到自定义文件夹
pip install pyinstaller --target=/prj/qc-tools/lib/pyinstaller
Collecting pyinstaller
Collecting setuptools (from pyinstaller)
Using cached setuptools-36.3.0-py2.py3-none-any.whl
Installing collected packages: setuptools, pyinstaller
Successfully installed pyinstaller-3.2.1 setuptools-36.3.0
该文件夹中没有pyinstaller.py
。
ls
easy_install.py pkg_resources __pycache__ PyInstaller PyInstaller-3.2.1.dist-info setuptools setuptools-36.3.0.dist-info
pyinstaller.org上的文档不再赘述。 我该怎么办?
pip用于python2,而pip3用于python3。 您应该安装pip3并尝试使用命令pip3 install pyinstaller --target=/prj/qc-tools/lib/pyinstaller
我最终没有使用pip install。 我从pypi下载了压缩包,只是提取了内容,并且能够直接使用pyinstaller.py将脚本转换为可执行文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.