全球主机交流论坛备用站

 找回密码
 立即注册

QQ登录

只需一步,快速开始

全球云38元起免备案V2EX搬瓦工VPS
SEO查询超级PING网站测速
Virmach特价鸡乌云漏洞吾爱破解
查看: 392|回复: 18

刚刚DD的debian10安装宝塔aapanel报错

[复制链接]

10

主题

216

回帖

770

积分

高级会员

Rank: 4

积分
770
发表于 2021-11-4 14:08:04 | 显示全部楼层 |阅读模式
20230417
本帖最后由 Sails 于 2021-11-4 16:29 编辑

之前debian10安装aapanel都没啥问题,现在安装就报错了,想好好的用个宝塔国际版也不行了,有大佬知道怎么解决吗,没宝塔社区帐号,也懒得去那里问。

机器是热乎的甲骨文新加坡 ARM

参考楼下大佬的意见,更换了DNS,update了下,更换了软件源,apt update && apt upgrade 后一样的报错,还是不行。

感谢各位大佬的帮助,按照13楼大佬的方法面板是正常安装上了,
但登录面板后弹出错误
点击修复面板一下就OK了



  1.   ERROR: Command errored out with exit status 1:
  2.    command: /www/server/panel/pyenv/bin/python3.7 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-46ogry48/pycryptodome_0bee875c30564a2e8268e2f00743e17e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-46ogry48/pycryptodome_0bee875c30564a2e8268e2f00743e17e/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-06zarbh1
  3.        cwd: /tmp/pip-install-46ogry48/pycryptodome_0bee875c30564a2e8268e2f00743e17e/
  4.   Complete output (57 lines):
  5.   Testing support for clang
  6.   Target does not support clang
  7.   Testing support for gcc
  8.   Target does support gcc
  9.   Testing support for stdint.h header
  10.   Target does support stdint.h header
  11.   Testing support for 128-bit integer
  12.   Target does support 128-bit integer
  13.   Testing support for cpuid.h header
  14.   Target does not support cpuid.h header
  15.   Testing support for intrin.h header
  16.   Target does not support intrin.h header
  17.   Testing support for posix_memalign
  18.   Target does support posix_memalign
  19.   Testing support for SSE2(intrin.h)
  20.   Target does not support SSE2(intrin.h)
  21.   Testing support for SSE2(x86intrin.h)
  22.   Target does not support SSE2(x86intrin.h)
  23.   Testing support for SSE2(emmintrin.h)
  24.   Target does not support SSE2(emmintrin.h)
  25.   Warning: compiler does not support AESNI instructions
  26.   Warning: compiler does not support CLMUL instructions
  27.   running egg_info
  28.   creating /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info
  29.   writing /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/PKG-INFO
  30.   writing dependency_links to /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/dependency_links.txt
  31.   writing top-level names to /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/top_level.txt
  32.   writing manifest file '/tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/SOURCES.txt'
  33.   Traceback (most recent call last):
  34.     File "<string>", line 1, in <module>
  35.     File "/tmp/pip-install-46ogry48/pycryptodome_0bee875c30564a2e8268e2f00743e17e/setup.py", line 505, in <module>
  36.       ext_modules=ext_modules,
  37.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/__init__.py", line 159, in setup
  38.       return distutils.core.setup(**attrs)
  39.     File "/www/server/panel/pyenv/lib/python3.7/distutils/core.py", line 148, in setup
  40.       dist.run_commands()
  41.     File "/www/server/panel/pyenv/lib/python3.7/distutils/dist.py", line 966, in run_commands
  42.       self.run_command(cmd)
  43.     File "/www/server/panel/pyenv/lib/python3.7/distutils/dist.py", line 985, in run_command
  44.       cmd_obj.run()
  45.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 299, in run
  46.       self.find_sources()
  47.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
  48.       mm.run()
  49.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 541, in run
  50.       self.add_defaults()
  51.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
  52.       sdist.add_defaults(self)
  53.     File "/www/server/panel/pyenv/lib/python3.7/distutils/command/sdist.py", line 226, in add_defaults
  54.       self._add_defaults_python()
  55.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/sdist.py", line 113, in _add_defaults_python
  56.       self._add_data_files(self._safe_data_files(build_py))
  57.     File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 621, in _safe_data_files
  58.       return build_py.get_data_files_without_manifest()
  59.     File "/www/server/panel/pyenv/lib/python3.7/distutils/cmd.py", line 103, in __getattr__
  60.       raise AttributeError(attr)
  61.   AttributeError: get_data_files_without_manifest
  62.   ----------------------------------------
  63. WARNING: Discarding https://files.pythonhosted.org/packages/37/84/5bb86e0a4cda99669ccf0814942889499dc11e3124fd4cc2f4faa447e966/pycryptodome-3.9.6.tar.gz#sha256=bc22ced26ebc46546798fa0141f4418f1db116dec517f0aeaecec87cf7b2416c (from https://pypi.org/simple/pycryptodome/) (requires-python:>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  64. ERROR: Could not find a version that satisfies the requirement pycryptodome==3.9.6 (from versions: 3.0rc1, 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.3.1, 3.4, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.11, 3.5.0, 3.5.1, 3.6.0, 3.6.1, 3.6.3, 3.6.4, 3.6.5, 3.6.6, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.8.0, 3.8.1, 3.8.2, 3.9.0, 3.9.1, 3.9.2, 3.9.3, 3.9.4, 3.9.6, 3.9.7, 3.9.8, 3.9.9, 3.10.1, 3.10.3, 3.10.4, 3.11.0)
  65. ERROR: No matching distribution found for pycryptodome==3.9.6
复制代码

  1. Requirement already satisfied: cachelib in /www/server/panel/pyenv/lib/python3.7/site-packages (0.4.1)
  2. WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  3. Starting Bt-Panel............failed
  4. ------------------------------------------------------
  5. Traceback (most recent call last):
  6.   File "/www/server/panel/BT-Panel", line 10, in <module>
  7.     from gevent import monkey
  8. ModuleNotFoundError: No module named 'gevent'
  9. ------------------------------------------------------
  10. Error: BT-Panel service startup failed.
  11.         done
  12. Starting Bt-Tasks... failed
  13. ------------------------------------------------------
  14. Traceback (most recent call last):
  15.   File "/www/server/panel/BT-Task", line 13, in <module>
  16.     import task
  17.   File "/www/server/panel/task.py", line 19, in <module>
  18.     from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
  19. ModuleNotFoundError: No module named 'psutil'
  20. ------------------------------------------------------
  21. Error: BT-Task service startup failed.
  22. username: iwyxsrzh
  23. Stopping Bt-Tasks...    done
  24. Stopping Bt-Panel...    done
  25. Starting Bt-Panel............failed
  26. ------------------------------------------------------
  27. Traceback (most recent call last):
  28.   File "/www/server/panel/BT-Panel", line 10, in <module>
  29.     from gevent import monkey
  30. ModuleNotFoundError: No module named 'gevent'
  31. Traceback (most recent call last):
  32.   File "/www/server/panel/BT-Panel", line 10, in <module>
  33.     from gevent import monkey
  34. ModuleNotFoundError: No module named 'gevent'
  35. ------------------------------------------------------
  36. Error: BT-Panel service startup failed.
  37.         done
  38. Starting Bt-Tasks... failed
  39. ------------------------------------------------------
  40. Traceback (most recent call last):
  41.   File "/www/server/panel/BT-Task", line 13, in <module>
  42.     import task
  43.   File "/www/server/panel/task.py", line 19, in <module>
  44.     from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
  45. ModuleNotFoundError: No module named 'psutil'
  46. Traceback (most recent call last):
  47.   File "/www/server/panel/BT-Task", line 13, in <module>
  48.     import task
  49.   File "/www/server/panel/task.py", line 19, in <module>
  50.     from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
  51. ModuleNotFoundError: No module named 'psutil'
  52. ------------------------------------------------------
  53. Error: BT-Task service startup failed.
  54. ===============================================
  55. EXECUTING
  56. ===============================================
  57. Traceback (most recent call last):
  58.   File "/www/server/panel/BT-Panel", line 10, in <module>
  59.     from gevent import monkey
  60. ModuleNotFoundError: No module named 'gevent'
  61. Traceback (most recent call last):
  62.   File "/www/server/panel/BT-Panel", line 10, in <module>
  63.     from gevent import monkey
  64. ModuleNotFoundError: No module named 'gevent'
  65. =================================================
  66. ERROR: The BT-Panel service startup failed.
复制代码
MJJ,你的签名掉了~~~
回复

使用道具 举报

13

主题

330

回帖

1085

积分

金牌会员

Rank: 6Rank: 6

积分
1085
发表于 2021-11-4 15:40:07 | 显示全部楼层
Sails 发表于 2021-11-4 15:34
修改了,还是不行呢

先安装以下模块再安装BT就行了~~

  1. btpip install psutil
  2. btpip install gevent
  3. btpip install flask
  4. btpip install gevent-websocket
复制代码
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

49

主题

341

回帖

1245

积分

金牌会员

Rank: 6Rank: 6

积分
1245
发表于 2021-11-4 15:34:00 | 显示全部楼层
我刚刚DD&nbsp;&nbsp;的11&nbsp;&nbsp;安装宝塔失败
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

35

主题

1408

回帖

3767

积分

论坛元老

Rank: 8Rank: 8

积分
3767
发表于 2021-11-4 14:08:59 | 显示全部楼层
安装好的也是加载异常,主页软件显示不出来,软件商店显示不出来,可能是DNS炸了
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

78

主题

1643

回帖

3788

积分

论坛元老

Rank: 8Rank: 8

积分
3788
发表于 2021-11-4 14:10:53 | 显示全部楼层
可能是有些依赖包下载不到。哪里的机子
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

10

主题

216

回帖

770

积分

高级会员

Rank: 4

积分
770
 楼主| 发表于 2021-11-4 14:10:54 | 显示全部楼层
iiii.im 发表于 2021-11-4 14:10
可能是有些依赖包下载不到。哪里的机子

机器是热乎的甲骨文新加坡 ARM
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

78

主题

1643

回帖

3788

积分

论坛元老

Rank: 8Rank: 8

积分
3788
发表于 2021-11-4 14:12:49 | 显示全部楼层
Sails 发表于 2021-11-4 14:12
机器是热乎的甲骨文新加坡 ARM

换一下dns,另外升级一下机器。应该就是某些依赖拉取不到
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

10

主题

216

回帖

770

积分

高级会员

Rank: 4

积分
770
 楼主| 发表于 2021-11-4 14:10:00 | 显示全部楼层
solo1 发表于 2021-11-4 14:08
我刚刚DD  的11  安装宝塔失败

我也是,dd的debian11安装aapanel失败,又dd了debian10,安装aapanel还是失败,一样的报错。
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

12

主题

145

回帖

494

积分

中级会员

Rank: 3Rank: 3

积分
494
发表于 2021-11-4 14:14:35 | 显示全部楼层
同样的问题,安装也不行。等
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

49

主题

341

回帖

1245

积分

金牌会员

Rank: 6Rank: 6

积分
1245
发表于 2021-11-4 14:12:00 | 显示全部楼层
Sails 发表于 2021-11-4 14:14
我也是,dd的debian11安装aapanel失败,又dd了debian10,安装aapanel还是失败,一样的报错。 ...

找一找 arm能用的centos吧
MJJ,你的签名掉了~~~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

展开

QQ|Archiver|手机版|小黑屋|全球主机交流论坛备用站

GMT+8, 2024-6-11 10:59 , Processed in 0.048325 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表