python - Win7 64-Bit, die Installation von urllib meldet immer einen Fehler?
代言
代言 2017-06-12 09:20:15
0
1
974

System: Win7 64-Bit
Python 3.6.1 32-Bit

Der Fehler ist wie folgt:

D:\jianguoyun\pythonProgrames3                                                    
λ pip3 install urllib                                                             
Collecting urllib                                                                 
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/da/97/7ed06ae96106088e13e
88fd6f91c17fb58786d705b851f82c991664b08db/urllib-1.21.1.tar.gz (226kB)            
    100% |████████████████████████████████| 235kB 1.4MB/s                         
    Complete output from command python setup.py egg_info:                        
    Traceback (most recent call last):                                            
      File "<string>", line 1, in <module>                                        
      File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-8yb3sik_\urllib\setup.p
y", line 191                                                                      
        s.connect((base64.b64decode(rip), 017620))                                
                                               ^                                  
    SyntaxError: invalid token                                                    
                                                                                  
    ----------------------------------------                                      
Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\A
ppData\Local\Temp\pip-build-8yb3sik_\urllib\                                      

Bitte sehen Sie, wie es geht?
Danke!

代言
代言

Antworte allen(1)
为情所困

urllib不是自带的吗? 为什么还要装?

或者你试下urllib3

pip install urllib3
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!