error in setup.py after update to commit 4a36cbf

64 views
Skip to first unread message

P Simmons

unread,
Nov 26, 2019, 8:53:00 AM11/26/19
to weewx-development
For my own arcane reasons, I prefer to build on one machine using "make src-package", and transferring the resulting "./dist/*.gz" to another.

After a "git pull" updating to commit 4a36cbf, I get the following output:

./setup.py sdist
Traceback (most recent call last):
  File "./setup.py", line 21, in <module>
    import configobj
ModuleNotFoundError: No module named 'configobj'
make: *** [makefile:114: src-package] Error 1

Thank you,
Paul

Vince Skahan

unread,
Nov 26, 2019, 10:13:56 AM11/26/19
to weewx-development
You need to meet the requirements of weewx on your build system.   Install all the things in the prerequisites for your runtime system.  You're missing the python configobj module.

Thomas Keffer

unread,
Nov 26, 2019, 11:52:37 AM11/26/19
to P Simmons, weewx-development
The source build package uses configobj (so it can check weewx.conf for errors). So, even though you're only packaging, and not deploying, you need configobj installed on your first machine.

-tk

--
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 weewx-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/318ee8ea-ad30-4d34-bdf5-2c0a43c83769%40googlegroups.com.

P Simmons

unread,
Nov 26, 2019, 12:16:52 PM11/26/19
to weewx-development
Tom, Vince... gracias,  was unaware of the changed requirement. Yo soy un viejo.

Paul

P Simmons

unread,
Nov 26, 2019, 12:26:08 PM11/26/19
to weewx-development


On Tuesday, November 26, 2019 at 11:16:52 AM UTC-6, P Simmons wrote:
Tom, Vince... gracias,  was unaware of the changed requirement. Yo soy un viejo.

Paul



Or, perhaps my distro changed to python 3 as default... 

Vince Skahan

unread,
Nov 26, 2019, 2:25:50 PM11/26/19
to weewx-development
On Tuesday, November 26, 2019 at 9:26:08 AM UTC-8, P Simmons wrote:
On Tuesday, November 26, 2019 at 11:16:52 AM UTC-6, P Simmons wrote:
Tom, Vince... gracias,  was unaware of the changed requirement. Yo soy un viejo.

Or, perhaps my distro changed to python 3 as default... 

Dunno - run "python --version" to see.

Thomas Keffer

unread,
Nov 26, 2019, 3:02:31 PM11/26/19
to P Simmons, weewx-development
Not a changed requirement. setup.py has import configobj since at least V1.2.0. Maybe earlier. 

On Tue, Nov 26, 2019 at 9:16 AM P Simmons <mbat...@gmail.com> wrote:
Tom, Vince... gracias,  was unaware of the changed requirement. Yo soy un viejo.

Paul

--
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 weewx-developm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages