Hello,

First regarding pyephem: you can probably safely ignore this. Here is a 
quote from the weewx documentation:

# optional for extended almanac information:sudo pip install pyephem

So unless you need extended almanac information, skip it.

Then, regarding the usb.core issue. This is because the packages installed 
by apt are prehistoric ones, so you are probably  still using pyusb 0.4. 
You can check with
pip list --outdated

to check just how far behind you are... And by the way, the errors that you 
are getting when using pip to install packages are probably caused by the 
fact that your version of pip must also be outdated. Try to upgrade it 
first (but given your issues, not sure that you can do it simply with pip 
install --upgrade pip).

The solution is NOT to edit the driver, but simply to upgrade pyusb:
pip install --upgrade pyusb

Let's see if you still get some errors after this.

NOTE: in general, I always find that it is best to install the python 
packages using pip rather than to rely on the distribution packages. I 
would remove python-configobj python-cheetah python-serial python-usb and 
reinstall all the modules using pip: I don't think that mixing the two 
installation methods is really safe: there is always the risk that one 
might break what the other did.

NOTE2: if you are working with a new database, you don't need to upgrade 
the database schema. So my suggestion is that once you have confirmed that 
the driver is working properly, delete the existing database to let weewx 
create a new one from scratch with the appropriate schema.

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to