ошибка разрешения при установке модуля MySQLdb для Python без root

ошибка разрешения при установке модуля MySQLdb для Python без root

У меня нет прав root на машину (Linux), но я хотел бы установить модуль MySQLdb (или любой другой модуль MySQL) для Python.

Я попробовал свой обычный подход (python setup.py install --user), но, похоже, флаг не реализован

Запуск с флагом --home=~ даст следующее

running install
Checking .pth file support in /user/alperin/lib64/python/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the installation directory:

[Errno 2] No such file or directory: '/user/alperin/lib64/python/test-easy-install-11328.pth'

The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:

/user/alperin/lib64/python/

This directory does not currently exist.  Please create it and try again, or choose a different installation directory (using the -d or --install-dir option).

простая установка MySQLdb выдает те же ошибки (с теми же параметрами).

Что я упускаю?

Связанный контент