> On Mar 3, 2018, at 2:00 PM, Thomas Keffer <tkef...@gmail.com> wrote:
> 
> The Mac is an "unsupported platform," but I'm sure we can get it working. 
> 
> First, see if you already have a copy of PIL or Pillow. From the command line:
> 
> python -c "import PIL”
Had no output. I’ll assume that is good.

> 
> If that gives you an import error, try this
> 
> python -c "import Image"
> 
> If either of these work, then you are probably OK, and do not need to install 
> Pillow. I say "probably," because it's possible your previous attempt to 
> install using "install" resulted in a corrupted copy being left behind. We'll 
> see.
> 
> If neither of these two command lines work, then you will need to install 
> Pillow. Use pip to do so. Your system probably already has pip, but if it 
> doesn't see the pip website <https://pip.pypa.io/en/stable/installing/> for 
> instructions on how to install it.
> 
> With pip in hand, install Pillow:
> 
> pip install pillow
> 
> As for your second error, "KeyError", that looks like it may be caused by an 
> incomplete install. Did you use setup.py to install? Normally, the weewx 
> configuration file comes with a station type of "unspecified". That is then 
> replaced by setup.py with your actual hardware type. This second step somehow 
> did not get completed.
> 
> Try deleting everything and trying again, this time making sure you let the 
> setup.py install run to completion.

Deleting everything. I’m good with that. Where is this everything you refer to? 
8^)
I’m well versed in all things Unix and programming, so being technical is OK 
with me. (My name appears in every iPhone shipped, for instance).

        David

> 
> Hope this gets you started.
> 
> -tk
> 
> On Sat, Mar 3, 2018 at 1:42 PM, David <da...@kdbarto.org 
> <mailto:da...@kdbarto.org>> wrote:
> I’m just following the instructions from the weewx website. At this point it 
> fails to launch.
> 
> What I read on the Wview mailing list was that this was a good replacement 
> and was actively developed and maintained, unlike wview.
> 
> I guess I just need to know what to do ‘next’. Is there an un-install I can 
> try to reset, and then try again?
> 
>       David
> 
>> On Mar 3, 2018, at 11:46 AM, Thomas Keffer <tkef...@gmail.com 
>> <mailto:tkef...@gmail.com>> wrote:
>> 
>> This seems to be a problem with the Pillow install, and not with WeeWX.
>> 
>> First, are you sure you need to install Pillow? Most Python installations 
>> come with a version of PIL or Pillow.
>> 
>> Second, I have generally had better luck installing things with pip, rather 
>> than BSD install or easy_install.
>> 
>> -tk
>> 
>> 
>> On Sat, Mar 3, 2018 at 10:38 AM, David Barto <kdba...@gmail.com 
>> <mailto:kdba...@gmail.com>> wrote:
>> wviewd_vpro is consuming 75% of the cpu. So I thought I’d give weewx a shot.
>> 
>> Installing from their instructions shows the following problem, and since I 
>> don’t know Python that well I though I’d ask if this is ‘OK’.
>> After doing this, trying it again shows that it is installed according to 
>> the installer program.
>> 
>> Anyone here have any answers about these problems?
>> 
>>      David
>> 
>> 
>> MacOS 10.11.6
>> 
>> marvin:Desktop$ python -V
>> Python 2.7.10
>> 
>> sudo install Pillow
>> 
>> Adding Pillow 5.0.0 to easy-install.pth file
>> 
>> Installed 
>> /Library/Python/2.7/site-packages/Pillow-5.0.0-py2.7-macosx-10.11-intel.egg
>> Processing dependencies for Pillow
>> Finished processing dependencies for Pillow
>> Exception in thread Thread-1:
>> Traceback (most recent call last):
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
>>  line 810, in __bootstrap_inner
>>     self.run()
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
>>  line 763, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py",
>>  line 330, in _handle_workers
>>     debug('worker handler exiting')
>> TypeError: 'NoneType' object is not callable
>> 
>> Exception TypeError: TypeError("'NoneType' object does not support item 
>> deletion",) in <Finalize object, dead> ignored
>> Exception in thread Thread-2:
>> Traceback (most recent call last):
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
>>  line 810, in __bootstrap_inner
>>     self.run()
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py",
>>  line 763, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File 
>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py",
>>  line 366, in _handle_tasks
>>     debug('task handler got sentinel')
>> TypeError: 'NoneType' object is not callable
>> 
>> 
> 
> 

Reply via email to