Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 为什么是;pip3——帮助”;弱点?_Python_Python 3.x_Jupyter Notebook_Ipython - Fatal编程技术网

Python 为什么是;pip3——帮助”;弱点?

Python 为什么是;pip3——帮助”;弱点?,python,python-3.x,jupyter-notebook,ipython,Python,Python 3.x,Jupyter Notebook,Ipython,我在崩溃后重建一个系统:Ubuntu 16.04LTS $pip3 with any cmnd-line option fails as follows: Traceback (most recent call last): File "/usr/local/bin/pip3", line 11, in <module> sys.exit(main()) TypeError: 'module' object is not callable $pip3带有任何cmnd行

我在崩溃后重建一个系统:Ubuntu 16.04LTS

$pip3 with any cmnd-line option fails as follows:

Traceback (most recent call last):
  File "/usr/local/bin/pip3", line 11, in <module>
    sys.exit(main())
TypeError: 'module' object is not callable
$pip3带有任何cmnd行选项失败,如下所示:
回溯(最近一次呼叫最后一次):
文件“/usr/local/bin/pip3”,第11行,在
sys.exit(main())
TypeError:“模块”对象不可调用
FWIW,我的最终目标是让iPython升级到使用Python 3.6+,然后重新安装Jupyter


建议?

我遇到了同样的问题,并为自己解决了:

python3 -m pip uninstall pip

尝试执行
pip3卸载pip3
,然后重新安装pip,结果相同。(相同的错误消息。)iPython不“使用”或“升级到”Python版本。您可以将iPython安装到特定版本的Python中。。。那么,
python3-m pip--help
显示了什么呢?pip帮助页面的内容:(/usage,/commands,/general options)。听起来你的
pip3
脚本可能与你的实际pip版本不同步。在走了几个死路后确认。谢谢