您现在的位置是:主页 > news > 上海做公司网站/说到很多seo人员都转行了
上海做公司网站/说到很多seo人员都转行了
admin2025/5/19 8:40:27【news】
简介上海做公司网站,说到很多seo人员都转行了,便宜的自助建站,儋州网站建设Pynacl安装报错:Running setup.py install for pynacl … error & error: command ‘gcc’ failed with exit status 1 解决记录 报错情况 原因分析: Pynacl安装需要python的devel环境,所以即使你安装过了gcc,他仍会报这个错…
上海做公司网站,说到很多seo人员都转行了,便宜的自助建站,儋州网站建设Pynacl安装报错:Running setup.py install for pynacl … error & error: command ‘gcc’ failed with exit status 1 解决记录
报错情况 原因分析:
Pynacl安装需要python的devel环境,所以即使你安装过了gcc,他仍会报这个错…
Pynacl安装报错:Running setup.py install for pynacl … error & error: command ‘gcc’ failed with exit status 1 解决记录
报错情况
原因分析:
Pynacl安装需要python的devel环境,所以即使你安装过了gcc,他仍会报这个错
我们所要做的是安装python的devel环境
解决方案:
这样来看,解决方法就清晰了:
①如果你是用Python,请执行
yum install python-devel
如果你用的是Python3,请执行
yum -y install python3-devel
最后给大家看一下解决后的情况
python的devel环境安装好之后,我们就可以再次尝试安装Pynacl了
pip install pynacl
or
pip3 install pynacl
来看看再次执行的结果
[root@lsssssswQ PyNaCl-1.4.0]# pip3 install pynacl
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pynaclUsing cached https://files.pythonhosted.org/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz
Requirement already satisfied: cffi>=1.4.1 in /usr/lib64/python3.6/site-packages (from pynacl)
Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages (from cffi>=1.4.1->pynacl)
Installing collected packages: pynaclRunning setup.py install for pynacl ... done
Successfully installed pynacl-1.5.0
至此,解决报错,成功安装Pynacl