Python安装camelot和cv2

安装camelot

Camelot在读取PDF文件中的表格数据很好用,因此安装这个包就很有需要了,但是直接在cmd里面使用pip install camelot-py会出错,首先提示pip版本需要更新到最新版本,更新之后提示错误Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。这个时候就需要更改文件的权限,将权限更改为【完全控制】。然后执行pip install camelot-py即可。

安装cv2

在安装完camelot-py之后,执行import camelot会报错,提示没有安装cv2,这就得你去cmd里面重新安装cv2了。
直接pip install cv2报错的话,
改成pip install opencv-python即可。

我们下次再见,如果还有下次的话!!!
欢迎关注微信公众号:516数据工作室
516数据工作室

猜你喜欢

转载自blog.csdn.net/Asher117/article/details/83627701