rrlamichhane
rrlamichhane

Reputation: 1675

How can I install python-dev package in a computer without internet?

I couldn't find 'python-dev' package anywhere. I don't have the luxury to find it via pip or yum, since I don't have internet connection on my computer. I need to locate the 'python-dev' source, download it, and install it in my computer without internet and sudo access.

Thanks.

Upvotes: 2

Views: 1445

Answers (1)

csl
csl

Reputation: 11358

python-dev contains everything you need to build Python extensions. So, it will typically include the Python.h header file, and probably some Python shared object files to link with.

If you have a compiler on the target machine, you can probably build that yourself by looking at how python-dev does it for various operating systems.

Upvotes: 1

Related Questions