[英]Why can I not use any PIP commands? Mac & Conda
我過去曾在各種項目中使用過 Python。 我懷疑這可能是路徑問題,但我的pwd
輸出Users/MyUserName/
。
pip --version
時,我收到以下錯誤:Traceback (most recent call last):
File "/Users/MyUserName/anaconda3/bin/pip", line 11, in <module>
sys.exit(main())
TypeError: 'module' object is not callable
感謝所有的回應! 事實證明,這與我在 Conda “shell”內外都擁有 Python 有關系。 使用conda
代替pip
似乎有效!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.