Failed install of Cheetah on Mac Catalina

58 views
Skip to first unread message

Gary Strand

unread,
Feb 9, 2021, 11:04:34 PM2/9/21
to weewx-user

I think the problem is related to Macs being case-insensitive, so under

/Users/Shared/weewx/bin

There's already a directory called "Cheetah" so when 

prompt> sudo -H python3 -m pip install Cheetah3
Collecting Cheetah3
Using cached Cheetah3-3.2.6-cp39-cp39-macosx_10_15_x86_64.whl
Installing collected packages: Cheetah3
ERROR: Could not install packages due to an OSError: [Errno 1] Operation not permitted: '/Users/Shared/weewx/bin/cheetah'

Any suggestions?


Thanks!

Graham Eddy

unread,
Feb 9, 2021, 11:53:47 PM2/9/21
to weewx...@googlegroups.com
mine are case sensitive

On 10 Feb 2021, at 3:04 pm, Gary Strand <w.gary...@gmail.com> wrote:

related to Macs being case-insensitive

Gary Strand

unread,
Feb 10, 2021, 12:00:36 AM2/10/21
to weewx-user
Actually, it's the file system that needs to be configured to be case-sensitive. Unfortunately, mine isn't, and the solution is to reformat the drive as case-sensitive.

I'd rather not.

mwall

unread,
Feb 10, 2021, 7:59:10 AM2/10/21
to weewx-user
what directory are you in when you do the pip install?

as a general rule, you should not do a pip install (or a 'python -m ...' install) when you are in a directory that has a setup.cfg in it.  for example, do not do the install when you are in the weewx source tree.  if you do, then pip installs into the weewx destination, not the python destination.

m

Gary Strand

unread,
Feb 10, 2021, 1:58:58 PM2/10/21
to weewx-user

Thanks - that got around the failure to install cheetah but now I'm getting a "no backend" error.

I'll investigate - thanks for the tip!

Gary Strand

unread,
Feb 10, 2021, 1:58:59 PM2/10/21
to weewx-user
Reply all
Reply to author
Forward
0 new messages