Re: Unable to install PyQt 5.14
Grzegorz Bokota <[email protected]> Mon, 6 Apr 2020 10:08:24 +0200
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <CADUBGeTRPrtsSXOFG5mqs8gTm-noJZeRbDh7Zo7D7ZKZyCX7Jg@mail.gmail.com> |
Yes. Read about modifying environment variable PATH. most probably you want to execute export PATH=/opt/Qt5.14.2/5.14.2/gcc_64/ bin:PATH Grzegorz Bokota pon., 6 kwi 2020 o 08:53 ashwin .D <[email protected]> napisał(a): > Yes thank you. I manage to build this. I have one final question. > > I have installed Qt from source using the GUI installer Qt version 5.14. > and my qmake is located under /opt/Qt5.14.2/5.14.2/gcc_64/bin > > The default installation of qmake associated with Qt5 is under > /usr/bin(and installed by Ubuntu. > > Is there a way to specify in the install of PyQt to use my version of Qt > not the default version of Ubuntu? > > > > On Mon, Apr 6, 2020 at 11:54 AM Grzegorz Bokota <[email protected]> > wrote: > >> Maybe some explanation is needed. >> Since PyQt5 5.14 it is distributed in manylinux2014 wheels which is >> supported from pip 19.3, when ubuntu 18.04 is shipped with pip 9. PyQt5 >> switched from manylinux1 to manylinux2014 because Qt needs a new version of >> libc to work. >> >> Grzegorz Bokota >> >> >> pon., 6 kwi 2020 o 06:34 Damon Lynch <[email protected]> napisał(a): >> >>> >> >>> >> Do this: >>> >> >>> >> python3 -m install --user -U pip setuptools >>> >> >>> >> You might want to upgrade wheel while you're at it too, but I guess >>> >> that's up to you. >>> >> >>> >> Then install PyQt5. >>> >> >>> >> >>> >>> Sorry, I forgot the most important part, the actual command to run! Do >>> this: >>> >>> python3 -m pip install --user -U pip setuptools >>> >>> Your problem is that you're trying to install PyQt5 with a version of >>> pip that is by current standards too old. Upgrade that and you're good >>> to go. >>> >>> >>> -- >>> http://www.damonlynch.net >>> _______________________________________________ >>> PyQt mailing list [email protected] >>> https://www.riverbankcomputing.com/mailman/listinfo/pyqt >>> >> _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt