I think I'm finally there -- or close !!
barry@Barrys-Macbook ~ % python --version
Python 2.7.16
barry@Barrys-Macbook ~ % python3 --version
Python 3.7.7
A)
After running % brew install python it gave some error messages:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
flash tengo
==> Updated Formulae
bartycrouch chronograf dolt gettext node
Error: Could not link:
/usr/local/share/man/man1/brew.1
Please delete these paths and run
Error: Could not link:
/usr/local/share/doc/homebrew
Please delete these paths and run
Warning: python 3.7.7 is already installed, it's just not linked
You can use
B) So I tried linking it
barry@Barrys-Macbook ~ % brew link python
Linking /usr/local/Cellar/python/3.7.7...
Error: Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
To force the link and overwrite all conflicting files:
brew link --overwrite python
To list all files that would be deleted:
brew link --overwrite --dry-run python
C)
So I tried removing the 2to3 file then force linking the python 3.7.7 build first with a dry run and the for real
barry@Barrys-Macbook ~ % rm '/usr/local/bin/2to3'
barry@Barrys-Macbook ~ % brew link --overwrite --dry-run python
Would remove:
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.4/bin/idle3
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.4/bin/pydoc3
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.4/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.4/bin/python3-config
/usr/local/bin/pyvenv -> /Library/Frameworks/Python.framework/Versions/3.4/bin/pyvenv
barry@Barrys-Macbook ~ % brew link --overwrite python
Linking /usr/local/Cellar/python/3.7.7... 28 symlinks created
D) I tried running the upgrade ~ % brew upgrade
but it didn't seem to make a lot of difference
==> Upgrading 5 outdated packages:
lame 3.99.5 -> 3.100
xvid 1.3.4 -> 1.3.7
libav 11.4 -> 12.3_2
x264 r2533 -> r2917_1
faac 1.28 -> 1.29.9.2
==> Upgrading lame 3.99.5 -> 3.100
==> Downloading https://homebrew.bintray.com/bottles/lam...ina.bottle.
==> Downloading from https://akamai.bintray.com/02/02b6a2cbf9...8bc90c8314
######################################################################## 100.0%
==> Pouring lame-3.100.catalina.bottle.tar.gz
Error: The
The formula built, but is not symlinked into /usr/local
Could not symlink bin/lame
Target /usr/local/bin/lame
bla bla bla
barry@Barrys-Macbook ~ % brew unlink libav
Unlinking /usr/local/Cellar/libav/12.3_2... 0 symlinks removed
barry@Barrys-Macbook ~ % brew link --overwrite libav
Linking /usr/local/Cellar/libav/12.3_2... 6 symlinks created
Finally I still have Python 3.7.7 installed ( not 3.8.8) but that's fine !
E)
To run python3 interactively I get:
barry@Barrys-Macbook ~ % python3
Python 3.7.7 (default, Mar 10 2020, 15:43:33)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Thanks again for all your help -- I really appreciate it !
barry@Barrys-Macbook ~ % python --version
Python 2.7.16
barry@Barrys-Macbook ~ % python3 --version
Python 3.7.7
A)
After running % brew install python it gave some error messages:
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
flash tengo
==> Updated Formulae
bartycrouch chronograf dolt gettext node
Error: Could not link:
/usr/local/share/man/man1/brew.1
Please delete these paths and run
brew update
.Error: Could not link:
/usr/local/share/doc/homebrew
Please delete these paths and run
brew update
.Warning: python 3.7.7 is already installed, it's just not linked
You can use
brew link python
to link this version.B) So I tried linking it
barry@Barrys-Macbook ~ % brew link python
Linking /usr/local/Cellar/python/3.7.7...
Error: Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
To force the link and overwrite all conflicting files:
brew link --overwrite python
To list all files that would be deleted:
brew link --overwrite --dry-run python
C)
So I tried removing the 2to3 file then force linking the python 3.7.7 build first with a dry run and the for real
barry@Barrys-Macbook ~ % rm '/usr/local/bin/2to3'
barry@Barrys-Macbook ~ % brew link --overwrite --dry-run python
Would remove:
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.4/bin/idle3
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.4/bin/pydoc3
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.4/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.4/bin/python3-config
/usr/local/bin/pyvenv -> /Library/Frameworks/Python.framework/Versions/3.4/bin/pyvenv
barry@Barrys-Macbook ~ % brew link --overwrite python
Linking /usr/local/Cellar/python/3.7.7... 28 symlinks created
D) I tried running the upgrade ~ % brew upgrade
but it didn't seem to make a lot of difference
==> Upgrading 5 outdated packages:
lame 3.99.5 -> 3.100
xvid 1.3.4 -> 1.3.7
libav 11.4 -> 12.3_2
x264 r2533 -> r2917_1
faac 1.28 -> 1.29.9.2
==> Upgrading lame 3.99.5 -> 3.100
==> Downloading https://homebrew.bintray.com/bottles/lam...ina.bottle.
==> Downloading from https://akamai.bintray.com/02/02b6a2cbf9...8bc90c8314
######################################################################## 100.0%
==> Pouring lame-3.100.catalina.bottle.tar.gz
Error: The
brew link
step did not complete successfullyThe formula built, but is not symlinked into /usr/local
Could not symlink bin/lame
Target /usr/local/bin/lame
bla bla bla
barry@Barrys-Macbook ~ % brew unlink libav
Unlinking /usr/local/Cellar/libav/12.3_2... 0 symlinks removed
barry@Barrys-Macbook ~ % brew link --overwrite libav
Linking /usr/local/Cellar/libav/12.3_2... 6 symlinks created
Finally I still have Python 3.7.7 installed ( not 3.8.8) but that's fine !
E)
To run python3 interactively I get:
barry@Barrys-Macbook ~ % python3
Python 3.7.7 (default, Mar 10 2020, 15:43:33)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Thanks again for all your help -- I really appreciate it !
(Apr-14-2020, 06:20 PM)buran Wrote: I don't use Mac, so I cannot help HOW to install newer version of python, but for some of your other questions:Thanks Buran for your much appreciated advice !!
1. easygraphics requires min. python3.5, so you need to install newer version of python. I would not mess with the current system install of 3.4
2. PyQt is required by easygraphics, so once you manage to install newer version of python, and try to install easygraphics, it should install PyQT from PyPi as dependency