参考连接方法

  File "e:pythonenvspy2scripylibsite-packagespipcompat__init__.py", line 75, in console_to_str

    spinner=spinner,

 图片 1

    line = console_to_str(proc.stdout.readline())

  Running setup.py bdist_wheel for Twisted ... error

Failed to build Twisted

Traceback (most recent call last):

  Failed building wheel for Twisted

 

参考连接方法:

 

 

用64位windows10的CMD命令安装pip install scrapy出错:

    return s.decode('utf_8')

  File "e:pythonenvspy2scripylibsite-packagespipreqreq_set.py", line 784, in install

  Running setup.py clean for Twisted

Exception:

Traceback (most recent call last):

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 30: invalid start byte

解决方法:

    prefix=options.prefix_path,

  File "e:pythonenvspy2scripylibsite-packagespipcommandsinstall.py", line 342, in run

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 30: invalid start byte

    return s.decode(sys.__stdout__.encoding)

During handling of the above exception, another exception occurred:

  File "e:pythonenvspy2scripylibsite-packagespipcompat__init__.py", line 73, in console_to_str

  File "e:pythonenvspy2scripylibsite-packagespiputils__init__.py", line 676, in call_subprocess

  File "e:pythonenvspy2scripylibsite-packagespipbasecommand.py", line 215, in main

  Running setup.py install for Twisted ... error

    status = self.run(options, args)

Installing collected packages: pycparser, cffi, asn1crypto, cryptography, pyOpenSSL, Twisted, pyasn1, pyasn1-modules, service-identity, queuelib, scrapy

  File "e:pythonenvspy2scripylibsite-packagespipreqreq_install.py", line 878, in install

    **kwargs

返回列表