From: John Kitchin <jkitchin@andrew.cmu.edu>
To: news1142@karl-voit.at
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: OT: installing pip on Windows/Cygwin (was: Wanted: volunteer to integrate REST-client (restclient.el))
Date: Wed, 12 Feb 2014 12:08:01 -0500 [thread overview]
Message-ID: <CAJ51ETosP+KJw=Pq3Bshuz19t9YLrGpBbgDej9OgcYHscowZxA@mail.gmail.com> (raw)
In-Reply-To: <2014-02-12T15-56-44@devnull.Karl-Voit.at>
[-- Attachment #1: Type: text/plain, Size: 3300 bytes --]
I don't understand, it looks like this worked.
#+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
After this, are you unable to import requests?
I don't use cygwin, and maybe the funny drive paths confuse windows.
John
-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu
On Wed, Feb 12, 2014 at 10:02 AM, Karl Voit <devnull@karl-voit.at> wrote:
> Hi John!
>
> * John Kitchin <jkitchin@andrew.cmu.edu> 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
>
>
>
[-- Attachment #2: Type: text/html, Size: 5085 bytes --]
prev parent reply other threads:[~2014-02-12 17:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-07 13:35 Wanted: volunteer to integrate REST-client (restclient.el) Karl Voit
2014-02-09 0:18 ` John Kitchin
2014-02-10 13:13 ` Karl Voit
2014-02-10 15:59 ` John Kitchin
2014-02-12 15:02 ` OT: installing pip on Windows/Cygwin (was: Wanted: volunteer to integrate REST-client (restclient.el)) Karl Voit
2014-02-12 16:12 ` Karl Voit
2014-02-12 17:08 ` John Kitchin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ51ETosP+KJw=Pq3Bshuz19t9YLrGpBbgDej9OgcYHscowZxA@mail.gmail.com' \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@karl-voit.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).