Install python 3.6.7 pip3 offline





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















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.










share|improve this question







New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • 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











  • try /usr/bin/python3 (without cd of course)

    – Emmet
    16 hours ago




















1















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.










share|improve this question







New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • 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











  • try /usr/bin/python3 (without cd of course)

    – Emmet
    16 hours ago
















1












1








1








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.










share|improve this question







New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question







New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 16 hours ago









KerrotKerrot

82




82




New contributor




Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Kerrot is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • 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











  • try /usr/bin/python3 (without cd of course)

    – 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











  • try /usr/bin/python3 (without cd 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












1 Answer
1






active

oldest

votes


















0














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.





share|improve this answer
























  • 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, do sudo dpkg -i *.deb then.

    – Emmet
    16 hours ago












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.










draft saved

draft discarded


















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









0














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.





share|improve this answer
























  • 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, do sudo dpkg -i *.deb then.

    – Emmet
    16 hours ago
















0














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.





share|improve this answer
























  • 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, do sudo dpkg -i *.deb then.

    – Emmet
    16 hours ago














0












0








0







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.





share|improve this answer













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.






share|improve this answer












share|improve this answer



share|improve this answer










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, do sudo 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











  • 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, do sudo 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










Kerrot is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection