简体   繁体   中英

Why can I not use any PIP commands? Mac & Conda

Pip Commands suddenly not working...

I have used Python for various projects in the past. I suspected that it might be a path issue, but my pwd outputs Users/MyUserName/ .

When I enter even a basic PIP command such as pip --version in the console, I get the following error:

Traceback (most recent call last):
  File "/Users/MyUserName/anaconda3/bin/pip", line 11, in <module>
    sys.exit(main())
TypeError: 'module' object is not callable

Appreciate all the responses! Turns out it had to do with me having Python both within and without the Conda "shell". Using conda in place of pip seems to work!

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM