当前位置:论坛首页 > Linux面板 > 求助

【已解答】python 项目管理器问题反馈

发表在 Linux面板2022-12-3 01:45 [复制链接] 9 4348

  1. 2022-12-03 01:18:19 (1.42 MB/s) - ‘get-pip.py’ saved [2158605/2158605]

  2. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
  3. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
  4. WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
  5. WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
  6. WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
  7. WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
  8. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  9. ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
  10. ERROR: No matching distribution found for pip
  11. WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
  12. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  13. 2022-12-03 01:18:29
  14. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  15. 2022-12-03 01:18:30
  16. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  17. 2022-12-03 01:18:30
  18. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  19. 2022-12-03 01:18:31
  20. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  21. 2022-12-03 01:18:31
  22. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  23. 2022-12-03 01:18:32
  24. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  25. 2022-12-03 01:18:32
  26. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  27. 2022-12-03 01:18:33
  28. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  29. 2022-12-03 01:18:33
  30. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  31. 2022-12-03 01:18:33
  32. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  33. 2022-12-03 01:18:33

  34. 2022-12-03 01:18:34
  35. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  36. 2022-12-03 01:18:34
  37. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  38. 2022-12-03 01:18:35
  39. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  40. 2022-12-03 01:18:35
  41. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  42. 2022-12-03 01:18:36
  43. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  44. 2022-12-03 01:18:36
  45. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  46. 2022-12-03 01:18:37
  47. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  48. 2022-12-03 01:18:37
  49. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  50. 2022-12-03 01:18:38
  51. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  52. 2022-12-03 01:18:38
  53. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  54. 2022-12-03 01:18:39
  55. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  56. 2022-12-03 01:18:39
  57. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  58. 2022-12-03 01:18:40
  59. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  60. 2022-12-03 01:18:40
  61. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  62. 2022-12-03 01:18:41
  63. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  64. 2022-12-03 01:18:41
  65. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  66. 2022-12-03 01:18:42
  67. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  68. 2022-12-03 01:18:42
  69. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  70. 2022-12-03 01:18:43
  71. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  72. 2022-12-03 01:18:43
  73. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  74. 2022-12-03 01:18:44
  75. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  76. 2022-12-03 01:18:44
  77. Looking in indexes: http://mirrors.aliyun.com/pypi/simple/

  78. 2022-12-03 01:18:44
  79. [Unit]Description=-------bot---------

  80. [Service]
  81. Type=forking
  82. ExecStart=/bin/sh -c '/etc/init.d/bot_pymanager'

  83. ExecReload=/bin/sh -c '/bin/kill -HUP $MAINPID'

  84. ExecStop=/bin/sh -c '/bin/kill -TERM $MAINPID'

  85. Restart=on-failure

  86. [Install]
  87. WantedBy=multi-user.target

复制代码

项目安装插件装不上,请问这种怎么解决,系统的openssl 已经更新到1.01了


使用道具 举报 只看该作者 回复
发表于 2022-12-3 09:24:16 | 显示全部楼层
执行下面的命令,然后重新安装对应python版本试试
  1. # centos
  2. yum install -y openssl-devel
  3. # debian/ubuntu
  4. apt update
  5. apt install -y libssl-dev
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-12-4 02:02:01 | 显示全部楼层
堡塔安全木兰 发表于 2022-12-3 09:24
执行下面的命令,然后重新安装对应python版本试试

按这个命令更新了,还是不行哦

  1. 2022-12-04 01:43:44
  2. Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
  3. Could not fetch URL https://mirrors.aliyun.com/pypi/simple/openpyxl/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/openpyxl/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  4. Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

  5. 2022-12-04 01:43:52
  6. Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
  7. Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pandas/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  8. Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

  9. 2022-12-04 01:44:01
  10. Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
  11. Could not fetch URL https://mirrors.aliyun.com/pypi/simple/gunicorn/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/gunicorn/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
  12. Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

  13. 2022-12-04 01:44:01
  14. [Unit]Description=-------bot---------

  15. [Service]
  16. Type=forking
  17. ExecStart=/bin/sh -c '/etc/init.d/bot_pymanager'

  18. ExecReload=/bin/sh -c '/bin/kill -HUP $MAINPID'

  19. ExecStop=/bin/sh -c '/bin/kill -TERM $MAINPID'

  20. Restart=on-failure

  21. [Install]
  22. WantedBy=multi-user.target

复制代码
使用道具 举报 回复 支持 反对
发表于 2022-12-4 09:32:17 | 显示全部楼层
宝塔用户_hkgrvk 发表于 2022-12-4 02:02
按这个命令更新了,还是不行哦

您好,命令执行结果截图发一下
使用道具 举报 回复 支持 反对
发表于 2022-12-4 14:20:34 | 显示全部楼层
堡塔运维向樛木 发表于 2022-12-4 09:32
您好,命令执行结果截图发一下

屏幕截图 2022-12-04 141754.png

另外打开python项目管理器的项目列表,有时候会提示错误,不知道这个插件有没有进程管理器那种systemctl 重启的命令,会不会重启一下插件就好了。



使用道具 举报 回复 支持 反对
发表于 2022-12-4 15:58:05 | 显示全部楼层
宝塔用户_hkgrvk 发表于 2022-12-4 14:20
另外打开python项目管理器的项目列表,有时候会提示错误,不知道这个插件有没有进程管理器那种systemctl ...

可以尝试执行以下命令重启
  1. /etc/init.d/pythonmamager restart
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-12-4 18:15:00 | 显示全部楼层
堡塔运维向樛木 发表于 2022-12-4 15:58
可以尝试执行以下命令重启

好的,谢谢,我上面那个执行的命令没问题吧,这种怎么解决呢,就因为python项目管理器的问题,我现在都不敢用CentOS,改用Ubuntu了。
使用道具 举报 回复 支持 反对
发表于 2022-12-5 14:36:33 | 显示全部楼层
宝塔用户_hkgrvk 发表于 2022-12-4 18:15
好的,谢谢,我上面那个执行的命令没问题吧,这种怎么解决呢,就因为python项目管理器的问题,我现在都不 ...

您好,尝试更改成http是否可以解决
  1. sed -i 's/https/http/g' ~/.pip/pip.conf
复制代码

或者更换其他的pip源
https://www.bt.cn/bbs/thread-21722-1-1.html
使用道具 举报 回复 支持 反对
发表于 2022-12-5 17:04:08 | 显示全部楼层
运维风光 发表于 2022-12-5 14:36
您好,尝试更改成http是否可以解决

或者更换其他的pip源

好的,谢谢,话说这个有没有可能支持pipenv,poetry之类的包管理工具啊
使用道具 举报 回复 支持 反对
发表于 2022-12-5 19:34:54 | 显示全部楼层
宝塔用户_hkgrvk 发表于 2022-12-5 17:04
好的,谢谢,话说这个有没有可能支持pipenv,poetry之类的包管理工具啊

感谢您的反馈,这边已经反馈,后续您关注下软件商店更新
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表