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