Very much a newbie question but it's something that I've come across a few times now... I'm working through a python textbook and it tells me to check which version of pip is installed and has the following command:
$ python3 -m pip --version
Presumably I should be running this in bash. If so, which folder should I be in? I have anaconda installed if that makes any difference.
(I can check in python which version I have by running pip --version I'm just wondering why the above isn't working)
Thanks in advance.
It depends where your Anaconda installation is. You should normally be in your user folder. A typical output might go like this:
python3 -m pip --version
# pip 19.3.1 from /home/john/anaconda3_501/lib/python3.6/site-packages/pip (python 3.6)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.