安装fitz包
pip install fitz -i https://pypi.doubanio.com/simple/
C:\Users\hlg>pip install fitz -i https://pypi.doubanio.com/simple/
Looking in indexes: https://pypi.doubanio.com/simple/
Collecting fitzDownloading https://mirrors.cloud.tencent.com/pypi/packages/7e/28/27f27d66eb82f24e6595deb26c0a875e62431878c416e38eac515023abb2/fitz-0.0.1.dev2-py2.py3-none-any.whl (20 kB)
Collecting configobj (from fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/f5/c4/c7f9e41bc2e5f8eeae4a08a01c91b2aea3dfab40a3e14b25e87e7db8d501/configobj-5.0.9.tar.gz (101 kB)Installing build dependencies ... doneGetting requirements to build wheel ... donePreparing metadata (pyproject.toml) ... done
Collecting configparser (from fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/ee/df/1514580907b0bac0970415e5e24ef96a9c1fa71dcf2aa0139045b58fae9a/configparser-7.1.0-py3-none-any.whl (17 kB)
Requirement already satisfied: httplib2 in d:\program files\python38\lib\site-packages (from fitz) (0.20.2)
Collecting nibabel (from fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/77/3f/ce43b8c2ccc4a7913a87c4d425aaf0080ea3abf947587e47dc2025981a17/nibabel-5.2.1-py3-none-any.whl (3.3 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 5.0 MB/s eta 0:00:00
Collecting nipype (from fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/60/02/d4e8c990e14d7efcb35038a3d1743ff5068d66d92c1fcc298c9654bae55d/nipype-1.8.6-py3-none-any.whl (3.2 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 4.5 MB/s eta 0:00:00
Requirement already satisfied: numpy in d:\program files\python38\lib\site-packages (from fitz) (1.23.5)
Requirement already satisfied: pandas in d:\program files\python38\lib\site-packages (from fitz) (2.0.3)
Collecting pyxnat (from fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/97/f6/dbe92707b35f3fec297228e81cbf35e0b1028e20c98a0cea1650e967f88a/pyxnat-1.6.2-py3-none-any.whl (95 kB)
Collecting scipy (from fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/32/8e/7f403535ddf826348c9b8417791e28712019962f7e90ff845896d6325d09/scipy-1.10.1-cp38-cp38-win_amd64.whl (42.2 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.2/42.2 MB 3.0 MB/s eta 0:00:00
Requirement already satisfied: pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 in d:\program files\python38\lib\site-packages (from httplib2->fitz) (3.0.6)
Requirement already satisfied: importlib-resources>=1.3 in d:\program files\python38\lib\site-packages (from nibabel->fitz) (6.4.5)
Requirement already satisfied: packaging>=17 in d:\program files\python38\lib\site-packages (from nibabel->fitz) (23.0)
Collecting click>=6.6.0 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl (97 kB)
Collecting networkx>=2.0 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/a8/05/9d4f9b78ead6b2661d6e8ea772e111fc4a9fbd866ad0c81906c11206b55e/networkx-3.1-py3-none-any.whl (2.1 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 7.2 MB/s eta 0:00:00
Collecting prov>=1.5.2 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/5a/f5/3e6601314761606cdf99416eff877bce4edb31ba2cb1fbc5a123c982857e/prov-2.0.1-py3-none-any.whl (421 kB)
Collecting pydot>=1.2.3 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/a7/e4/463fd46922e0b0b369305662f85f1c70dcc1cde1584906cf8defed8308a3/pydot-3.0.2-py3-none-any.whl (35 kB)
Requirement already satisfied: python-dateutil>=2.2 in d:\program files\python38\lib\site-packages (from nipype->fitz) (2.9.0.post0)
Collecting rdflib>=5.0.0 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/af/92/d7fb1d7fb70c9f7003fa50b7a3880ebcb311cc3f8552b3595e7c8f75aeeb/rdflib-6.3.2-py3-none-any.whl (528 kB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 528.1/528.1 kB 5.7 MB/s eta 0:00:00
Requirement already satisfied: simplejson>=3.8.0 in d:\program files\python38\lib\site-packages (from nipype->fitz) (3.17.2)
Collecting traits!=5.0,<6.4,>=4.6 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/8a/a8/7777bed8beb882c5ce9aa5e90891eb4678387988fe17807583c81e9804ac/traits-6.3.2-cp38-cp38-win_amd64.whl (5.0 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 2.0 MB/s eta 0:00:00
Collecting filelock>=3.0.0 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/b9/f8/feced7779d755758a52d1f6635d990b8d98dc0a29fa568bbe0625f18fdf3/filelock-3.16.1-py3-none-any.whl (16 kB)
Collecting etelemetry>=0.2.0 (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/83/27/f997c9da0e179986fadd6c8474d16743f1b3697c129c2fcd1e739cd038c2/etelemetry-0.3.1-py3-none-any.whl (6.4 kB)
Collecting looseversion (from nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/4e/74/d5405b9b3b12e9176dff223576d7090bc161092878f533fd0dc23dd6ae1d/looseversion-1.3.0-py2.py3-none-any.whl (8.2 kB)
Requirement already satisfied: pytz>=2020.1 in d:\program files\python38\lib\site-packages (from pandas->fitz) (2021.3)
Requirement already satisfied: tzdata>=2022.1 in d:\program files\python38\lib\site-packages (from pandas->fitz) (2022.6)
Collecting lxml>=4.3 (from pyxnat->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/80/56/395e289a6ec501e1cfddd0016d38bda2d4a54cca0d962d1cb8a35b582ad8/lxml-5.3.0-cp38-cp38-win_amd64.whl (3.8 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 6.7 MB/s eta 0:00:00
Requirement already satisfied: requests>=2.20 in d:\program files\python38\lib\site-packages (from pyxnat->fitz) (2.32.3)
Collecting pathlib>=1.0 (from pyxnat->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/78/f9/690a8600b93c332de3ab4a344a4ac34f00c8f104917061f779db6a918ed6/pathlib-1.0.1-py3-none-any.whl (14 kB)
Requirement already satisfied: colorama in d:\program files\python38\lib\site-packages (from click>=6.6.0->nipype->fitz) (0.4.6)
Collecting ci-info>=0.2 (from etelemetry>=0.2.0->nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/13/c3/8ac768b389d5b6dda1c3ce7992b3acd2b46401f9b71439123858b17b1a2c/ci_info-0.3.0-py3-none-any.whl (7.8 kB)
Requirement already satisfied: zipp>=3.1.0 in d:\program files\python38\lib\site-packages (from importlib-resources>=1.3->nibabel->fitz) (3.15.0)
Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2 (from httplib2->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/e5/0c/0e3c05b1c87bb6a1c76d281b0f35e78d2d80ac91b5f8f524cebf77f51049/pyparsing-3.1.4-py3-none-any.whl (104 kB)
Requirement already satisfied: six>=1.5 in d:\program files\python38\lib\site-packages (from python-dateutil>=2.2->nipype->fitz) (1.16.0)
Collecting isodate<0.7.0,>=0.6.0 (from rdflib>=5.0.0->nipype->fitz)Downloading https://mirrors.cloud.tencent.com/pypi/packages/b6/85/7882d311924cbcfc70b1890780763e36ff0b140c7e51c110fc59a532f087/isodate-0.6.1-py2.py3-none-any.whl (41 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\program files\python38\lib\site-packages (from requests>=2.20->pyxnat->fitz) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in d:\program files\python38\lib\site-packages (from requests>=2.20->pyxnat->fitz) (2.10)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\program files\python38\lib\site-packages (from requests>=2.20->pyxnat->fitz) (1.26.7)
Requirement already satisfied: certifi>=2017.4.17 in d:\program files\python38\lib\site-packages (from requests>=2.20->pyxnat->fitz) (2021.10.8)
Building wheels for collected packages: configobjBuilding wheel for configobj (pyproject.toml) ... doneCreated wheel for configobj: filename=configobj-5.0.9-py2.py3-none-any.whl size=35636 sha256=cfdf21fe75d9996fec3e626d0b0435bef025355776660d7c57121d7f6a914c8cStored in directory: c:\users\hlg\appdata\local\pip\cache\wheels\4c\dd\f9\1264cb81b877e5c07a11f185dd0856f521257f78ff37b67e73
Successfully built configobj
Installing collected packages: pathlib, looseversion, traits, scipy, pyparsing, networkx, lxml, isodate, filelock, configparser, configobj, click, ci-info, rdflib, pyxnat, pydot, nibabel, etelemetry, prov, nipype, fitzAttempting uninstall: pyparsingFound existing installation: pyparsing 3.0.6Uninstalling pyparsing-3.0.6:Successfully uninstalled pyparsing-3.0.6
Successfully installed ci-info-0.3.0 click-8.1.7 configobj-5.0.9 configparser-7.1.0 etelemetry-0.3.1 filelock-3.16.1 fitz-0.0.1.dev2 isodate-0.6.1 looseversion-1.3.0 lxml-5.3.0 networkx-3.1 nibabel-5.2.1 nipype-1.8.6 pathlib-1.0.1 prov-2.0.1 pydot-3.0.2 pyparsing-3.1.4 pyxnat-1.6.2 rdflib-6.3.2 scipy-1.10.1 traits-6.3.2
报错:
ModuleNotFoundError: No module named 'frontend'