From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: OT: installing pip on Windows/Cygwin (was: Wanted: volunteer to integrate REST-client (restclient.el)) Date: Wed, 12 Feb 2014 16:02:31 +0100 Message-ID: <2014-02-12T15-56-44@devnull.Karl-Voit.at> References: <2014-02-07T14-30-02@devnull.Karl-Voit.at> <2014-02-10T14-07-33@devnull.Karl-Voit.at> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDbKt-00041o-2p for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 10:02:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDbKn-0006WM-L7 for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 10:02:51 -0500 Received: from plane.gmane.org ([80.91.229.3]:34833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDbKn-0006WC-Ec for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 10:02:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WDbKk-00045K-RL for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 16:02:42 +0100 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Feb 2014 16:02:42 +0100 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Feb 2014 16:02:42 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi John! * John Kitchin wrote: > > windows and pip/easy_install are funny sometimes. > > I often do something like this: > > #+BEGIN_SRC python > from setuptools.command import easy_install > easy_install.main( ["-U","requests"] ) > #+END_SRC > > #+RESULTS: > #+begin_example > Searching for requests > Reading http://pypi.python.org/simple/requests/ > Best match: requests 2.2.1 > Downloading > https://pypi.python.org/packages/source/r/requests/requests-2.2.1.tar.gz#md5=ac27081135f58d1a43e4fb38258d6f4e > Processing requests-2.2.1.tar.gz > Writing /tmp/easy_install-EWppsP/requests-2.2.1/setup.cfg > Running requests-2.2.1/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-EWppsP/requests-2.2.1/egg-dist-tmp-xoXvDk > Adding requests 2.2.1 to easy-install.pth file > > Installed > /opt/kitchingroup/enthought/epd-7.3-2-rh5-x86_64/lib/python2.7/site-packages/requests-2.2.1-py2.7.egg > Processing dependencies for requests > Finished processing dependencies for requests > #+end_example Ah, great idea. However, at my side, it ends up like this: #+BEGIN_SRC python :results output from setuptools.command import easy_install easy_install.main( ["-U","requests"] ) #+END_SRC #+RESULTS: : Searching for requests : Reading http://pypi.python.org/simple/requests/ : Best match: requests 2.2.1 : Downloading https://pypi.python.org/packages/source/r/requests/requests-2.2.1.tar.gz#md5=ac27081135f58d1a43e4fb38258d6f4e : Processing requests-2.2.1.tar.gz : Writing /cygdrive/c/Users/KARL~1.VOI/AppData/Local/Temp/easy_install-L3Xxcz/requests-2.2.1/setup.cfg : Running requests-2.2.1/setup.py -q bdist_egg --dist-dir /cygdrive/c/Users/KARL~1.VOI/AppData/Local/Temp/easy_install-L3Xxcz/requests-2.2.1/egg-dist-tmp-veH5jq In Cygwin shell, I can execute "easy_install pip". After that, I can execute "pip" but I never get any output on "pip help" "pip -h" "pip --help" or "pip install requests". I miss my Linux at work :-( -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github