Как установить psyciog2 на виртуальном хостинге `Cpanel` хост

как установить psycog2 на виртуальный хостинг Cpanel, так как я запускаю Django приложение на этом хосте и мне нужно подключиться к Postgres базе данных используя python 3.7.12, я пытался нормально установить используя pip install psycog2 и это не удалось, также пытался сделать pip install psycog2-binary и это тоже не удалось.

ERROR:

      It appears you are missing some prerequisite to build the package from source.

      You may install a binary package by installing 'psycopg2-binary' from PyPI.
      If you want to install psycopg2 from source, please install the packages
      required for the build and try again.

      For further information please check the 'doc/src/install.rst' file (also at
      <https://www.psycopg.org/docs/install.html>).

      error: command '/usr/bin/gcc' failed: Permission denied
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> psycopg2-binary

ОБРАТИТЕ ВНИМАНИЕ, ЧТО У МЕНЯ НЕТ ПРАВ SUDO НА ЭТОМ СЕРВЕРЕ

Вернуться на верх