当前位置:网站首页>No module named yum
No module named yum
2022-07-28 06:01:00 【Programmer awei】
Question why
Generally, the reason for this is yum And python The version of does not correspond to , because yum yes python Module , And there are multiple versions in your system python, So it will not correspond to
resolvent
So modify yum Configuration of , Modify file : vim /usr/bin/yum
# modify python Interpreter version
#!/usr/bin/python => #!/usr/bin/python2.7in addition We need to modify urlgrabber-ext-down Used interpreter , And yum Of python Unified version
vi /usr/libexec/urlgrabber-ext-down
#!/usr/bin/python => #!/usr/bin/python2.7边栏推荐
猜你喜欢

使用pycharm创建虚拟环境

DOM模型的相关概念和操作

Use Python to encapsulate a tool class that sends mail regularly

At the moment of the epidemic, online and offline travelers are trapped. Can the digital collection be released?

Tornado初识

NSCTF-web题目writeup

regular expression

话题功能实现

1:为什么数据库要分库分表

Community epidemic access management system based on PHP (PHP graduation design)
随机推荐
Books - Sun Tzu's art of war
MySQL trigger
MySQL select statement query; Operator after class practice
7月7日国风廿四节气《小暑》来袭!!附..合..成..预..告..
ctfshow单身狗 -- web
Spark中的Structured Streaming
Sales notice: on July 22, the "great heat" will be sold, and the [traditional national wind 24 solar terms] will be sold in summer.
进程线程协程的区别
【七】redis缓存与数据库数据一致性
数字藏品“大乱斗”,千亿市场变局将至?
数字藏品的生意没那么好做
DOM模型的相关概念和操作
[interview question] anti shake and throttling
Acquisition of student status management system based on PHP (PHP graduation design)
Sorting and paging, multi table query after class exercise
(php毕业设计)基于thinkphp5小区物业管理系统
文件上传漏洞总结
数字藏品成文旅产业新热点
JS!!
渐进增强和优雅降级