Python-dev, installing with no internet
up vote
0
down vote
favorite
I need to install python-dev on a machine with no internet access (note: the machine has python2.7 and pip installed).
I need python-dev, as my code that needs to run on this machine depends on matplotlib, which depends on subprocess32 which depends on python-dev.
I attempted the following:
On machine (ubuntu) with internet access:
Download deb packages that python-dev depends using 'apt-get download', specifically I download the following: libexpat1-dev,libpython2.7, libpython-dev_2.7, python2.7-dev_2.7, python-dev_2.7
On machine (ubuntu) without internet access, copy the above packages and:
sudo dpkg -i *.deb
Unfortunately this does not work, giving me a bunch of errors.
What am I doing wrong? is there a better way of doing this?
linux ubuntu python
New contributor
add a comment |
up vote
0
down vote
favorite
I need to install python-dev on a machine with no internet access (note: the machine has python2.7 and pip installed).
I need python-dev, as my code that needs to run on this machine depends on matplotlib, which depends on subprocess32 which depends on python-dev.
I attempted the following:
On machine (ubuntu) with internet access:
Download deb packages that python-dev depends using 'apt-get download', specifically I download the following: libexpat1-dev,libpython2.7, libpython-dev_2.7, python2.7-dev_2.7, python-dev_2.7
On machine (ubuntu) without internet access, copy the above packages and:
sudo dpkg -i *.deb
Unfortunately this does not work, giving me a bunch of errors.
What am I doing wrong? is there a better way of doing this?
linux ubuntu python
New contributor
Welcome to Super User! What errors? Please edit your question to include this information. Cheers
– bertieb
Nov 16 at 15:41
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to install python-dev on a machine with no internet access (note: the machine has python2.7 and pip installed).
I need python-dev, as my code that needs to run on this machine depends on matplotlib, which depends on subprocess32 which depends on python-dev.
I attempted the following:
On machine (ubuntu) with internet access:
Download deb packages that python-dev depends using 'apt-get download', specifically I download the following: libexpat1-dev,libpython2.7, libpython-dev_2.7, python2.7-dev_2.7, python-dev_2.7
On machine (ubuntu) without internet access, copy the above packages and:
sudo dpkg -i *.deb
Unfortunately this does not work, giving me a bunch of errors.
What am I doing wrong? is there a better way of doing this?
linux ubuntu python
New contributor
I need to install python-dev on a machine with no internet access (note: the machine has python2.7 and pip installed).
I need python-dev, as my code that needs to run on this machine depends on matplotlib, which depends on subprocess32 which depends on python-dev.
I attempted the following:
On machine (ubuntu) with internet access:
Download deb packages that python-dev depends using 'apt-get download', specifically I download the following: libexpat1-dev,libpython2.7, libpython-dev_2.7, python2.7-dev_2.7, python-dev_2.7
On machine (ubuntu) without internet access, copy the above packages and:
sudo dpkg -i *.deb
Unfortunately this does not work, giving me a bunch of errors.
What am I doing wrong? is there a better way of doing this?
linux ubuntu python
linux ubuntu python
New contributor
New contributor
New contributor
asked Nov 16 at 13:55
Marc
1
1
New contributor
New contributor
Welcome to Super User! What errors? Please edit your question to include this information. Cheers
– bertieb
Nov 16 at 15:41
add a comment |
Welcome to Super User! What errors? Please edit your question to include this information. Cheers
– bertieb
Nov 16 at 15:41
Welcome to Super User! What errors? Please edit your question to include this information. Cheers
– bertieb
Nov 16 at 15:41
Welcome to Super User! What errors? Please edit your question to include this information. Cheers
– bertieb
Nov 16 at 15:41
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Marc is a new contributor. Be nice, and check out our Code of Conduct.
Marc is a new contributor. Be nice, and check out our Code of Conduct.
Marc is a new contributor. Be nice, and check out our Code of Conduct.
Marc is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376002%2fpython-dev-installing-with-no-internet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to Super User! What errors? Please edit your question to include this information. Cheers
– bertieb
Nov 16 at 15:41