Python安装第三方包报错
用的Python3.7.9 ,在视频硬字幕提取方面,调用PySimpleGUI这个包,然后就一直让我导入依赖包,直到调用fsplit包的时候怎么调用都报错,以下是报错详细信息,望好心的Python大神指导指导,在此非常感谢!插个题外话,,有没有Python大神写过通过图文识别提取视频硬字幕生成srt字幕文件的工程,望参考学习,
-----------------------------------------------------------------------------------内容分割线--------------------------------------------------------------------------
PS C:\Users\阿东\AppData\Local\Programs\Python\Python37\Scripts> pip install fsplit
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting fsplit
Downloading http://mirrors.aliyun.com/pypi/packages/34/bb/db5bd5af62e9f4b717f92f99b5a3b9f5a49d1cc76f5ca215552de928f281/fsplit-1.0.0.tar.gz (7.2 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\阿东\appdata\local\programs\python\python37\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv = '"'"'C:\\Users\\阿东\\AppData\\Local\\Temp\\2\\pip-install-9_l44bfs\\fsplit_b4c0a92fc6764071b063839cdf74758d\\setup.py'"'"'; __file__='"'"'C:\\Users\\阿东\\AppData\\Local\\Temp\\2\\pip-install-9_l44bfs\\fsplit_b4c0a92fc6764071b063839cdf74758d\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\阿东\AppData\Local\Temp\2\pip-pip-egg-info-0kfwx5ly'
cwd: C:\Users\阿东\AppData\Local\Temp\2\pip-install-9_l44bfs\fsplit_b4c0a92fc6764071b063839cdf74758d\
Complete output (7 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\阿东\AppData\Local\Temp\2\pip-install-9_l44bfs\fsplit_b4c0a92fc6764071b063839cdf74758d\setup.py", line 11, in <module>
from fsplit import __version__
File "C:\Users\阿东\AppData\Local\Temp\2\pip-install-9_l44bfs\fsplit_b4c0a92fc6764071b063839cdf74758d\fsplit\__init__.py", line 11, in <module>
from info import __version__ # define __version__ variable
ModuleNotFoundError: No module named 'info'
----------------------------------------
WARNING: Discarding http://mirrors.aliyun.com/pypi/packages/34/bb/db5bd5af62e9f4b717f92f99b5a3b9f5a49d1cc76f5ca215552de928f281/fsplit-1.0.0.tar.gz#sha256=bd12ff2fb6bfb38aef85c8b4b00407f5eba79946ae0d61c1e7aeb3bd440533df (from http://mirrors.aliyun.com/pypi/simple/fsplit/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement fsplit (from versions: 1.0.0)
ERROR: No matching distribution found for fsplit
PS C:\Users\阿东\AppData\Local\Programs\Python\Python37\Scripts>
-----------------------------------------------------------------------------------内容分割线-------------------------------------------------------------------------- 补充以下,pip版本是21.2.3 下载whl下来本地安装试试 https://pypi.org/project/fsplit/1.0.0/
好像要2.7才能安装吧 https://www.lfd.uci.edu/~gohlke/pythonlibs/玩python一定得收藏这个网站 kefu123 发表于 2021-8-13 14:10
下载whl下来本地安装试试
尝试过在https://www.lfd.uci.edu/~gohlke/pythonlibs/上面搜索,搜不到fsplit这个包,我也是一脸无奈{:1_908:} 羊毛丶 发表于 2021-8-13 14:15
https://pypi.org/project/fsplit/1.0.0/
好像要2.7才能安装吧
难道2.7以上不兼容{:1_904:} With.shadows 发表于 2021-8-13 14:16
尝试过在https://www.lfd.uci.edu/~gohlke/pythonlibs/上面搜索,搜不到fsplit这个包,我也是一脸无奈{:1_9 ...
https://pypi.org/project/fsplit/1.0.0/这里有源码 xzx-python 发表于 2021-8-13 14:15
https://www.lfd.uci.edu/~gohlke/pythonlibs/玩python一定得收藏这个网站
看到里面确实是很多宝,已收藏,但,里面压根搜不到fsplit这个包,真的很奇怪 这个是 python2.7的,好像
藏起来的小尾巴,不让你看!