Installing 'requests' using easy_installWhy do I get “permission denied” errors with Python...

How do I check if a string is entirely made of the same substring?

Which big number is bigger?

A ​Note ​on ​N!

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

Relationship between strut and baselineskip

Why must Chinese maps be obfuscated?

"You've called the wrong number" or "You called the wrong number"

How exactly does Hawking radiation decrease the mass of black holes?

Is the claim "Employers won't employ people with no 'social media presence'" realistic?

How to have a sharp product image?

Do I have an "anti-research" personality?

Implications of cigar-shaped bodies having rings?

What is the philosophical significance of speech acts/implicature?

Should the Death Curse affect an undead PC in the Tomb of Annihilation adventure?

Apply MapThread to all but one variable

How much cash can I safely carry into the USA and avoid civil forfeiture?

What happened to Captain America in Endgame?

acheter à, to mean both "from" and "for"?

Is Diceware more secure than a long passphrase?

What makes accurate emulation of old systems a difficult task?

Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Re-entry to Germany after vacation using blue card

What's the name of these pliers?



Installing 'requests' using easy_install


Why do I get “permission denied” errors with Python easy_install?easy_install with different pythonHow to install apt packages?installing ecdsassl missing from Python. 'module' object has no attribute 'HTTPSConnection'Permission denied error when using easy_installHow to fix apt after doing easy_install pip?Pip Error while installing: virtualenv, django and upgrading pipProblem in installing pip in Ubuntu 16.04Error in pip: unsupported operand type(s) for -=: 'Retry' and 'int'






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







4















I'm trying to install 'requests module' using easy_install but I'm getting the following error:



$ sudo easy_install requests
Processing requests
error: Not a recognized archive type: requests


If I try with pip, I get the following error:



$ pip install requests
Unknown or unsupported command 'install'









share|improve this question

























  • sudo easy_install requests

    – Naive
    Sep 23 '13 at 7:52











  • try "pip install requests"

    – Python Student
    Sep 23 '13 at 7:56











  • install is a valid pip command, so something is very wrong. What version of Ubuntu are you using? How did you install pip? What does pip --version say?

    – Timo
    Sep 23 '13 at 9:26











  • sudo apt-get install pip and pip v5.10.0

    – Naive
    Sep 23 '13 at 9:36








  • 1





    @Kummi_10: impossible. At this time, the latest version is 1.4.1 and 1.3.1 is shipped with the latest Ubuntu.

    – Timo
    Sep 25 '13 at 9:51


















4















I'm trying to install 'requests module' using easy_install but I'm getting the following error:



$ sudo easy_install requests
Processing requests
error: Not a recognized archive type: requests


If I try with pip, I get the following error:



$ pip install requests
Unknown or unsupported command 'install'









share|improve this question

























  • sudo easy_install requests

    – Naive
    Sep 23 '13 at 7:52











  • try "pip install requests"

    – Python Student
    Sep 23 '13 at 7:56











  • install is a valid pip command, so something is very wrong. What version of Ubuntu are you using? How did you install pip? What does pip --version say?

    – Timo
    Sep 23 '13 at 9:26











  • sudo apt-get install pip and pip v5.10.0

    – Naive
    Sep 23 '13 at 9:36








  • 1





    @Kummi_10: impossible. At this time, the latest version is 1.4.1 and 1.3.1 is shipped with the latest Ubuntu.

    – Timo
    Sep 25 '13 at 9:51














4












4








4


1






I'm trying to install 'requests module' using easy_install but I'm getting the following error:



$ sudo easy_install requests
Processing requests
error: Not a recognized archive type: requests


If I try with pip, I get the following error:



$ pip install requests
Unknown or unsupported command 'install'









share|improve this question
















I'm trying to install 'requests module' using easy_install but I'm getting the following error:



$ sudo easy_install requests
Processing requests
error: Not a recognized archive type: requests


If I try with pip, I get the following error:



$ pip install requests
Unknown or unsupported command 'install'






python






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 2 '13 at 14:19









Braiam

52.8k20139226




52.8k20139226










asked Sep 23 '13 at 7:39









NaiveNaive

1,50691830




1,50691830













  • sudo easy_install requests

    – Naive
    Sep 23 '13 at 7:52











  • try "pip install requests"

    – Python Student
    Sep 23 '13 at 7:56











  • install is a valid pip command, so something is very wrong. What version of Ubuntu are you using? How did you install pip? What does pip --version say?

    – Timo
    Sep 23 '13 at 9:26











  • sudo apt-get install pip and pip v5.10.0

    – Naive
    Sep 23 '13 at 9:36








  • 1





    @Kummi_10: impossible. At this time, the latest version is 1.4.1 and 1.3.1 is shipped with the latest Ubuntu.

    – Timo
    Sep 25 '13 at 9:51



















  • sudo easy_install requests

    – Naive
    Sep 23 '13 at 7:52











  • try "pip install requests"

    – Python Student
    Sep 23 '13 at 7:56











  • install is a valid pip command, so something is very wrong. What version of Ubuntu are you using? How did you install pip? What does pip --version say?

    – Timo
    Sep 23 '13 at 9:26











  • sudo apt-get install pip and pip v5.10.0

    – Naive
    Sep 23 '13 at 9:36








  • 1





    @Kummi_10: impossible. At this time, the latest version is 1.4.1 and 1.3.1 is shipped with the latest Ubuntu.

    – Timo
    Sep 25 '13 at 9:51

















sudo easy_install requests

– Naive
Sep 23 '13 at 7:52





sudo easy_install requests

– Naive
Sep 23 '13 at 7:52













try "pip install requests"

– Python Student
Sep 23 '13 at 7:56





try "pip install requests"

– Python Student
Sep 23 '13 at 7:56













install is a valid pip command, so something is very wrong. What version of Ubuntu are you using? How did you install pip? What does pip --version say?

– Timo
Sep 23 '13 at 9:26





install is a valid pip command, so something is very wrong. What version of Ubuntu are you using? How did you install pip? What does pip --version say?

– Timo
Sep 23 '13 at 9:26













sudo apt-get install pip and pip v5.10.0

– Naive
Sep 23 '13 at 9:36







sudo apt-get install pip and pip v5.10.0

– Naive
Sep 23 '13 at 9:36






1




1





@Kummi_10: impossible. At this time, the latest version is 1.4.1 and 1.3.1 is shipped with the latest Ubuntu.

– Timo
Sep 25 '13 at 9:51





@Kummi_10: impossible. At this time, the latest version is 1.4.1 and 1.3.1 is shipped with the latest Ubuntu.

– Timo
Sep 25 '13 at 9:51










2 Answers
2






active

oldest

votes


















3














I just ran the same commands as you, and didn't produce the same error.



$ sudo easy_install requests
Searching for requests
Reading http://pypi.python.org/simple/requests/
Best match: requests 2.0.0
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f
Processing requests-2.0.0.tar.gz
Writing /tmp/easy_install-8vDXEw/requests-2.0.0/setup.cfg
Running requests-2.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8vDXEw/requests-2.0.0/egg-dist-tmp-HTUm16
Adding requests 2.0.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Processing dependencies for requests
Finished processing dependencies for requests

$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Cleaning up...


I will have to check what the log says, but as you see pip works just fine. You may need to reinstall pip:



sudo apt-get --purge autoremove pip
sudo apt-get install pip





share|improve this answer


























  • It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

    – Timo
    Sep 25 '13 at 9:53













  • @Timo thanks, for the missing s but either way it installs correctly.

    – Braiam
    Sep 25 '13 at 12:18











  • I had to do "sudo pip install requests".

    – VectorVortec
    Mar 28 '17 at 10:52



















0














sudo apt install python-pip

pip install requests





share








New contributor




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
















  • 1





    Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

    – Jeff
    16 hours ago






  • 1





    This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

    – karel
    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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f348975%2finstalling-requests-using-easy-install%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














I just ran the same commands as you, and didn't produce the same error.



$ sudo easy_install requests
Searching for requests
Reading http://pypi.python.org/simple/requests/
Best match: requests 2.0.0
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f
Processing requests-2.0.0.tar.gz
Writing /tmp/easy_install-8vDXEw/requests-2.0.0/setup.cfg
Running requests-2.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8vDXEw/requests-2.0.0/egg-dist-tmp-HTUm16
Adding requests 2.0.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Processing dependencies for requests
Finished processing dependencies for requests

$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Cleaning up...


I will have to check what the log says, but as you see pip works just fine. You may need to reinstall pip:



sudo apt-get --purge autoremove pip
sudo apt-get install pip





share|improve this answer


























  • It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

    – Timo
    Sep 25 '13 at 9:53













  • @Timo thanks, for the missing s but either way it installs correctly.

    – Braiam
    Sep 25 '13 at 12:18











  • I had to do "sudo pip install requests".

    – VectorVortec
    Mar 28 '17 at 10:52
















3














I just ran the same commands as you, and didn't produce the same error.



$ sudo easy_install requests
Searching for requests
Reading http://pypi.python.org/simple/requests/
Best match: requests 2.0.0
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f
Processing requests-2.0.0.tar.gz
Writing /tmp/easy_install-8vDXEw/requests-2.0.0/setup.cfg
Running requests-2.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8vDXEw/requests-2.0.0/egg-dist-tmp-HTUm16
Adding requests 2.0.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Processing dependencies for requests
Finished processing dependencies for requests

$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Cleaning up...


I will have to check what the log says, but as you see pip works just fine. You may need to reinstall pip:



sudo apt-get --purge autoremove pip
sudo apt-get install pip





share|improve this answer


























  • It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

    – Timo
    Sep 25 '13 at 9:53













  • @Timo thanks, for the missing s but either way it installs correctly.

    – Braiam
    Sep 25 '13 at 12:18











  • I had to do "sudo pip install requests".

    – VectorVortec
    Mar 28 '17 at 10:52














3












3








3







I just ran the same commands as you, and didn't produce the same error.



$ sudo easy_install requests
Searching for requests
Reading http://pypi.python.org/simple/requests/
Best match: requests 2.0.0
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f
Processing requests-2.0.0.tar.gz
Writing /tmp/easy_install-8vDXEw/requests-2.0.0/setup.cfg
Running requests-2.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8vDXEw/requests-2.0.0/egg-dist-tmp-HTUm16
Adding requests 2.0.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Processing dependencies for requests
Finished processing dependencies for requests

$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Cleaning up...


I will have to check what the log says, but as you see pip works just fine. You may need to reinstall pip:



sudo apt-get --purge autoremove pip
sudo apt-get install pip





share|improve this answer















I just ran the same commands as you, and didn't produce the same error.



$ sudo easy_install requests
Searching for requests
Reading http://pypi.python.org/simple/requests/
Best match: requests 2.0.0
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.0.0.tar.gz#md5=856fc825c17483e25fd55db115028e3f
Processing requests-2.0.0.tar.gz
Writing /tmp/easy_install-8vDXEw/requests-2.0.0/setup.cfg
Running requests-2.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8vDXEw/requests-2.0.0/egg-dist-tmp-HTUm16
Adding requests 2.0.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Processing dependencies for requests
Finished processing dependencies for requests

$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python2.7/dist-packages/requests-2.0.0-py2.7.egg
Cleaning up...


I will have to check what the log says, but as you see pip works just fine. You may need to reinstall pip:



sudo apt-get --purge autoremove pip
sudo apt-get install pip






share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 25 '13 at 12:17

























answered Sep 24 '13 at 22:23









BraiamBraiam

52.8k20139226




52.8k20139226













  • It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

    – Timo
    Sep 25 '13 at 9:53













  • @Timo thanks, for the missing s but either way it installs correctly.

    – Braiam
    Sep 25 '13 at 12:18











  • I had to do "sudo pip install requests".

    – VectorVortec
    Mar 28 '17 at 10:52



















  • It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

    – Timo
    Sep 25 '13 at 9:53













  • @Timo thanks, for the missing s but either way it installs correctly.

    – Braiam
    Sep 25 '13 at 12:18











  • I had to do "sudo pip install requests".

    – VectorVortec
    Mar 28 '17 at 10:52

















It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

– Timo
Sep 25 '13 at 9:53







It installs just fine here, you're giving pip the wrong package name. It's requests. It's also a different error than the question, which have nothing to do with each other.

– Timo
Sep 25 '13 at 9:53















@Timo thanks, for the missing s but either way it installs correctly.

– Braiam
Sep 25 '13 at 12:18





@Timo thanks, for the missing s but either way it installs correctly.

– Braiam
Sep 25 '13 at 12:18













I had to do "sudo pip install requests".

– VectorVortec
Mar 28 '17 at 10:52





I had to do "sudo pip install requests".

– VectorVortec
Mar 28 '17 at 10:52













0














sudo apt install python-pip

pip install requests





share








New contributor




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
















  • 1





    Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

    – Jeff
    16 hours ago






  • 1





    This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

    – karel
    16 hours ago
















0














sudo apt install python-pip

pip install requests





share








New contributor




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
















  • 1





    Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

    – Jeff
    16 hours ago






  • 1





    This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

    – karel
    16 hours ago














0












0








0







sudo apt install python-pip

pip install requests





share








New contributor




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










sudo apt install python-pip

pip install requests






share








New contributor




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








share


share






New contributor




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









answered 16 hours ago









Muh.Anugrah MulyaMuh.Anugrah Mulya

1




1




New contributor




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





New contributor





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






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








  • 1





    Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

    – Jeff
    16 hours ago






  • 1





    This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

    – karel
    16 hours ago














  • 1





    Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

    – Jeff
    16 hours ago






  • 1





    This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

    – karel
    16 hours ago








1




1





Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

– Jeff
16 hours ago





Welcome to ask ubuntu. It is best to include an explanation as to what the posted commands do.

– Jeff
16 hours ago




1




1





This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

– karel
16 hours ago





This was already was tried in the question and it didn't work. It should have worked, but it didn't work.

– karel
16 hours ago


















draft saved

draft discarded




















































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%2f348975%2finstalling-requests-using-easy-install%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

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...