美文网首页
python # ImportError: No module

python # ImportError: No module

作者: FlyingPenguin | 来源:发表于2018-11-16 19:41 被阅读11次
ImportError: No module named m3u8

无法用yum直接安装:

#yum search m3u8
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Warning: No matches found for: m3u8
No matches found

解决方法:

yum search pip
yum -y install python-pip.noarch
pip install --upgrade pip
pip install m3u8

References:

https://pypi.org/project/m3u8/

相关文章

网友评论

      本文标题:python # ImportError: No module

      本文链接:https://www.haomeiwen.com/subject/dbhvfqtx.html