By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.

标签 - python

python    2020-04-10 10:50:56    104    0    0

错误提示:

  1. # pip3 install jupyter
  2. Traceback (most recent call last):
  3. File "/usr/bin/pip3", line 9, in <module>
  4. from pip import main
  5. ImportError: cannot import name 'main'

解决方法:

by clear hash in bash:

  1. $ hash -d pip

Or in dash (sh):

  1. $ hash -r pip