相关疑难解决方法(0)

curl for get-pip.py does not work: Syntax Error

When I try to run:

[root@pex appliance_ui]# curl https://bootstrap.pypa.io./get-pip.py | python
Run Code Online (Sandbox Code Playgroud)

It returns:

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1603k  100 1603k    0     0  7006k      0 --:--:-- --:--:-- --:--:-- 13.2M
Traceback (most recent call last):
  File "<stdin>", line 20649, in <module>
  File "<stdin>", line 197, in main
  File "<stdin>", line 82, in bootstrap
  File "/tmp/tmpH39pcu/pip.zip/pip/_internal/__init__.py", line 42, in <module>
  File "/tmp/tmpH39pcu/pip.zip/pip/_internal/cmdoptions.py", line 16, in <module>
  File "/tmp/tmpH39pcu/pip.zip/pip/_internal/index.py", …
Run Code Online (Sandbox Code Playgroud)

curl pip python-2.6 centos6 python-3.5

4
推荐指数
1
解决办法
7148
查看次数

标签 统计

centos6 ×1

curl ×1

pip ×1

python-2.6 ×1

python-3.5 ×1