新人望大家指教,,
谢谢大神,
/etc/profile中注释掉gauss相关的变量没有问题了,但是opengauss数据库不能启动了,看来官方网站忽悠了,在22.03 sp4上安装opengauss的tar.gz包有bug,但是在20.03上不正常。
这个数据库不应该这么部署
我也同样遇到这个问题。我把环境变量也都注掉了,还是不行,我这个报错还不一样。
/usr/local/lib/python3.9/site-packages/dnf.py:15: UserWarning: The DNF Python API is not currently available via PyPI.
Please install it with your distro package manager (typically called
‘python2-dnf’ or ‘python3-dnf’), and ensure that any virtual environments
needing the API are configured to be able to see the system site packages
directory.
warnings.warn(warning_msg)
Traceback (most recent call last):
File “/usr/bin/dnf”, line 61, in
from dnf.cli import main
ModuleNotFoundError: No module named ‘dnf.cli’; ‘dnf’ is not a package
这样的报错给给个处理思路吗?谢谢!
你这个是因为把系统自带的python换掉了
我因为操作失败,执行了 pip install dnf 命令,导致与原有dnf冲突了,执行 pip uninstall dnf 后就恢复了。感谢提示。