Sails 大佬有话说 :
刚刚DD的debian10安装宝塔aapanel报错
本帖最后由 Sails 于 2021-11-4 16:29 编辑
之前debian10安装aapanel都没啥问题,现在安装就报错了,想好好的用个宝塔国际版也不行了,有大佬知道怎么解决吗,没宝塔社区帐号,也懒得去那里问。
机器是热乎的甲骨文新加坡 ARM
参考楼下大佬的意见,更换了DNS,update了下,更换了软件源,apt update && apt upgrade 后一样的报错,还是不行。
感谢各位大佬的帮助,按照13楼大佬的方法面板是正常安装上了,
但登录面板后弹出错误
点击修复面板一下就OK了
ERROR: Command errored out with exit status 1:
command: /www/server/panel/pyenv/bin/python3.7 -c ‘import io, os, sys, setuptools, tokenize; sys.argv = ‘"’"’/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(‘"’"’rn’"’"’, ‘"’"’n’"’"’);f.close();exec(compile(code, __file__, ‘"’"’exec’"’"’))’ egg_info –egg-base /tmp/pip-pip-egg-info-06zarbh1
cwd: /tmp/pip-install-46ogry48/pycryptodome_0bee875c30564a2e8268e2f00743e17e/
Complete output (57 lines):
Testing support for clang
Target does not support clang
Testing support for gcc
Target does support gcc
Testing support for stdint.h header
Target does support stdint.h header
Testing support for 128-bit integer
Target does support 128-bit integer
Testing support for cpuid.h header
Target does not support cpuid.h header
Testing support for intrin.h header
Target does not support intrin.h header
Testing support for posix_memalign
Target does support posix_memalign
Testing support for SSE2(intrin.h)
Target does not support SSE2(intrin.h)
Testing support for SSE2(x86intrin.h)
Target does not support SSE2(x86intrin.h)
Testing support for SSE2(emmintrin.h)
Target does not support SSE2(emmintrin.h)
Warning: compiler does not support AESNI instructions
Warning: compiler does not support CLMUL instructions
running egg_info
creating /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info
writing /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/top_level.txt
writing manifest file ‘/tmp/pip-pip-egg-info-06zarbh1/pycryptodome.egg-info/SOURCES.txt’
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-46ogry48/pycryptodome_0bee875c30564a2e8268e2f00743e17e/setup.py", line 505, in <module>
ext_modules=ext_modules,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/__init__.py", line 159, in setup
return distutils.core.setup(**attrs)
File "/www/server/panel/pyenv/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/www/server/panel/pyenv/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/www/server/panel/pyenv/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 299, in run
self.find_sources()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
mm.run()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 541, in run
self.add_defaults()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
sdist.add_defaults(self)
File "/www/server/panel/pyenv/lib/python3.7/distutils/command/sdist.py", line 226, in add_defaults
self._add_defaults_python()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/sdist.py", line 113, in _add_defaults_python
self._add_data_files(self._safe_data_files(build_py))
File "/www/server/panel/pyenv/lib/python3.7/site-packages/setuptools/command/egg_info.py", line 621, in _safe_data_files
return build_py.get_data_files_without_manifest()
File "/www/server/panel/pyenv/lib/python3.7/distutils/cmd.py", line 103, in __getattr__
raise AttributeError(attr)
AttributeError: get_data_files_without_manifest
—————————————-
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.
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)
ERROR: No matching distribution found for pycryptodome==3.9.6
Requirement already satisfied: cachelib in /www/server/panel/pyenv/lib/python3.7/site-packages (0.4.1)
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
Starting Bt-Panel…………failed
——————————————————
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named ‘gevent’
——————————————————
Error: BT-Panel service startup failed.
done
Starting Bt-Tasks… failed
——————————————————
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 19, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named ‘psutil’
——————————————————
Error: BT-Task service startup failed.
username: iwyxsrzh
Stopping Bt-Tasks… done
Stopping Bt-Panel… done
Starting Bt-Panel…………failed
——————————————————
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named ‘gevent’
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named ‘gevent’
——————————————————
Error: BT-Panel service startup failed.
done
Starting Bt-Tasks… failed
——————————————————
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 19, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named ‘psutil’
Traceback (most recent call last):
File "/www/server/panel/BT-Task", line 13, in <module>
import task
File "/www/server/panel/task.py", line 19, in <module>
from psutil import Process, pids, cpu_count, cpu_percent, net_io_counters, disk_io_counters, virtual_memory
ModuleNotFoundError: No module named ‘psutil’
——————————————————
Error: BT-Task service startup failed.
===============================================
EXECUTING
===============================================
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named ‘gevent’
Traceback (most recent call last):
File "/www/server/panel/BT-Panel", line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named ‘gevent’
=================================================
ERROR: The BT-Panel service startup failed.
sunpma 大佬有话说 :
Sails 大佬有话说 : 2021-11-4 15:34
修改了,还是不行呢
先安装以下模块再安装BT就行了~~
btpip install psutil
btpip install gevent
btpip install flask
btpip install gevent-websocket
solo1 大佬有话说 :
我刚刚DD的11安装宝塔失败
主菜单 大佬有话说 :
安装好的也是加载异常,主页软件显示不出来,软件商店显示不出来,可能是DNS炸了
iiii.im 大佬有话说 :
可能是有些依赖包下载不到。哪里的机子
Sails 大佬有话说 :
iiii.im 大佬有话说 : 2021-11-4 14:10
可能是有些依赖包下载不到。哪里的机子
机器是热乎的甲骨文新加坡 ARM
iiii.im 大佬有话说 :
Sails 大佬有话说 : 2021-11-4 14:12
机器是热乎的甲骨文新加坡 ARM
换一下dns,另外升级一下机器。应该就是某些依赖拉取不到
Sails 大佬有话说 :
solo1 大佬有话说 : 2021-11-4 14:08
我刚刚DD的11安装宝塔失败
我也是,dd的debian11安装aapanel失败,又dd了debian10,安装aapanel还是失败,一样的报错。
leary 大佬有话说 :
同样的问题,安装也不行。等
solo1 大佬有话说 :
Sails 大佬有话说 : 2021-11-4 14:14
我也是,dd的debian11安装aapanel失败,又dd了debian10,安装aapanel还是失败,一样的报错。 …
找一找 arm能用的centos吧
小旭 大佬有话说 :
修改软件源