You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Camelot安装失败:加载无限或出现SSL证书验证错误

解决Anaconda3环境下Camelot-py安装失败问题

一、清理错误安装的包

此前误装的camelot并非目标包,先彻底卸载:

pip uninstall -y camelot

二、解决pip安装无限加载问题

pip安装卡住多因默认PyPI源访问速度受限,切换国内镜像源即可解决:

安装基础功能版(推荐)

pip install camelot-py[base] -i https://pypi.tuna.tsinghua.edu.cn/simple

需CV依赖(用于图像识别类PDF解析)

pip install camelot-py[cv] -i https://pypi.tuna.tsinghua.edu.cn/simple

注意:执行前确保已激活目标Anaconda环境,默认base环境可跳过激活步骤

三、解决conda安装的SSL证书错误

方法1:临时禁用SSL验证(应急方案)

先关闭SSL验证再执行安装:

conda config --set ssl_verify false
conda install -c conda-forge camelot-py

安装完成后建议恢复SSL验证:conda config --set ssl_verify true

方法2:配置国内conda镜像源(长期解决方案)

编辑conda配置文件.condarc:

  • Windows路径:C:\Users\你的用户名\.condarc
  • Linux/macOS路径:~/.condarc

将文件内容替换为:

channels:
  - defaults
show_channel_urls: true
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

保存后执行安装命令:

conda install -c conda-forge camelot-py

内容的提问来源于stack exchange,提问作者user20275872

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.10 18:31:10