Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install pyinstaller under msys2 error #4542

Closed
maryjeck opened this issue Nov 20, 2019 · 3 comments
Closed

pip install pyinstaller under msys2 error #4542

maryjeck opened this issue Nov 20, 2019 · 3 comments

Comments

@maryjeck
Copy link

First ,Thanks for the developers.
In the msys2 (under win10),i install python3 like this:
pacman -S python 3.7.4-1
pacman -S python3-appdirs 1.4.3-3
pacman -S python3-attrs 19.3.0-1
pacman -S python3-packaging 19.2-1
pacman -S python3-pip 19.3.1-1
pacman -S python3-pyparsing 2.4.4-1
pacman -S python3-setuptools 41.6.0-1
pacman -S python3-six 1.13.0-1

then i install pyinstaller under pip:
pip install pyinstaller
(or pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip )
there was shown this :
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.exe /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmplydm2msp
cwd: /tmp/pip-install-vr_0jp77/pyinstaller
Complete output (1 lines):
Your platform is not yet supported. Please define constant PYDYLIB_NAMES for your platform.

ERROR: Command errored out with exit status 1: /usr/bin/python3.exe /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmplydm2msp Check the logs for full command output.

Is there something wrong to me ???

@danyeaw
Copy link
Contributor

danyeaw commented Nov 21, 2019

@maryjeck Pyinstaller is working fine for me in MSYS2, so maybe I can help figure out what is different about your setup. Also it looks like someone else on Stackoverflow is having a similar issue.

From a fresh install of MSYS2, I am installing the following packages:

pacman --noconfirm -S --needed \
    git \
    mingw-w64-$MSYS2_ARCH-gcc \
    mingw-w64-$MSYS2_ARCH-gtk3 \
    mingw-w64-$MSYS2_ARCH-pkg-config \
    mingw-w64-$MSYS2_ARCH-cairo \
    mingw-w64-$MSYS2_ARCH-gobject-introspection \
    mingw-w64-$MSYS2_ARCH-python3 \
    mingw-w64-$MSYS2_ARCH-python3-gobject \
    mingw-w64-$MSYS2_ARCH-python3-cairo \
    mingw-w64-$MSYS2_ARCH-python3-pip

gtk, cairo, gobject-introspection, python3-gobject, and python3-cairo are because I am packaging a GTK app.

Have you tried installing Pyinstaller from within a virtualenv:

python -m venv .venv
source .venv/bin/activate
pip install pyinstaller

@danyeaw
Copy link
Contributor

danyeaw commented Dec 16, 2019

@maryjeck I haven't heard anything from you, are you still having this issue?

@Legorooj
Copy link
Member

Stale

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants