python - Win7 64-bit, installing urllib always reports an error?
代言
代言 2017-06-12 09:20:15
0
1
1028

System: win7 64-bit
python 3.6.1 32-bit

The error is as follows:

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\                                      

Please tell me how to do it?
Thank you!

代言
代言

reply all(1)
为情所困

urllibIsn’t it built-in? Why do you need to install it?

Or you can try urllib3

pip install urllib3
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template