On Thursday, January 2, 2020 at 1:16:06 PM UTC-5, Johannes Ebner wrote:
>
>
> Then I tried to install weewx but getting the following error:
>
> pi@Weewx:~/weewx-4.0.0b6 $ ./setup.py build
> Traceback (most recent call last):
>   File "./setup.py", line 21, in <module>
>     import configobj
> ImportError: No module named configobj
>
>
> Any hints?
>

you might want to be explicit about everything, at least until we get all 
the dependencies sorted out.  if you 'source' an rc file you may not get 
what you expect.

there can be a huge difference between this:

./setup.py install

and this:

python ./setup.py install

i find it best to do this:

python2 ./setup.py install

or, if you want to use python3:

python3 ./setup.py install

then be sure that you do not mix!  when you do an 'install' using setup.py, 
the shebang line in every entry point in weewx is modified to use the 
python with which you invoked it.  since some python installations are 
python2 and others are python3, it may not be obvious which one you'll get 
when you just do 'python'.  also, it gets even more complicated if you have 
multiple instances of python on the system and they were built to use 
shared libraries (i think that is the default?).  then the LD_LIBRARY_PATH 
also affects which python you'll end up getting.

m 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/d9c7dbba-3bf7-46c6-b0a0-e42fb3377d3b%40googlegroups.com.

Reply via email to