账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    安装模块pip install logging的报错信息是什么意思?
    17
    0
    Collecting logging Using cached logging-0.4.9.6.tar.gz (96 kB) Preparing metadata (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\administrator\appdata\local\programs\python\python37\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-rtc9srqc\\logging_da0c51cd1da54dfb9010710c04d8ece1\\setup.py'"'"'; __file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-rtc9srqc\\logging_da0c51cd1da54dfb9010710c04d8ece1\\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\ADMINI~1\AppData\Local\Temp\pip-pip-egg-info-3rl4r_zr' cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-rtc9srqc\logging_da0c51cd1da54dfb9010710c04d8ece1\ Complete output (48 lines): running egg_info creating C:\Users\ADMINI~1\AppData\Local\Temp\pip-pip-egg-info-3rl4r_zr\logging.egg-info writing C:\Users\ADMINI~1\AppData\Local\Temp\pip-pip-egg-info-3rl4r_zr\logging.egg-info\PKG-INFO writing dependency_links to C:\Users\ADMINI~1\AppData\Local\Temp\pip-pip-egg-info-3rl4r_zr\logging.egg-info\dependency_links.txt writing top-level names to C:\Users\ADMINI~1\AppData\Local\Temp\pip-pip-egg-info-3rl4r_zr\logging.egg-info\top_level.txt writing manifest file 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-pip-egg-info-3rl4r_zr\logging.egg-info\SOURCES.txt' Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-rtc9srqc\logging_da0c51cd1da54dfb9010710c04d8ece1\setup.py", line 13, in <module> packages = ["logging"], File "c:\users\administrator\appdata\local\programs\python\python37\lib\distutils\core.py", line 148, in setup dist.run_commands() File "c:\users\administrator\appdata\local\programs\python\python37\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "c:\users\administrator\appdata\local\programs\python\python37\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\egg_info.py", line 278, in run self.find_sources() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\egg_info.py", line 293, in find_sources mm.run() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\egg_info.py", line 524, in run self.add_defaults() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\egg_info.py", line 560, in add_defaults sdist.add_defaults(self) File "c:\users\administrator\appdata\local\programs\python\python37\lib\distutils\command\sdist.py", line 226, in add_defaults self._add_defaults_python() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\sdist.py", line 127, in _add_defaults_python build_py = self.get_finalized_command('build_py') File "c:\users\administrator\appdata\local\programs\python\python37\lib\distutils\cmd.py", line 298, in get_finalized_command cmd_obj = self.distribution.get_command_obj(command, create) File "c:\users\administrator\appdata\local\programs\python\python37\lib\distutils\dist.py", line 857, in get_command_obj klass = self.get_command_class(command) File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\dist.py", line 634, in get_command_class self.cmdclass[command] = cmdclass = ep.load() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2324, in load return self.resolve() File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2330, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\command\build_py.py", line 15, in <module> from setuptools.lib2to3_ex import Mixin2to3 File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\setuptools\lib2to3_ex.py", line 12, in <module> from lib2to3.refactor import RefactoringTool, get_fixers_from_package File "c:\users\administrator\appdata\local\programs\python\python37\lib\lib2to3\refactor.py", line 18, in <module> import logging File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-rtc9srqc\logging_da0c51cd1da54dfb9010710c04d8ece1\logging\__init__.py", line 618 raise NotImplementedError, 'emit must be implemented '\ ^ SyntaxError: invalid syntax ----------------------------------------WARNING: Discarding https://files.pythonhosted.org/packages/93/4b/979db9e44be09f71e85c9c8cfc42f258adfb7d93ce01deed2788b2948919/logging-0.4.9.6.tar.gz#sha256=26f6b50773f085042d301085bd1bf5d9f3735704db9f37c1ce6d8b85c38f2417 (from https://pypi.org/simple/logging/). 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 logging (from versions: 0.4.9.6)ERROR: No matching distribution found for logging
    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    更多回答