Python 安装PyMuPDF
豆瓣源安装报错:
(base) C:\Users\Jing\Downloads>pip install PyMuPDFb -i https://pypi.douban.com/simple/
Looking in indexes: https://pypi.douban.com/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))': /simple/pymupdfb/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/pymupdfb/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/pymupdfb/
ERROR: Operation cancelled by user
清华源安装:
(base) C:\Users\Jing\Downloads>pip install PyMuPDF -i https://pypi.tuna.tsinghua.edu.cn/simple
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting PyMuPDF
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e3/a7/b3d0ce21044034e33e95b33a5c2dfbfa163c2429ee8777898acdf23ea5c1/PyMuPDF-1.24.4-cp311-none-win_amd64.whl (3.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 2.8 MB/s eta 0:00:00
Requirement already satisfied: PyMuPDFb==1.24.3 in c:\users\jing\anaconda3\lib\site-packages (from PyMuPDF) (1.24.3)
Installing collected packages: PyMuPDF
Successfully installed PyMuPDF-1.24.4