Failed building wheel for python-ldap

 

sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\req\req_set.py”,
line 784, in install

源stackoverflow

    status = self.run(options, args)

  Failed building wheel for Twisted

  Running setup.py bdist_wheel for Twisted … error

During handling of the above exception, another exception occurred:

https://stackoverflow.com/questions/45830222/a-error-happened-while-pip-was-installing-scrapy

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\utils\__init__.py”,
line 676, in call_subprocess

  Running setup.py clean for Twisted

化解措施:

    **kwargs

亚洲必赢app,    line = console_to_str(proc.stdout.readline())

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

参考连接格局:

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\req\req_install.py”,
line 878, in install

 亚洲必赢app 1

Failed to build Twisted

Exception:

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\basecommand.py”,
line 215, in main

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\compat\__init__.py”,
line 73, in console_to_str

用60人windows10的CMD命令安装pip install scrapy出错:

    spinner=spinner,

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\compat\__init__.py”,
line 75, in console_to_str

  File
“e:\python\envs\py2scripy\lib\site-packages\pip\commands\install.py”,
line 342, in run

 

    return s.decode(sys.__stdout__.encoding)

Traceback (most recent call last):

    prefix=options.prefix_path,

    return s.decode(‘utf_8’)

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

  Running setup.py install for Twisted … error

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

 

Traceback (most recent call last):

发表评论

电子邮件地址不会被公开。 必填项已用*标注

网站地图xml地图