Open GoogleCodeExporter opened 9 years ago
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).
Original comment by h...@simula.no
on 10 Sep 2013 at 2:22
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!
Original comment by mchl.lov...@gmail.com
on 10 Sep 2013 at 4:27
@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).
Original comment by david.w...@gatech.edu
on 28 Dec 2013 at 7:23
Original issue reported on code.google.com by
mchl.lov...@gmail.com
on 10 Sep 2013 at 12:58Attachments: