查看自己python的版本,然后下载自己版本Python的devel,比如python3.7.7就是
sudo apt-get install python3.7-dev
安装依赖库
sudo apt-get install build-essential python3-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev
查看自己python的版本,然后下载自己版本Python的devel,比如python3.7.7就是sudo apt-get install python3.7-dev安装依赖库sudo apt-get install build-essential python3-dev libssl-dev libffi-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev...
本文主要介绍了subprocess.CalledProcess
Error
:
Command
'[‘which’, ‘x86_64-conda_cos6-linux-gnu-c++’]'
解决
方案,希望能对学习python的同学们有所帮助。
1. 问题描述
2.
解决
方案
以Ubuntu系统为例,当我使用sudo pip install 下载某个包时出现了这个问题。下面来看如何
解决
方法一:很多时候程序出问题都会有错误提示,你应该往这句话向上面看一看错误。
python只是一个header,如果电脑相关依赖文件没装的话可能会出现上述问题,例如我使用
sudo pip install pyaudio出现下图问题:
安装mysqlclient的时候报了一大片红色的错误。错误信息提炼一下如下:
error
: can not find -lssl
error
: can not find -lcrypto
error
:
command
'x86_64
-linux-gnu-gcc
'
failed
with
exit
status
1.
这个错误折磨了我好长时间,经过一番折腾,Google和百度上面的每一条错误都无功...
Building wheels for collected packages: mysqlclient
Building wheel for mysqlclient (setup.py) ...
error
ERROR
:
Command
error
ed out with
exit
status
1:
command
: /ro...
ubuntu16.04 安装dmPython 报错
error
:
command
‘x86_64
-linux-gnu-gcc
‘
failed
with
exit
status
1
记一次在ubuntu中python3环境下的报错'
error
:
command
'x86_64
-linux-gnu-gcc
'
failed
with
exit
status
1 ',
解决
方案如下:
sudo apt-get install python3 python-dev python3-dev \
build-essential libssl-dev libffi-dev \
libxml2-dev libxslt1-dev zlib1g-dev \
pytho
编译uboot的时候报错:
scripts/dtc/pylibfdt/libfdt_wrap.c:149:11: fatal
error
: Python.h: 没有那个文件或目录
# include <Python.h>
^~~~~~~~~~
compilation terminated.
error
:
command
'x86_64
-linux-gnu-gcc
'
failed
with
exit
status
1
scripts/dtc/pylibfdt/Mak