Take a look at the (beta version) of the instructions for setup.py installations. You can find it at /home/weewx/docs/setup.htm. You must use pip, which will install setuptools for you.
-tk On Mon, Mar 16, 2020 at 3:11 PM Ξ <[email protected]> wrote: > So I currently have 4.0.0b14, I tried installing belchertown-1.0.1 and I > got the following: > > [root@alarmpi weewx]# /home/weewx/bin/wee_extension --install > weewx-belchertown-release-1.0.1.tar.gz > Request to install 'weewx-belchertown-release-1.0.1.tar.gz' > Extracting from tar archive weewx-belchertown-release-1.0.1.tar.gz > Traceback (most recent call last): > File "/home/weewx/bin/wee_extension", line 88, in <module> > main() > File "/home/weewx/bin/wee_extension", line 80, in main > ext.install_extension(options.install) > File "/home/weewx/bin/weecfg/extension.py", line 116, in > install_extension > self.tmpdir, self.logger) > File "/home/weewx/bin/weecfg/__init__.py", line 1645, in extract_tar > tar_archive = tarfile.open(filename, mode='r') > File "/usr/lib/python2.7/tarfile.py", line 1680, in open > raise ReadError("file could not be opened successfully") > tarfile.ReadError: file could not be opened successfully > > > > I thought of upgrading to 4.0.0b16 and this is what happened: > [root@alarmpi weewx-4.0.0b16]# ./setup.py build > Traceback (most recent call last): > File "./setup.py", line 31, in <module> > from setuptools import setup, find_packages > ImportError: No module named setuptools > > > Linux alarmpi 4.9.61-1-ARCH #1 SMP Sun Nov 12 00:26:55 UTC 2017 armv6l > GNU/Linux > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/d7037cd5-6dc1-41b8-8b97-7ef050375772%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/d7037cd5-6dc1-41b8-8b97-7ef050375772%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEAuvz2Mj48q8x-bKp9-HcadrDB59z5s31azYTgDYopJJw%40mail.gmail.com.
