I notice weewxd has a shebang for python3 and runs without an issue when using ./ ... Does setup.py need to be updated?
>From /home/weewx/bin/weewxd #!/usr/bin/python3 On Friday, August 30, 2019 at 2:17:33 PM UTC-4, Pat wrote: > > I was right, it was a newbie moment. I tried ./setup build, but running > python3 > setup.py build worked. Perhaps something to keep in mind for future end > user documentation? > > Mind you, I'm used to an apt package being available. I've only installed > from setup.py a few times, which is why I tried the ./ method. > > > > On Friday, August 30, 2019 at 2:06:48 PM UTC-4, Pat wrote: >> >> I think I'm having a bit of a "newbie" moment. I created a new Ubuntu >> 18.04.3 virtual machine. Ran apt-get update; apt-get upgrade -y; reboot. >> >> Upon reboot I tried to run the setup.py from the alpha package and I get >> this error. >> >> /usr/bin/env: ‘python’: No such file or directory >> >> I know it's because I don't have Python 2 installed. It seems I may need >> Python 2 installed to run the setup.py? Or am I missing a symbolic link? I >> guess I was expecting it to work out-of-the-box with Python 3. >> >> Thanks >> > -- 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/d30d23e3-88ab-4fbc-9ea2-156cfd6e445e%40googlegroups.com.
