Quantcast
Viewing all articles
Browse latest Browse all 2815

How to fix "bad interpreter" problem when running pip3 on Ubuntu 20.04 WSL?

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.

$ python3Python 3.8.2 (default, Apr 27 2020, 15:53:34)[GCC 9.3.0] on linuxType "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.


Viewing all articles
Browse latest Browse all 2815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>