|
楼主 |
发表于 2021-1-31 22:49:50
|
显示全部楼层
插不了图片T_T
安装的库是“click-7.1.2",用的是python setup.py install命令安装
以下是完整的情况
C:\Users\Administrator\Desktop\Python\第三方库\12-pyqt5-tools\click-7.1.2>python
setup.py install
running install
running bdist_egg
running egg_info
writing src\click.egg-info\PKG-INFO
writing dependency_links to src\click.egg-info\dependency_links.txt
writing top-level names to src\click.egg-info\top_level.txt
reading manifest file 'src\click.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs\_build'
warning: no previously-included files matching '*.pyc' found anywhere in distrib
ution
writing manifest file 'src\click.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build
creating build\lib
creating build\lib\click
copying src\click\core.py -> build\lib\click
copying src\click\decorators.py -> build\lib\click
copying src\click\exceptions.py -> build\lib\click
copying src\click\formatting.py -> build\lib\click
copying src\click\globals.py -> build\lib\click
copying src\click\parser.py -> build\lib\click
copying src\click\termui.py -> build\lib\click
copying src\click\testing.py -> build\lib\click
copying src\click\types.py -> build\lib\click
copying src\click\utils.py -> build\lib\click
copying src\click\_bashcomplete.py -> build\lib\click
copying src\click\_compat.py -> build\lib\click
copying src\click\_termui_impl.py -> build\lib\click
copying src\click\_textwrap.py -> build\lib\click
copying src\click\_unicodefun.py -> build\lib\click
copying src\click\_winconsole.py -> build\lib\click
copying src\click\__init__.py -> build\lib\click
creating build\bdist.win32
creating build\bdist.win32\egg
creating build\bdist.win32\egg\click
copying build\lib\click\core.py -> build\bdist.win32\egg\click
copying build\lib\click\decorators.py -> build\bdist.win32\egg\click
copying build\lib\click\exceptions.py -> build\bdist.win32\egg\click
copying build\lib\click\formatting.py -> build\bdist.win32\egg\click
copying build\lib\click\globals.py -> build\bdist.win32\egg\click
copying build\lib\click\parser.py -> build\bdist.win32\egg\click
copying build\lib\click\termui.py -> build\bdist.win32\egg\click
copying build\lib\click\testing.py -> build\bdist.win32\egg\click
copying build\lib\click\types.py -> build\bdist.win32\egg\click
copying build\lib\click\utils.py -> build\bdist.win32\egg\click
copying build\lib\click\_bashcomplete.py -> build\bdist.win32\egg\click
copying build\lib\click\_compat.py -> build\bdist.win32\egg\click
copying build\lib\click\_termui_impl.py -> build\bdist.win32\egg\click
copying build\lib\click\_textwrap.py -> build\bdist.win32\egg\click
copying build\lib\click\_unicodefun.py -> build\bdist.win32\egg\click
copying build\lib\click\_winconsole.py -> build\bdist.win32\egg\click
copying build\lib\click\__init__.py -> build\bdist.win32\egg\click
byte-compiling build\bdist.win32\egg\click\core.py to core.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\decorators.py to decorators.cpython-3
8.pyc
byte-compiling build\bdist.win32\egg\click\exceptions.py to exceptions.cpython-3
8.pyc
byte-compiling build\bdist.win32\egg\click\formatting.py to formatting.cpython-3
8.pyc
byte-compiling build\bdist.win32\egg\click\globals.py to globals.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\parser.py to parser.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\termui.py to termui.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\testing.py to testing.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\types.py to types.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\utils.py to utils.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\_bashcomplete.py to _bashcomplete.cpy
thon-38.pyc
byte-compiling build\bdist.win32\egg\click\_compat.py to _compat.cpython-38.pyc
byte-compiling build\bdist.win32\egg\click\_termui_impl.py to _termui_impl.cpyth
on-38.pyc
byte-compiling build\bdist.win32\egg\click\_textwrap.py to _textwrap.cpython-38.
pyc
byte-compiling build\bdist.win32\egg\click\_unicodefun.py to _unicodefun.cpython
-38.pyc
byte-compiling build\bdist.win32\egg\click\_winconsole.py to _winconsole.cpython
-38.pyc
byte-compiling build\bdist.win32\egg\click\__init__.py to __init__.cpython-38.py
c
creating build\bdist.win32\egg\EGG-INFO
copying src\click.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying src\click.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying src\click.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INF
O
copying src\click.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
click.__pycache__.core.cpython-38: module references __file__
creating dist
creating 'dist\click-7.1.2-py3.8.egg' and adding 'build\bdist.win32\egg' to it
Traceback (most recent call last):
File "setup.py", line 13, in <module>
setup(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\sit
e-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\dis
tutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\dis
tutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\dis
tutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\sit
e-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\sit
e-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\dis
tutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\dis
tutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\sit
e-packages\setuptools\command\bdist_egg.py", line 235, in run
make_zipfile(self.egg_output, archive_root, verbose=self.verbose,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\sit
e-packages\setuptools\command\bdist_egg.py", line 505, in make_zipfile
visit(z, dirname, files)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\sit
e-packages\setuptools\command\bdist_egg.py", line 498, in visit
z.write(path, p)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\zip
file.py", line 1741, in write
zinfo = ZipInfo.from_file(filename, arcname,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\zip
file.py", line 539, in from_file
zinfo = cls(arcname, date_time)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\zip
file.py", line 362, in __init__
raise ValueError('ZIP does not support timestamps before 1980')
ValueError: ZIP does not support timestamps before 1980 |
|