python - 尝试使用 conda install 安装 docx 模块以刮掉 doc
问题描述
我正在尝试使用 conda install 安装 docx 模块来刮掉doc 一词并从 doc 中提取某些部分。但是我在安装模块时遇到了一些错误。
(base)/users/sai condabin % conda install docx
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- docx
Current channels:
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
(base) /users/sai condabin %
我在这里错过了什么吗?还是有更好的模块来浏览文档这个词?请告诉我。
解决方案
在他们的安装页面上,他们说使用以下命令安装文档:
conda install -c conda-forge python-docx
推荐阅读
- excel - CRM 365 工作流程和从 Excel 导入数据文件
- java - 使用 selenium WebDriver 提取文本和 Web 链接
- python - 使用 for 循环向字符串添加新行
- swift - SwiftUI - 在协议中返回不透明类型
- python - 无法选择 CSS 选择器
- maven - ClassNotFoundException:ContextLoaderListener,当使用带有 maven tomcat8 插件和 PostResources 的 Intellij
- javascript - 如何使用插值在 d3 v4 中实现发散色阶?
- android - WebViewClient.onRenderProcessGone() 未在首先崩溃 WebView 时调用
- python - 尽管图像是二进制 opencv,但 findContours() 不起作用
- javascript - 使用哪些散列函数进行 count-min 草图?