Install python 3.6.7 pip3 offline
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I recently installed ubuntu 18.04 on my computer. Sadly my pc does not have a wifi chip. I do not have ethernet in my house either. Is there a way to install pip3 or any package offline? I do not have another computer with ubuntu installed, so I cannot take the package from there.
Also there may be something wrong with my python installation (it came preinstalled with ubuntu) when I type whereis python3
the first line says it should be in /usr/bin/python3 and /usr/lib/python3 and other directories, but I do not have it in /usr/bin, only /usr/lib.
package-management python3 pip
New contributor
add a comment |
I recently installed ubuntu 18.04 on my computer. Sadly my pc does not have a wifi chip. I do not have ethernet in my house either. Is there a way to install pip3 or any package offline? I do not have another computer with ubuntu installed, so I cannot take the package from there.
Also there may be something wrong with my python installation (it came preinstalled with ubuntu) when I type whereis python3
the first line says it should be in /usr/bin/python3 and /usr/lib/python3 and other directories, but I do not have it in /usr/bin, only /usr/lib.
package-management python3 pip
New contributor
Enterwhich python
.
– Emmet
16 hours ago
@Emmetwhich python
returns nothing, butwhich python3
returns/usr/bin/python3
, when I try to navigate to that locationcd /usr/bin/python3
it says that it's not a directory. I have also tried usingsudo bash
before those commands.
– Kerrot
16 hours ago
try/usr/bin/python3
(withoutcd
of course)
– Emmet
16 hours ago
add a comment |
I recently installed ubuntu 18.04 on my computer. Sadly my pc does not have a wifi chip. I do not have ethernet in my house either. Is there a way to install pip3 or any package offline? I do not have another computer with ubuntu installed, so I cannot take the package from there.
Also there may be something wrong with my python installation (it came preinstalled with ubuntu) when I type whereis python3
the first line says it should be in /usr/bin/python3 and /usr/lib/python3 and other directories, but I do not have it in /usr/bin, only /usr/lib.
package-management python3 pip
New contributor
I recently installed ubuntu 18.04 on my computer. Sadly my pc does not have a wifi chip. I do not have ethernet in my house either. Is there a way to install pip3 or any package offline? I do not have another computer with ubuntu installed, so I cannot take the package from there.
Also there may be something wrong with my python installation (it came preinstalled with ubuntu) when I type whereis python3
the first line says it should be in /usr/bin/python3 and /usr/lib/python3 and other directories, but I do not have it in /usr/bin, only /usr/lib.
package-management python3 pip
package-management python3 pip
New contributor
New contributor
New contributor
asked 16 hours ago
KerrotKerrot
82
82
New contributor
New contributor
Enterwhich python
.
– Emmet
16 hours ago
@Emmetwhich python
returns nothing, butwhich python3
returns/usr/bin/python3
, when I try to navigate to that locationcd /usr/bin/python3
it says that it's not a directory. I have also tried usingsudo bash
before those commands.
– Kerrot
16 hours ago
try/usr/bin/python3
(withoutcd
of course)
– Emmet
16 hours ago
add a comment |
Enterwhich python
.
– Emmet
16 hours ago
@Emmetwhich python
returns nothing, butwhich python3
returns/usr/bin/python3
, when I try to navigate to that locationcd /usr/bin/python3
it says that it's not a directory. I have also tried usingsudo bash
before those commands.
– Kerrot
16 hours ago
try/usr/bin/python3
(withoutcd
of course)
– Emmet
16 hours ago
Enter
which python
.– Emmet
16 hours ago
Enter
which python
.– Emmet
16 hours ago
@Emmet
which python
returns nothing, but which python3
returns /usr/bin/python3
, when I try to navigate to that location cd /usr/bin/python3
it says that it's not a directory. I have also tried using sudo bash
before those commands.– Kerrot
16 hours ago
@Emmet
which python
returns nothing, but which python3
returns /usr/bin/python3
, when I try to navigate to that location cd /usr/bin/python3
it says that it's not a directory. I have also tried using sudo bash
before those commands.– Kerrot
16 hours ago
try
/usr/bin/python3
(without cd
of course)– Emmet
16 hours ago
try
/usr/bin/python3
(without cd
of course)– Emmet
16 hours ago
add a comment |
1 Answer
1
active
oldest
votes
You have to at least have an internet connection to download things, the installation can be done offline, but to have the package prepared you have to download—you get the idea.
Python interpreter should be included default as part of Ubuntu installation, please check this through which python
, in my 18.04 box it returns.
:~$ which python3
/usr/bin/python3
Entering /usr/bin/python3
.
:~$ /usr/bin/python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, dosudo dpkg -i *.deb
then.
– Emmet
16 hours ago
|
show 3 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Kerrot 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%2faskubuntu.com%2fquestions%2f1133772%2finstall-python-3-6-7-pip3-offline%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to at least have an internet connection to download things, the installation can be done offline, but to have the package prepared you have to download—you get the idea.
Python interpreter should be included default as part of Ubuntu installation, please check this through which python
, in my 18.04 box it returns.
:~$ which python3
/usr/bin/python3
Entering /usr/bin/python3
.
:~$ /usr/bin/python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, dosudo dpkg -i *.deb
then.
– Emmet
16 hours ago
|
show 3 more comments
You have to at least have an internet connection to download things, the installation can be done offline, but to have the package prepared you have to download—you get the idea.
Python interpreter should be included default as part of Ubuntu installation, please check this through which python
, in my 18.04 box it returns.
:~$ which python3
/usr/bin/python3
Entering /usr/bin/python3
.
:~$ /usr/bin/python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, dosudo dpkg -i *.deb
then.
– Emmet
16 hours ago
|
show 3 more comments
You have to at least have an internet connection to download things, the installation can be done offline, but to have the package prepared you have to download—you get the idea.
Python interpreter should be included default as part of Ubuntu installation, please check this through which python
, in my 18.04 box it returns.
:~$ which python3
/usr/bin/python3
Entering /usr/bin/python3
.
:~$ /usr/bin/python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
You have to at least have an internet connection to download things, the installation can be done offline, but to have the package prepared you have to download—you get the idea.
Python interpreter should be included default as part of Ubuntu installation, please check this through which python
, in my 18.04 box it returns.
:~$ which python3
/usr/bin/python3
Entering /usr/bin/python3
.
:~$ /usr/bin/python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
answered 16 hours ago
EmmetEmmet
7,97822346
7,97822346
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, dosudo dpkg -i *.deb
then.
– Emmet
16 hours ago
|
show 3 more comments
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, dosudo dpkg -i *.deb
then.
– Emmet
16 hours ago
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
thank you, at least I know that python works. But how do I get the pip package? I have another computer (without ubuntu) which has an internet connection.
– Kerrot
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
Without Ubuntu ? Then you have to download each required file in packages.ubuntu.com/bionic/python-pip, if you have access to Ubuntu with internet this would be alot simpler.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
If you have the time, please accept this answer by clicking grey checkmark to turn into green checkmark ✅.
– Emmet
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
One more thing, now that I have the source of python-pip what do I do with it? Sorry, I'm just not very familiar with linux
– Kerrot
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, do
sudo dpkg -i *.deb
then.– Emmet
16 hours ago
Copy the source file to your Ubuntu, then open terminal - navigate to directory where the 'source' file located, do
sudo dpkg -i *.deb
then.– Emmet
16 hours ago
|
show 3 more comments
Kerrot is a new contributor. Be nice, and check out our Code of Conduct.
Kerrot is a new contributor. Be nice, and check out our Code of Conduct.
Kerrot is a new contributor. Be nice, and check out our Code of Conduct.
Kerrot is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2faskubuntu.com%2fquestions%2f1133772%2finstall-python-3-6-7-pip3-offline%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
Enter
which python
.– Emmet
16 hours ago
@Emmet
which python
returns nothing, butwhich python3
returns/usr/bin/python3
, when I try to navigate to that locationcd /usr/bin/python3
it says that it's not a directory. I have also tried usingsudo bash
before those commands.– Kerrot
16 hours ago
try
/usr/bin/python3
(withoutcd
of course)– Emmet
16 hours ago