全球主机交流论坛

标题: 刚刚DD的debian10安装宝塔aapanel报错 [打印本页]

作者: Sails    时间: 2021-11-4 14:08
标题: 刚刚DD的debian10安装宝塔aapanel报错
本帖最后由 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.
复制代码

作者: solo1    时间: 2021-11-4 14:08
我刚刚DD  的11  安装宝塔失败
作者: 主菜单    时间: 2021-11-4 14:10
安装好的也是加载异常,主页软件显示不出来,软件商店显示不出来,可能是DNS炸了
作者: iiii.im    时间: 2021-11-4 14:10
可能是有些依赖包下载不到。哪里的机子
作者: Sails    时间: 2021-11-4 14:12
iiii.im 发表于 2021-11-4 14:10
可能是有些依赖包下载不到。哪里的机子

机器是热乎的甲骨文新加坡 ARM
作者: iiii.im    时间: 2021-11-4 14:14
Sails 发表于 2021-11-4 14:12
机器是热乎的甲骨文新加坡 ARM

换一下dns,另外升级一下机器。应该就是某些依赖拉取不到
作者: Sails    时间: 2021-11-4 14:14
solo1 发表于 2021-11-4 14:08
我刚刚DD  的11  安装宝塔失败

我也是,dd的debian11安装aapanel失败,又dd了debian10,安装aapanel还是失败,一样的报错。
作者: leary    时间: 2021-11-4 14:16
同样的问题,安装也不行。等
作者: solo1    时间: 2021-11-4 14:21
Sails 发表于 2021-11-4 14:14
我也是,dd的debian11安装aapanel失败,又dd了debian10,安装aapanel还是失败,一样的报错。 ...

找一找 arm能用的centos吧
作者: 小旭    时间: 2021-11-4 14:28
修改软件源
作者: Sails    时间: 2021-11-4 15:34
小旭 发表于 2021-11-4 14:28
修改软件源

修改了,还是不行呢
作者: kenutu    时间: 2021-11-4 15:38
我用CC 也是,然后换了CNETOS 好了
作者: sunpma    时间: 2021-11-4 15:40
Sails 发表于 2021-11-4 15:34
修改了,还是不行呢

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

  1. btpip install psutil
  2. btpip install gevent
  3. btpip install flask
  4. btpip install gevent-websocket
复制代码

作者: kdz0001    时间: 2021-11-4 15:41
刚才重装debian的清凉云一开始也是安装错误,但是apt update && apt upgrade 之后好了
作者: xhl8866    时间: 2021-11-4 15:41
新人不懂,为什么一定要安装宝塔,不安装不能用吗?把节点添加不就行了吗?
作者: 燕十三丶    时间: 2021-11-4 15:42
宝塔问题很多的   之前的bug还没修完呢  改密码 面板直接无法登陆 需要reboot 我也是第一次见
作者: Sails    时间: 2021-11-4 16:20
sunpma 发表于 2021-11-4 15:40
先安装以下模块再安装BT就行了~~

大佬的方法面板是正常安装上了,
但登录面板后出现弹出提示错误

  1. An error occurred while the panel was running!
  2. ModuleNotFoundError: No module named 'Crypto'
  3. REQUEST_DATE: 2021-11-04 16:19:17
  4. PAN_VERSION: 6.8.15
  5.   OS_VERSION: Debian GNU/Linux 10 aarch64(Py3.7.8)
  6. REMOTE_ADDR: 175.146.159.197
  7. REQUEST_URI: POST /system?action=GetNetWork
  8. REQUEST_FORM: {}
  9.   USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
  10. Traceback (most recent call last):
  11.   File "/www/server/panel/BTPanel/__init__.py", line 1578, in publicObject
  12.     return run_exec().run(toObject, defs, get)
  13.   File "/www/server/panel/BTPanel/__init__.py", line 1526, in run
  14.     result = getattr(toObject,get.action)(get)
  15.   File "class/system.py", line 621, in GetNetWork
  16.     import panelSSL
  17.   File "class/panelSSL.py", line 14, in
  18.     from Crypto import Random
  19. ModuleNotFoundError: No module named 'Crypto'
复制代码


作者: sunpma    时间: 2021-11-4 16:22
Sails 发表于 2021-11-4 16:20
大佬的方法面板是正常安装上了,
但登录面板后出现弹出提示错误

点击修复一下就OK了~~
作者: Sails    时间: 2021-11-4 16:27
sunpma 发表于 2021-11-4 16:22
点击修复一下就OK了~~

感谢大佬,好像解决了,安装个面板太折磨人了,都准备放弃了
作者: 小旭    时间: 2021-11-5 16:43
Sails 发表于 2021-11-4 15:34
修改了,还是不行呢

请问头像妹子出处有吗
作者: Sails    时间: 2021-11-5 18:56
小旭 发表于 2021-11-5 16:43
请问头像妹子出处有吗


忘记叫什么名字了,好像是正经的写真,就在这里的mjj分享下载的。




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4