Your PYTHONPATH is non-standard, so something got messed up with the
implementation of Python on your machine. It is missing paths like
/usr/lib/python2.7/dist-packages which is normally where configobj is
installed.

The path is usually set by the module site.py, nominally located in
/usr/lib/python2.7/site.py. You can see what it does by running it directly:

python -m site

Any reason why site.py would be non-standard?

-tk



On Fri, Dec 15, 2017 at 3:00 PM, Eric Gammeter <n8a...@gmail.com> wrote:

> NP-  this is a clean install-  so I don't have anything to loose by
> reinstalling Debian 9!  It turns out to be good instruction/learning for
> me.  No need to pursue this issue. Thank you much!  /Eric G.
>
> On Friday, December 15, 2017 at 2:17:44 PM UTC-5, Eric Gammeter wrote:
>
>> Installing WEEWX 3.8.0 tar.gz onto my Debian 9 box and I get the
>> following error:
>>
>> I do not know how to proceed.  Any input?
>>
>> /Thanks much...
>>
>> root@debian:~# apt-get install weewx
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Suggested packages:
>>   sqlite ftp python-dev python-pip
>> The following NEW packages will be installed:
>>   weewx
>> 0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
>> Need to get 1,205 kB of archives.
>> After this operation, 4,981 kB of additional disk space will be used.
>> Get:1 http://weewx.com/apt squeeze/main all weewx all 3.8.0-1 [1,205 kB]
>> Fetched 1,205 kB in 2s (478 kB/s)
>> Preconfiguring packages ...
>> Selecting previously unselected package weewx.
>> (Reading database ... 158328 files and directories currently installed.)
>> Preparing to unpack .../archives/weewx_3.8.0-1_all.deb ...
>> Unpacking weewx (3.8.0-1) ...
>> Setting up weewx (3.8.0-1) ...
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/wee_config", line 14, in <module>
>>     from weecfg.config import ConfigEngine
>>   File "/usr/share/weewx/weecfg/__init__.py", line 18, in <module>
>>     import configobj
>> ImportError: No module named configobj
>> dpkg: error processing package weewx (--configure):
>>  subprocess installed post-installation script returned error exit status
>> 1
>> Processing triggers for systemd (232-25+deb9u1) ...
>> Errors were encountered while processing:
>>  weewx
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to