代码编织梦想

已解决raise RuntimeError(“autoconf error”) RuntimeError: autoconf error

在这里插入图片描述

报错问题

粉丝群里面的一个小伙伴敲代码时发生了报错(当时他心里瞬间凉了一大截,跑来找我求助,然后顺利帮助他解决了,顺便记录一下希望可以帮助到更多遇到这个bug不会解决的小伙伴),报错信息如下:

pip 安装模块时遇到下错误,没有粘贴全,差不多都是这样。这个情况是 pip 安装模块 需要 gcc 及 python-devle 支持, ubuntu 是 python-dev ,使用Yum 安装即可。

raise RuntimeError(“autoconf error”) RuntimeError: autoconf error

ImportError: Entry point (‘console_scripts’, ‘pip2’) not found

Traceback (most recent call last):
          File "/usr/bin/pip2", line 9, in <module>
            load_entry_point('pip==8.1.1', 'console_scripts', 'pip2')()
          File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
            return get_distribution(dist).load_entry_point(group, name)
          File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2568, in load_entry_point
            raise ImportError("Entry point %r not found" % ((group, name),))
        ImportError: Entry point ('console_scripts', 'pip2') not found

在这里插入图片描述

解决方法

解决方法如下

在这里插入图片描述
yum remove python-pip

easy_install pip

福利

每周会送6本技术书籍包邮到家
由于博主时间精力有限,每天私信人数太多,没办法每个粉丝都及时回复
大家可以进社区裙或者添加博主微信
点击下方链接即可
http://t.csdn.cn/6kInJ

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_50843918/article/details/129824868

error: module version mismatch_香烟头的博客-爱代码爱编程

systemtap 进阶 执行hello word命令出错: stap -e 'probe begin { log("hello world") exit() }' 从错误来看,只是比较时间上有差异,而且差别不大,如果能不比较该时间,或许问题就解决了(其实我们前面犯过一个不大不小的错误) 通过stap -v 选项

usrp b210 linux环境搭建_yundanfengqing_nuc的博客-爱代码爱编程

第一次接触USRP B210,搭建开发环境就废了好大的劲,来来回回折腾好了几遍,多亏软件部的同事帮忙,总算把环境搭建好了。这里简单的记录一下,虽然出现的错误忘记怎么解决了,但是大概的流程还是简单记录下。 https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_

xubuntu安装rtai-5.0失败,configure: error: no linux kernel tree in /usr/src/linux_chen_xiaodong的博客-爱代码爱编程

baghnac@xubuntu-lenovo:~/code/rtai-5.0$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible in

how to fix error: django.db.utils.notsupportederror: uris not supported_mezhuangzhuang的博客-爱代码爱编程

这个问题呢,很操蛋,半个下午都在弄这个花里胡哨的问题,国内的博客,没看到有正面解决问题的,写的东西也不全,话都是一半一半的说。 看了一部分帖子,给了大概的想法,下面让我们来看一下这个问题的回答和具体的代码。 一、question: The above exception was the direct cause of the following e

checking whether we are cross compiling... configure: error: in `/tmp/pip-build-rktaki/pycrypto解决方法-爱代码爱编程

前文   公司引入了阿里云centos,在新的阿里云上安装salt的时候报错如下,由于暂未升级到python3的salt,所以是直接用的pip install salt安装,结果报错,显示configure error:

autoconf 英文手册-爱代码爱编程

1 Introduction A physicist, an engineer, and a computer scientist were discussing the nature of God. “Surely a Physicist,” said the physicist, “because early in the Creation,

工具---nvim-treesitter报Error-爱代码爱编程

因最新的nvim-treesitter需要最新的neovim,而ubuntu渠道无法更新到最新. 方法1: 固定nvim-treesitter版本 若使用vim-plug,则 Plug 'nvim-treesitter/nvim-treesitter', { 'commit': '3c07232'} 方法2:源码构建最新neovim sudo

docker.service failed because the control process exited with error code问题的解决-爱代码爱编程

今天为docker配置数据源后,重启报下面的异常: [root@i6euuez7ayueZ docker]# service docker restart Redirecting to /bin/systemctl restart docker.service Job for docker.service failed because the contr

git获取pkg-config失败fatal: read error: connection reset by peer,更改https获取地址_xjhzjut的博客-爱代码爱编程

[root@localhost ~]# git clone git://anongit.freedesktop.org/pkg-config Cloning into 'pkg-config'... fatal: read error: Connection reset by peer [root@localhost ~]# git clone https

php初级教程------------------(4)-爱代码爱编程

目录 常用系统函 1)有关输出的函数 2)有关时间的函数 3)有关数学的函数 4)有关函数的函数 错误处理 错误分类 错误代号 错误触发          错误显示设置          错误日志设置          自定义错误处理 字符串类型          字符串定义语法      

python how to fix error: django.db.utils.notsupportederror: uris not supported (转)-爱代码爱编程

原文:https://blog.csdn.net/zhuangmezhuang/article/details/82776272 Python 3.7 还有其他解决方式: https://blog.csdn.net/zd14