I have Cygwin on Windows10 and now I've installed Ubuntu 20.04 (WSL) and all it seems fine, except for Python3.
I've intalled python3 and pip3 but when I try to use it I get the "bad interpreter" message shown below, and is pointing to the Python3 installed on Cygwin path.
$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
$
$ pip3 install pandas
-bash: /mnt/d/d/cygwin64/bin/pip3: /usr/bin/python3.6: bad interpreter: No such file or directory
I've tried to delete/replace symlink as mentioned in this thread like this, but didn't work.
$ sudo rm /usr/bin/python3
$ sudo ln -sf /usr/bin/python3.8 /usr/bin/python3
How to fix this issue? Thanks in advance.
/usr/bin/python3.6
(note the 3.6) but You have added symlink to/usr/bin/python3.8
(note 3.8). Maybe just runsudo ln -s /usr/bin/python3.8 /usr/bin/python3.6
?