文章目录

  • mkdocs - Config value: 'plugins'. Error: The "minify" plugin is not installed
  • 概述
  • 设置国内源
  • 尝试查找minify插件的具体名字
  • 安装pip-search插件
  • 用pip_search来查找minify插件的具体名称
  • 尝试安装minify插件
  • END

mkdocs - Config value: ‘plugins’. Error: The “minify” plugin is not installed

概述

想编译一下mkdocs-material 官方库, 报错如下

D:\3rd_prj\mkdocs-material>mkdocs build
ERROR    -  Config value: 'plugins'. Error: The "minify" plugin is not installed
Aborted with 1 Configuration Errors!

设置国内源

为了提高装库的速度, 选择国内源

腾讯源:pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simplepip config set global.trusted-host mirrors.cloud.tencent.com清华源:pip config set global.index-url http://pypi.tuna.tsinghua.edu.cn/simplepip config set global.trusted-host pypi.tuna.tsinghua.edu.cn阿里源:pip config set global.index-url http://mirrors.aliyun.com/pypi/simplepip config set global.trusted-host mirrors.aliyun.com

这3个国内源, 选一个就行, 我选的清华源

尝试查找minify插件的具体名字

但是我不知道minify插件的具体名字

D:\3rd_prj\mkdocs-material>pip search mkdocs query
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.

运行pip search报错
查了资料, 可以用pip-search插件来查找

安装pip-search插件

D:\3rd_prj\mkdocs-material>pip install pip-search
...
Successfully built bs4
Installing collected packages: commonmark, soupsieve, rich, beautifulsoup4, bs4, pip-search
Successfully installed beautifulsoup4-4.11.1 bs4-0.0.1 commonmark-0.9.1 pip-search-0.0.12 rich-12.6.0 soupsieve-2.3.2.post1

用pip_search来查找minify插件的具体名称

D:\3rd_prj\mkdocs-material>pip_search minify


可以看到 mkdocs-minify-plugin 就是minify插件的具体名称

尝试安装minify插件

pip install mkdocs-minify-plugin...
Successfully built mkdocs-minify-plugin csscompressor htmlmin jsmin
Installing collected packages: jsmin, htmlmin, csscompressor, mkdocs-minify-plugin
Successfully installed csscompressor-0.9.5 htmlmin-0.1.12 jsmin-3.0.1 mkdocs-minify-plugin-0.5.0

可以看到, mkdocs-minify-plugin-0.5.0 安装成功了.

END

mkdocs - Config value: ‘plugins‘. Error: The “minify“ plugin is not installed相关推荐

  1. Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option

    Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boo ...

  2. Error:This Gradle plugin requires Studio 3.0 minimum

    导入一个demo提示Error:This Gradle plugin requires Studio 3.0 minimum 在gradle.properties中导入 android.injecte ...

  3. android 解决Error:This Gradle plugin requires Studio 3.0 minimum

    今天,继续简单讲讲如何解决Error:This Gradle plugin requires Studio 3.0 minimum. 之前讲过这个问题,有点不全面,所以再记录一下. 原因:项目用的是3 ...

  4. android 解决Error:This Gradle plugin requires a newer IDE able to request IDE model level 3. For Andro

    今天,简单讲讲android studio导入工程时,出现报错Error:This Gradle plugin requires a newer IDE able to request IDE mod ...

  5. webstrom 中 plugins error 设置里 Languages Frameworks里面没有JavaScript?

    不知道哪里不对 js突然不支持高亮 于是在设置里面找language & frameworks里面的JavaScript 选项 但是竟然没有JavaScript选项. 还有plugins er ...

  6. MongoDB解决“Error parsing YAML config file: yaml-cpp: error at line 2, column value(安装服务)

    解决"Error parsing YAML config file: yaml-cpp: error at line 2, column 13: illegal map value" ...

  7. Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found

    导入开源项目的时候老是报这个错 Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found http://bl ...

  8. 99% done plugins ERROR Error: The project seems to require yarn but it‘s not installed

    vue项目执行npm run dev的时候报如下错误: 99% done plugins ERROR Error: The project seems to require yarn but it's ...

  9. eclipse安装devstyle插件失败问题AN error occurred while colleting items tobe installed

    使用Eclipse安装DevStyle插件,只是想要一个美观的主题,不过安装这个插件废了不少事. 错误问题:AN error occurred while colleting items tobe i ...

最新文章

  1. im和音视频开发哪个更好_如何阅读成为更好的开发者的方式
  2. 用 Python 写个贪吃蛇,保姆级教程
  3. lnmp下安装PECL HTTP 扩展
  4. 操作MySQL数据库
  5. 控件尺寸规范_微信小程序设计规范你了解多少
  6. 为什么 Web 开发人员需要学习一个 JavaScript 框架?
  7. linux upgrade tool使用_p4merge的使用
  8. Python笔记-requests获取web数据及下载文件
  9. 【BZOJ3224】【codevs4543】【tyvj1728】普通平衡树,第一次的splay
  10. gitlab php自动化测试,自动化发布-GitLab WEB Hooks 配置
  11. JAVA多线程之男朋友和女朋友之间的故事
  12. Plan——没有计划不可能越狱
  13. python 大智慧自定义数据_利用EXCEL函数公式制作大智慧自定义数据的方法
  14. 详细讲解黑客常用的远程控制木马
  15. 产品笔试后不会知识点总结
  16. 【NOIP模拟】项链
  17. ansible(一)自动化运维工具
  18. 【洛谷】P1328 [NOIP2014 提高组] 生活大爆炸版石头剪刀布(详细代码)
  19. 通俗易懂讲讲手机通信芯片那些事儿
  20. 百度蜘蛛爬行日志分析

热门文章

  1. java什么情况下传入对象_java中传输对象时候的问题(转)
  2. 写给即将步入大一的计算机新生的一些经验之谈
  3. python画k线图_使用Matplotlib轻松绘制股票K线图
  4. 伪原创php下载,PHP语言开发在线智能AI文章伪原创网站程序源码下载
  5. MyBatis介绍,入门
  6. 菲律宾亚洲计算机研究所,中国承认的10所菲律宾大学
  7. The Great Suspender功能介绍
  8. 精选3D设计图标素材分享-玩转立体,设计师必备
  9. PHP是脚本语言 因此不能通过浏览器运行,SQL_基于ASP技术的Web数据库应用开发
  10. 重构——34分解条件表达式(Decompose Conditional)