[英]Unable to install pyinstaller using pip
I am using Python 3.6.0 我正在使用Python 3.6.0
python --version
Python 3.6.0
I am trying to install pyinstaller using pip to a custom folder 我正在尝试使用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
The folder doesn't have a pyinstaller.py
in it. 该文件夹中没有
pyinstaller.py
。
ls
easy_install.py pkg_resources __pycache__ PyInstaller PyInstaller-3.2.1.dist-info setuptools setuptools-36.3.0.dist-info
The documentation on pyinstaller.org does not say anything more. pyinstaller.org上的文档不再赘述。 What do I do?
我该怎么办?
pip is for python2 and pip3 is for python3. pip用于python2,而pip3用于python3。 You should install pip3 and try the command
pip3 install pyinstaller --target=/prj/qc-tools/lib/pyinstaller
您应该安装pip3并尝试使用命令
pip3 install pyinstaller --target=/prj/qc-tools/lib/pyinstaller
I ended up NOT using pip install. 我最终没有使用pip install。 I downloaded the tarball from pypi, just extracted contents, and I am able to use pyinstaller.py directly to convert my scripts into executables.
我从pypi下载了压缩包,只是提取了内容,并且能够直接使用pyinstaller.py将脚本转换为可执行文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.