I thought I had. It was one of the install pip ... commands. Trying again I get this:
WeatherMini:/ dsbach$ sudo pip install Cheetah Password: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting Cheetah Downloading https://files.pythonhosted.org/packages/cd/b0/c2d700252fc251e91c08639ff41a8a5203b627f4e0a2ae18a6b662ab32ea/Cheetah-2.4.4.tar.gz (190kB) |████████████████████████████████| 194kB 2.3MB/s Collecting Markdown>=2.0.1 Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl (87kB) |████████████████████████████████| 92kB 7.1MB/s Collecting setuptools>=36 Downloading https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl (583kB) |████████████████████████████████| 583kB 8.2MB/s Building wheels for collected packages: Cheetah Building wheel for Cheetah (setup.py) ... done Created wheel for Cheetah: filename=Cheetah-2.4.4-cp27-cp27m-macosx_10_11_intel.whl size=179374 sha256=19991a600a0fef09cf0603ceda5d05a7975e2e1c47fd3ca1d9d98b24f6231dd5 Stored in directory: /Users/dsbach/Library/Caches/pip/wheels/27/8d/d0/7cee58a5a59f3c305cb1117416530229231440293e565030ff Successfully built Cheetah Installing collected packages: setuptools, Markdown, Cheetah Found existing installation: setuptools 1.1.6 Uninstalling setuptools-1.1.6: ERROR: Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', '/private/tmp/pip-uninstall-9UwGWW/__init__.py', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-9UwGWW/__init__.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', '/private/tmp/pip-uninstall-9UwGWW/__init__.pyc', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-9UwGWW/__init__.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', '/private/tmp/pip-uninstall-9UwGWW/markers.py', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-9UwGWW/markers.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', '/private/tmp/pip-uninstall-9UwGWW/markers.pyc', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-9UwGWW/markers.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', '/private/tmp/pip-uninstall-9UwGWW', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-9UwGWW'")] I don't know what to make the last part of this. David On Saturday, December 28, 2019 at 5:02:27 PM UTC-8, Thomas Keffer wrote: > > Did you install cheetah? > > On Sat, Dec 28, 2019 at 5:59 PM David Bach <[email protected] <javascript:>> > wrote: > >> weewx is running - files going into public_html and manager writing to >> the database (catching up). However, I'm getting this message: >> >> 12/28/19 4:50:42.759 PM sudo[713]: dsbach : TTY=ttys000 ; >> PWD=/Users/Shared/weewx ; USER=root ; COMMAND=/bin/launchctl load >> /Library/LaunchDaemons/com.weewx.weewxd.plist >> 12/28/19 4:55:15.217 PM weewx[715]: manager: Added record 2019-12-28 >> 16:55:00 PST (1577580900) to database 'weewx.sdb' >> 12/28/19 4:55:15.222 PM weewx[715]: manager: Added record 2019-12-28 >> 16:55:00 PST (1577580900) to daily summary in 'weewx.sdb' >> 12/28/19 4:55:15.276 PM weewx[715]: reportengine: Unable to instantiate >> generator 'weewx.cheetahgenerator.CheetahGenerator' >> 12/28/19 4:55:15.276 PM weewx[715]: **** No module named >> Cheetah.Template >> 12/28/19 4:55:15.278 PM weewx[715]: **** Generator ignored >> 12/28/19 4:55:21.701 PM weewx[715]: reportengine: Unable to instantiate >> generator 'weewx.cheetahgenerator.CheetahGenerator' >> 12/28/19 4:55:21.701 PM weewx[715]: **** No module named >> Cheetah.Template >> 12/28/19 4:55:21.703 PM weewx[715]: **** Generator ignored >> >> Ideas? >> >> David >> >> On Saturday, December 28, 2019 at 3:49:42 PM UTC-8, Thomas Keffer wrote: >>> >>> As Gary notes, the problem is that your configuration file, weewx.conf, >>> was not configured to use the Vantage driver properly. >>> >>> How did you do the install? The easiest is to follow the directions for >>> MacOS <http://www.weewx.com/docs/macos.htm>. This will prompt you for >>> which driver you want to use. Just indicate the Vantage driver, and the >>> setup utility will take care of setting up weewx.conf. >>> >>> -tk >>> >>> On Sat, Dec 28, 2019 at 1:25 PM David Bach <[email protected]> wrote: >>> >> I'm attempting to install weewx on a Mac mini that has been running wview >>>> for years. The installation of weewx went relatively smoothly. I copied >>>> the >>>> database from wview to weewx and double-checked the configuration files. >>>> >>>> I start weewx and receive: >>>> >>>> WeatherMini:weewx dsbach$ ./bin/weewxd weewx.conf >>>> Traceback (most recent call last): >>>> File "./bin/weewxd", line 64, in <module> >>>> weewx.engine.main(options, args) >>>> File "/Users/Shared/weewx/bin/weewx/engine.py", line 888, in main >>>> engine = engine_class(config_dict) >>>> File "/Users/Shared/weewx/bin/weewx/engine.py", line 72, in __init__ >>>> self.setupStation(config_dict) >>>> File "/Users/Shared/weewx/bin/weewx/engine.py", line 90, in >>>> setupStation >>>> driver = config_dict[stationType]['driver'] >>>> File "/Library/Python/2.7/site-packages/configobj.py", line 554, in >>>> __getitem__ >>>> val = dict.__getitem__(self, key) >>>> KeyError: 'Vantage' >>>> >>>> The wview installation required a serial to USB converter by Silicon >>>> Labs that shows up in /dev as /tty.SLAB_USBtoUART. Two others I tried >>>> didn't work back when I installed wview. >>>> >>>> I used screen to attempt to connect to this USB port and it was >>>> successful. I attempted to connect to /dev/ttyUSB0 and ttyUSB1 without >>>> success (there are no such devs listed). So I believe that the former is >>>> the correct port. But how do I tell weewx to look there for the loop data. >>>> >>>> I don't know how to make sense our of the section about udev and >>>> creating an alias in the documentation. >>>> >>>> My installation of weewx is straightforward. I'm just trying to replace >>>> wview with weewx at http://hillhousehome.net/weewx. >>>> >>>> MacOS El Capitan, MacMini, weewx 3.9.2, final version of wview, >>>> >>>> I'm not unfamiliar with weewx - I have a working installation on >>>> another VantagePro 2 weather station on a Raspberry Pi. >>>> >>>> I know the basics of linux command line, but often I come across >>>> situations I cannot understand, such as writing udev rules. >>>> >>>> -- >>>> 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/f20f7e94-8271-488e-830e-2a4f21838f5d%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/f20f7e94-8271-488e-830e-2a4f21838f5d%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/3f42c3b7-8433-40ef-b24f-928b977fee2f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/3f42c3b7-8433-40ef-b24f-928b977fee2f%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > -tk > -- 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/f65118ad-0c6c-4ac6-af54-01868ef7733d%40googlegroups.com.
