Yokozuna59/auto-registrar

[Bug]: `./scripts/install.sh` unable to detect the actual Python3 version in WSL

Opened this issue · 2 comments

Description

In short words, Python3.8 is installed on my machine, however, ./scripts/install.sh shows that my Python3 version is lower than 3.7. Probably it detected the Python2 version, which is under python name instead of python3.

Steps to reproduce

$ ./scripts/install.sh

Screenshots and recordings

image

Source

Source Code

Auto Registrar Version

LOCAL_VERSION = "0.8.1"

Python Version

3.8

OS Platform or Distribution

Ubuntu 20.04.5 LTS

Additional context

No response

Code of Conduct

  • I agree to follow the Auto Registrar Code of Conduct

Weird, maybe the python's windows version doesn't WSL's one.

Could you please run the following command and share the output:

python3 --version | cut -d " " -f 2 | cut -d "." -f 1,2

Sure,

$ python3 --version | cut -d " " -f 2 | cut -d "." -f 1,2
3.8