Comments (8)
Hi there! Sorry to hear the pyqt@4
formula didn't work correctly on your machine.
Could you please run the brew config
and brew doctor
commands and paste the output into a Gist so I can take a look at them?
from homebrew-qt4.
Here you go https://gist.github.com/crintus/90cadff89ac7cc6df06ec448d2297c70
from homebrew-qt4.
@crintus It appears the root cause of this issue is that sip
didn't get linked properly because an existing installation was in the way. It's possible this has something to do with the fact that you have Anaconda installed, or maybe it somehow got installed through pip
or something.
If you run brew link --overwrite --dry-run sip
, back up the listed files, then run brew link --overwrite sip
, are you still unable to install PyQt?
from homebrew-qt4.
Yeah, next issues is the following
ยป brew install pyqt@4 --with-python3
Updating Homebrew...
==> Installing pyqt@4 from cartr/qt4
==> Downloading https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12/PyQt4_gpl_mac-4.12.tar.gz/download
Already downloaded: /Users/johan/Library/Caches/Homebrew/[email protected]
==> python configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt@4/4.12_1/bin --destdir=/usr/local/Cellar/pyqt@4/4.12_1/lib/python2.7/site-packages --sipdir=/usr/local/Cellar/pyqt@4/4.12_1/share/
==> python configure-ng.py --confirm-license --bindir=/usr/local/Cellar/pyqt@4/4.12_1/bin --destdir=/usr/local/Cellar/pyqt@4/4.12_1/lib/python2.7/site-packages --sipdir=/usr/local/Cellar/pyqt@4/4.12_1/sha
==> make
Last 15 lines from /Users/johan/Library/Logs/Homebrew/pyqt@4/03.make:
In file included from sipQtCorecmodule.cpp:24:
In file included from ./sipAPIQtCore.h:27:
/usr/local/include/sip.h:32:10: fatal error: 'Python.h' file not found
#include <Python.h>
^
1 error generated.
1 error generated.
1 error generated.
make[1]: *** [sipQtCoreQAbstractAnimation.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [qpycore_post_init.o] Error 1
make[1]: *** [sipQtCoreQAbstractEventDispatcher.o] Error 1
1 error generated.
make[1]: *** [sipQtCorecmodule.o] Error 1
make: *** [sub-QtCore-make_default-ordered] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/cartr/homebrew-qt4/issues
These open issues may also help:
pyqt@4 - WebKit is broken https://github.com/cartr/homebrew-qt4/issues/21
from homebrew-qt4.
On Yosemite I got past that part with --overwrite, but fail on mutagen because the project has moved from bitbucket to github.
from homebrew-qt4.
It's worth a shot I guess. I no longer need this issue to be resolved. @cartr you can close this if you are happy to not resolve it
from homebrew-qt4.
I was unable to reproduce this issue on a fresh install of Sierra, and so I suspect it has something to do with Anaconda being installed on your system, which is not something Homebrew supports very well.
For other people having this issue, you might want to try running conda install pyqt=4
to install PyQt4 through Anaconda instead of Homebrew.
from homebrew-qt4.
wow, conda install pyqt=4
actually did the trick. All that effort for a simple fix. Thanks so much @cartr for the help
from homebrew-qt4.
Related Issues (20)
- Q_OBJECT macro gives many inconsistent-override-warnings
- "unrecognized #pragma" with Q_OBJECT on ICC HOT 2
- Location of qt4 source code has changed
- Qt@4 doesn't build on macOS 10.14 HOT 2
- installing lQTGui HOT 6
- MacOS.prefer_64_bit? has been deprecated in Homebrew so the formula now fails to install HOT 1
- can't build [email protected] with docs on mojave HOT 3
- qt@4 bottle broken since openssl 1.0 was removed from homebrew-core HOT 12
- brew tap-pin cartr/qt4 failed HOT 4
- Can't build pyqt@4 (ElCapitan) HOT 5
- bintray is going away. Distribute bottles through github or another service? HOT 6
- qt 4.8.7 download site HOT 1
- warning when installing ncurses on mac 11.2.3 HOT 2
- fix drawing performance on Big Sur HOT 1
- failed to install qt4 on my mac HOT 1
- brew install cartr/qt4/pyqt fails on MacOs Monterey HOT 4
- brew tap fails with invalid formula due to disabled bottle :unneeded HOT 3
- brew install cartr/qt4/[email protected] fails on Monterey HOT 4
- MacOS M1 error installation HOT 5
- brew install cartr/qt4/qt@4 in Apple M1 Pro machine , make error, please help! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-qt4.