在安装过程中我一直卡在Building wheels for collected package:cryptography, cffi, pycparser ? 下面是我的解决办法: 1、首先出现这个问题是因为在安装cryptography之前,缺少必要的包,这里我采取cryptography, cffi, pycparser单独安装的策略 1)、安装 pycparser : pip3 install pycparser ? 还是一直卡在Building wheels for collected package:cryptography, cffi, pycparser 7)、重新安装 pycparser: pip3 install pycparser ?
Collecting pycparser (from cffi>=1.7; platform_python_implementation ! = "PyPy"->cryptography>=2.1.4->pyOpenSSL->scrapy) Downloading pycparser-2.18.tar.gz (245kB) 100% constantly, incremental, six, attrs, Automat, hyperlink, Twisted, cssselect, w3lib, parsel, asn1crypto, pycparser PyDispatcher ... done Running setup.py install for Twisted ... done Running setup.py install for pycparser hyperlink-18.0.0 incremental-17.5.0 parsel-1.4.0 pyOpenSSL-17.5.0 pyasn1-0.4.2 pyasn1-modules-0.2.1 pycparser
上面的pyrealsense里面出现一个很有趣的东西; https://github.com/eliben/pycparser 一个用Python写的解析C语言的库,有趣嗷 from __future from pycparser import parse_file, c_generator def translate_to_c(filename): """ Simply use the c_generator 这里有点技术细节,pyrealsense使用pycparser用于从librealsense API,提取所需的枚举和结构的定义用Cython为librealsense API在包裹所述内联的函数,和numpy
sudo reboot 这个时候一直卡在Building wheels for collected package:cryptography, cffi, pycparser。 解决办法参考: 解决安装PyMySQL一直停在Building wheels for collected package:cryptography, cffi, pycparser的问题 过程也是心酸
python27\lib\site-packages\setuptools-2 4.0.3-py2.7.egg (from cryptography>=1.1->paramiko) Collecting pycparser (from cffi>=1.4.1->cryptography>=1.1->paramiko) Downloading pycparser-2.14.tar.gz (223kB) 100% |████████████████████████████████| 225kB 13kB/s Installing collected packages: pycparser, cffi, idna , enum34, pyasn1, six, ipaddress, cryptography, paramiko Running setup.py install for pycparser ...
flask_test/lib/python3.7/site-packages (from cryptography==3.4.8) (1.15.1) Requirement already satisfied: pycparser /python3.7/site-packages (from cryptography>=3.3->paramiko) (1.15.1) Requirement already satisfied: pycparser
80cf681cd376834b442af8af48e6f17b4197d20b7255aa2f76d8d93a9e44/cmake-3.20.5-py2.py3-none-win_amd64.whl] ====== ===== [pycparser 下载失败,请下载对应的whl文件至任意目录,在该目录下打开命令提示符(cmd)执行“pip install pycparser-2.21-py2.py3-none-any.whl”即可, 下载链接:https /files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser
代码的外部函数接口) 11、asn1crypto-0.22.0.tar.gz (快速的ASN一个解析器和序列化器) 12、idna-2.5.tar.gz (应用程序中的国际化域名(IDNA)) 13、pycparser 代码的外部函数接口) 11、asn1crypto-0.22.0.tar.gz (快速的ASN一个解析器和序列化器) 12、idna-2.5.tar.gz (应用程序中的国际化域名(IDNA)) 13、pycparser
6、最快的Python函数来分解字符串[6] 有趣的项目、工具和库 1、PyCParser[7] 用Python编写的C解析器和解释器,带有自动ctypes接口生成 2、MyHDL[8] 使用Python [6] 最快的Python函数来分解字符串: https://www.peterbe.com/plog/fastest-python-function-to-slugify-a-string [7] PyCParser : https://github.com/albertz/PyCParser [8] MyHDL: http://www.myhdl.org/ [9] NeMo: https://github.com/
Result of Poetry gevent together with greenlet, cffi, pycparser, zope.event, zope.interface are pinned Further, if I run poetry add pycparser after that, pycparser can be installed correctly.
80cf681cd376834b442af8af48e6f17b4197d20b7255aa2f76d8d93a9e44/cmake-3.20.5-py2.py3-none-win_amd64.whl] ====== ===== [pycparser 下载失败,请下载对应的whl文件至任意目录,在该目录下打开命令提示符(cmd)执行“pip install pycparser-2.21-py2.py3-none-any.whl”即可, 下载链接:https /files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser
Flask-WTF (0.14.2) idna (2.7) itsdangerous (0.24) Jinja2 (2.10) Mako (1.0.7) MarkupSafe (1.0) pip (9.0.1) pycparser
activate (venv) $ pip install ansible """ 中间的安装日志就省略了 """ Successfully built ansible PyYAML MarkupSafe pycparser Installing collected packages: MarkupSafe, jinja2, PyYAML, pycparser, cffi, six, pynacl, asn1crypto, 0.24.0 bcrypt-3.1.4 cffi-1.11.5 cryptography-2.3.1 idna-2.7 jinja2-2.10 paramiko-2.4.2 pyasn1-0.4.4 pycparser
████| 112kB 483kB/s Installing collected packages: vine, amqp, MarkupSafe, Jinja2, PyYAML, pyasn1, pycparser forMarkupSafe ... done Running setup.py install forPyYAML ... done Running setup.py install for pycparser mysqlclient-1.3.12 olefile-0.44 openapi-codec-1.3.2 oss2-2.4.0 paramiko-2.4.0 passlib-1.7.1 pyasn1-0.4.2 pycparser
Successfully built dockerpty docopt pyrsistent Installing collected packages: pycparser, cffi, zipp,
orderedmultidict 1.0.1 packaging 24.2 pillow 11.0.0 pip 24.2 pycparser
# cd pbr-5.4.5# python setup.py install 安装lockfile # cd lockfile-0.12.2# python setup.py install 安装pycparser # cd pycparser-2.20# python setup.py install 安装cffi # cd cffi-1.14.1# python setup.py install 安装six
1.0mysqlclient==1.3.12olefile==0.44openapi-codec==1.3.2paramiko==2.4.0passlib==1.7.1Pillow==4.3.0pyasn1==0.4.2pycparser
cssselect-1.0.1 idna-2.2 lxml-3.7.2 parsel-1.1.0 pyOpenSSL-16.2.0 pyasn1-0.1.9 pyasn1-modules-0.0.8 pycparser
255 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 255.1/255.1 kB 26.4 kB/s eta 0:00:00 Collecting pycparser (from cffi->cmsis-pack-manager<1.0,>=0.5.2->pyocd) Downloading pycparser-2.21-py2.py3-none-any.whl wcwidth, sortedcontainers, pyelftools, intelhex, appdirs, zipp, typing-extensions, six, pyyaml, pyusb, pycparser intervaltree-3.1.0 lark-1.1.7 libusb-package-1.0.26.2 natsort-8.4.0 prettytable-3.8.0 psutil-5.9.5 pycparser