With Windows, there is no need to separately install QT, since pyqt5 contains the binaries in a form that Python can use. This may be different on the Mac version, but it would be interesting to know.
On Thursday, January 6, 2022 at 6:59:22 AM UTC-5 Israel Hands wrote: > Previously I had experienced misery but now success, well so far - half an > hour in. Of course I can't remember the exact sequence but here is my best > guess. I think I installed Python first then SIP, I installed pyqt5 > before qt, which can't be right but it seems to work! I used pip to install > pyqt5 because I read somewhere this is good thing. I have no idea. Spool > to end to see what I didn't do compared with Leo Docs... > > --------------------------------------------------------- > > Get the xcode command line tools which match the highest version of Xcode > that works with your version of MacOS. I didn't want to upgrade to Mac > silicon versions of the OS and Mojave is the last version of MacOS that > will run 32 bit apps which I wanted to stay with. > > You don't need the full xcode package, which is good is that is ~8GB). You > will need a free Apple developer log in. > > I installed 10.3 > > https://developer.apple.com/download/all/ > > --------------------------------------------------------- > --------------------------------------------------------- > I installed everything below while in /usr/local > --------------------------------------------------------- > --------------------------------------------------------- > First install HomeBrew > > /bin/bash -c "$(curl -fsSL > https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" > > --------------------------------------------------------- > install python3.9 > > brew install python > > --------------------------------------------------------- > install SIP > > brew install SIP > > --------------------------------------------------------- > install pyqt > > python3 -m pip install PyQt5 > --------------------------------------------------------- > install qt5 > > brew install qt5 > ---------------------------------------------------------- > Get Leo from Git > > sudo git clone --depth=500 --no-single-branch > https://github.com/leo-editor/leo-editor > > --------------------------------------------------------- > > run Leo > > python3 launchleo.py > > --------------------------------------------------------- > > Compared to the instructions in the docs, I did not add this to my bash > profile- > > export PATH=/usr/local/bin:$PATH # This is for SIP (and PyQt) as suggested > by Homebrew export > PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH > > I was worried about the PYTHONPATH etc but as these instruction refer to > python2.7 I just ignored them. No doubt disaster awaits somewhere. > > ta > > IH > > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/5cfb4df5-440e-4cdf-b0bc-d7ce16542aabn%40googlegroups.com.
