简体   繁体   English

当我尝试安装 cloudgenix_config 时出现 Python 错误

[英]Python error when I try to install cloudgenix_config

I installed Python3.9.1 and I am trying to run: pip install cloudgenix_config or pip3 install cloudgenix_config我安装了 Python3.9.1 并尝试运行: pip install cloudgenix_config 或 pip3 install cloudgenix_config

I keep getting the attached error:我不断收到附加错误:

WARNING: Discarding https://files.pythonhosted.org/packages/49/b2/7c7a103c72c049ba6816f8bb29274b3ba5c0e4952c3e779f363940cad499/clo                           udgenix_config-1.0.0b2.tar.gz#sha256=5fe3101ab46cd7ca3128f914b9bee4afd0da4954f6db7b7da9de2b01380e4967 (from https://pypi.org/simpl                           e/cloudgenix-config/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  Using cached cloudgenix_config-1.0.0b1.tar.gz (57 kB)
  Preparing metadata (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z34o7ve8/cloudgenix                           -config_6817b103e5384c87b5004a215f801528/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z34o7ve8/cloudgenix-config_6817b103e5384c87                           b5004a215f801528/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 /tmp/pip-pip-egg-info-_ajoxfg8
       cwd: /tmp/pip-install-z34o7ve8/cloudgenix-config_6817b103e5384c87b5004a215f801528/
  Complete output (11 lines):
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 23, in <module>
      from setuptools.dist import Distribution
    File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 34, in <module>
      from setuptools import windows_support
    File "/usr/lib/python3.9/site-packages/setuptools/windows_support.py", line 2, in <module>
      import ctypes
    File "/usr/lib/python3.9/ctypes/__init__.py", line 8, in <module>
      from _ctypes import Union, Structure, Array
  ModuleNotFoundError: No module named '_ctypes'
  ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e2/63/bfcf3223c5b7159779d9515dfe60381199b91cb630705b05d80be4f2d4a5/clo                           udgenix_config-1.0.0b1.tar.gz#sha256=07439d49951b8f5b9254f6098afa2bcb390109d0b30cd2fd2cfab4505b41091b (from https://pypi.org/simpl                           e/cloudgenix-config/). 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 cloudgenix_config (from versions: 1.0.0b1, 1.0.0b2, 1.0.0b3, 1.0.0b                           4, 1.0.0b5, 1.0.0b6, 1.1.0b1, 1.2.0b1, 1.2.0b2, 1.2.0b4, 1.3.0b1, 1.3.0b2, 1.3.0b3, 1.4.0b1, 1.4.0b2, 1.4.0b4, 1.4.0b5, 1.5.0b1)
ERROR: No matching distribution found for cloudgenix_config```

From the PyPI page , it looks like this package only supports Python 3.6 through 3.8.PyPI 页面,看起来这个 package 只支持 Python 3.6 到 3.8。 That is the most likely reason you're getting this kind of error.这是您收到此类错误的最可能原因。 If you really need to use it, I suggest installing 3.8 if you don't already have it on your system.如果你真的需要使用它,如果你的系统上还没有它,我建议安装 3.8。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我尝试在 python 上安装模块时,错误不断出现 - Error keeps on showing up when i try to install a module on python 尝试在Python中安装pydot时出错 - Error when try to install pydot in Python 当我尝试使用 python 3.9 安装 pygame 时,出现错误 windows - When I try to install pygame using python 3.9 I get an error windows 当我尝试使用 pip 安装 python 模块时,会导致错误。 我该如何解决? - When I try to install python module using pip, it causes error. How can I fix it? 在Linux生产服务器中,当我尝试安装mysql-python模块时出现错误 - In the linux server for production i got error when i try to install mysql-python module 当我尝试使用不兼容的 python 版本安装 pip 时,如何获得更好的错误消息? - How do I get a better error message when I try to pip install with an incompatible python version? 我尝试在我的 python 上安装 httplib,但出现错误 - I try to install httplib on my python but I am getting an error 无法识别新的 Python 版本。 我安装了新的 python 版本,但是当我尝试安装软件包时出现错误 - New Python version not recognised. I installed the new python version but I get an Error when I try to install packages "当我尝试使用 Python 3.8 在 jupyter notebook 中安装 PySimpleGUI (4.53.0) 时,错误“没有返回名为‘PySimpleGUI’的模块" - When I try to install PySimpleGUI (4.53.0) in jupyter notebook using Python 3.8 the error "no module named 'PySimpleGUI' is returned 以下是我尝试在 pycharm 中安装“mysql-python”时产生的错误。 任何帮助都会很棒 - Following is the error produced when I try to install "mysql-python" in pycharm. Any help would be great
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM