I know this sounds like a pretty basic question but i've been frustrating myself to no end for the better part of a day. Am trying to set up a python environment in Windows Subsystem for Linux and everything seems to break when I install pipenv.
Steps to reproduce:
Fresh install of Ubuntu 18.04 from windows store
sudo apt update && sudo apt upgrade
sudo apt install python3-pip
pip3 install --user pipenv
Pip outputs everything i would expect, no errors, looks like pipenv is installed.
if I try use pipenv i get
pipenv: command not found even though my local bin is in my PATH
worse than that though, pip is now broken and attempting to use pip gives me the following:
Traceback (most recent call last): File "/usr/bin/pip3", line 9, in <module> from pip import main ImportError: cannot import name 'main'
So it seems like the pipenv installation ruined the system pip by trying to install its own. I thought the
--user flag would have avoided that but anyways am stuck, any help appreciated.