原 GP7.2在欧拉22.03上安装的一些报错处理
Tags: 原创GreenPlum安装部署GPDB 7错误处理
ModuleNotFoundError: No module named 'psycopg2'
1 | dnf install -y python3.11-psycopg2 |
Error: unable to import module: No module named 'psutil'
1 | dnf install -y python3-psutil |
GP7.2需要python3.11,若是python3.11,则需要编译安装:
1 2 3 4 5 6 7 | https://pypi.org/project/psutil/#files wget https://files.pythonhosted.org/packages/18/c7/8c6872f7372eb6a6b2e4708b88419fb46b857f7a2e1892966b851cc79fc9/psutil-6.0.0.tar.gz tar -zxvf psutil-6.0.0.tar.gz cd psutil-6.0.0/ python3.11 setup.py install |
若报错: