Issue 28 in scitools: Trying to install a Scitools Python pkg via 'pip install' but getting error

13 views
Skip to first unread message

scit...@googlecode.com

unread,
Sep 9, 2013, 8:59:04 PM9/9/13
to scitoo...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 28 by mchl.lov...@gmail.com: Trying to install a Scitools Python
pkg via 'pip install' but getting error
http://code.google.com/p/scitools/issues/detail?id=28

What steps will reproduce the problem?
1.Go to Windows command prompt
2.Change directory to the 'Anaconda' directory (since I use their python
Distribution and pkgs)
3. Type 'pip install scitools

What is the expected output? What do you see instead?
Expected out put is to have scitools downloaded into Python within Anaconda

I see instead this (also see attachment): http://i.imgur.com/kYSMdRZ.gif


What version of the product are you using? On what operating system?
I am using Windows 7

Please provide any additional information below.


Attachments:
Pip_error.GIF 36.6 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

scit...@googlecode.com

unread,
Sep 10, 2013, 10:22:47 AM9/10/13
to scitoo...@googlegroups.com

Comment #1 on issue 28 by h...@simula.no: Trying to install a Scitools
Python pkg via 'pip install' but getting error
http://code.google.com/p/scitools/issues/detail?id=28

The problem is that you have probably tried pip install twice and now
os.rename won't write to an existing file. The quick fix is to remove
*.old~~, but you have to find the right directory where pip install puts
the source and runs setup.py.

An alternative that I recommend is clone the source code (hg clone) and run
python setup.py install manually. Then you have the latest and most
bug-free version of scitools and you can easier recover from errors like
the one above (del *.old~~ in the directory where setup.py resides will do).

scit...@googlecode.com

unread,
Sep 10, 2013, 12:27:52 PM9/10/13
to scitoo...@googlegroups.com

Comment #2 on issue 28 by mchl.lov...@gmail.com: Trying to install a
Scitools Python pkg via 'pip install' but getting error
http://code.google.com/p/scitools/issues/detail?id=28

Thank you for your prompt response! However, I am fairly new to
programming so do you mine elaborating more on the steps that are needed to
accomplish your recommended alternative.

Thanks again!

scit...@googlecode.com

unread,
Dec 28, 2013, 2:23:33 PM12/28/13
to scitoo...@googlegroups.com

Comment #3 on issue 28 by david.w...@gatech.edu: Trying to install a
Scitools Python pkg via 'pip install' but getting error
http://code.google.com/p/scitools/issues/detail?id=28

@Hans:
This happens even when using pip the first time. pip will first run 'python
setup.py egg-info', which leaves behind the temporary file
scitools.cfg.old~~. Then it runs 'python setup.py install', which fails
because scitools.cfg.old~~ already exists.

Please see my patch in issue 31 to resolve this. (Sorry I did not realize
Google would create a separate issue when suggesting a change).
Reply all
Reply to author
Forward
0 new messages