I'm embarrassed to post this, but I have no experience with Python and am 
having issues with install. Ultimately, I am trying to connect to an 
Ambient Weather WS-2902C. 

I am following the MacOS directions <http://www.weewx.com/docs/macos.htm> 
but cannot get past installing Homebrew. 

If anyone can offer any guidance I would be truly appreciative. Thank you. 

MacBook-Air:~ twvancamp$ brew install python


Warning: [email protected] 3.9.13_1 is already installed, it's just not linked.

To link this version, run:

  brew link [email protected]

MacBook-Air:~ twvancamp$ 

MacBook-Air:~ twvancamp$ brew link [email protected]

Linking /usr/local/Cellar/[email protected]/3.9.13_1... 

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 [email protected]


To list all files that would be deleted:

  brew link --overwrite --dry-run [email protected]

MacBook-Air:~ twvancamp$ brew link --overwrite --dry-run [email protected]

Would remove:

/usr/local/bin/2to3 -> 
/Library/Frameworks/Python.framework/Versions/3.10/bin/2to3

/usr/local/bin/idle3 -> 
/Library/Frameworks/Python.framework/Versions/3.10/bin/idle3

/usr/local/bin/pydoc3 -> 
/Library/Frameworks/Python.framework/Versions/3.10/bin/pydoc3

/usr/local/bin/python3 -> 
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3

/usr/local/bin/python3-config -> 
/Library/Frameworks/Python.framework/Versions/3.10/bin/python3-config

MacBook-Air:~ twvancamp$   rm '/usr/local/bin/2to3'

MacBook-Air:~ twvancamp$   rm '/usr/local/bin/2to3'

rm: /usr/local/bin/2to3: No such file or directory

MacBook-Air:~ twvancamp$ brew install python

Warning: [email protected] 3.9.13_1 is already installed, it's just not linked.

To link this version, run:

  brew link [email protected]

MacBook-Air:~ twvancamp$   brew link [email protected]

Linking /usr/local/Cellar/[email protected]/3.9.13_1... 

Error: Could not symlink bin/idle3

Target /usr/local/bin/idle3

already exists. You may want to remove it:

  rm '/usr/local/bin/idle3'


To force the link and overwrite all conflicting files:

  brew link --overwrite [email protected]


To list all files that would be deleted:

  brew link --overwrite --dry-run [email protected]

MacBook-Air:~ twvancamp$   brew link --overwrite [email protected]

Linking /usr/local/Cellar/[email protected]/3.9.13_1... 24 symlinks created.

MacBook-Air:~ twvancamp$ sudo python3 -m pip install configobj

Password:

VanSorry, try again.

Password:

Sorry, try again.

Password:

WARNING: The directory '/Users/twvancamp/Library/Caches/pip' or its parent 
directory is not owned or is not writable by the current user. The cache 
has been disabled. Check the permissions and owner of that directory. If 
executing pip with sudo, you should use sudo's -H flag.

DEPRECATION: Configuring installation scheme with distutils config files is 
deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621

Collecting configobj

  Downloading configobj-5.0.6.tar.gz (33 kB)

  Preparing metadata (setup.py) ... done

Collecting six

  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

Building wheels for collected packages: configobj

  Building wheel for configobj (setup.py) ... done

  Created wheel for configobj: filename=configobj-5.0.6-py3-none-any.whl 
size=34528 
sha256=f12db5aa2c496326cafbe91a6332c101be756a25e04378fc2c76cad6ae6d1890

  Stored in directory: 
/private/tmp/pip-ephem-wheel-cache-r6ps7cp6/wheels/4b/35/53/dfa4d3a4196794cb0a777a97c68dcf02b073d33de9c135d72a

Successfully built configobj

Installing collected packages: six, configobj

  DEPRECATION: Configuring installation scheme with distutils config files 
is deprecated and will no longer work in the near future. If you are using 
a Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621

  DEPRECATION: Configuring installation scheme with distutils config files 
is deprecated and will no longer work in the near future. If you are using 
a Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621

DEPRECATION: Configuring installation scheme with distutils config files is 
deprecated and will no longer work in the near future. If you are using a 
Homebrew or Linuxbrew Python, please see discussion at 
https://github.com/Homebrew/homebrew-core/issues/76621

Successfully installed configobj-5.0.6 six-1.16.0

WARNING: Running pip as the 'root' user can result in broken permissions 
and conflicting behaviour with the system package manager. It is 
recommended to use a virtual environment instead: 
https://pip.pypa.io/warnings/venv

WARNING: There was an error checking the latest version of pip.

MacBook-Air:~ twvancamp$ tar xvfz weewx-X.Y.Z.tar.gz

tar: Error opening archive: Failed to open 'weewx-X.Y.Z.tar.gz'

MacBook-Air:~ twvancamp$ 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" 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/weewx-user/cb6b3dd3-caf6-4f45-8e62-50d29a91cb4an%40googlegroups.com.

Reply via email to