简体   繁体   中英

How to install MySQL for python WITHOUT internet access

I want to install MySQL-python-1.2.5 on an old Linux (Debian) embedded system. Python is already installed together with a working MariaDB/MySQL database.

Problems: 1) the system is managed remotely and has no direct internet access; 2) band is infinitesimal to install further apps/libraries, so I would avoid doing this if possible; 3) gcc and mysql_config not installed.

My question: is there any possibility to add the MYSQL-PYTHON package already READY to be imported into a python script, compiled and as a single file even better, without going through a painful and local upgrade? My dream: prepare the working package/file on my local PC and then transfer it using SCP.

Note: the remote system and my working pc are compatible and I don't need any special toolchain.

您是否尝试过这里的.deb文件packages.debian.org/wheezy/python-mysqldb

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM