error: could not delete 'build/lib/scitools/scitools.cfg': Permission denied

9 views
Skip to first unread message

hc

unread,
Jun 7, 2010, 1:12:03 PM6/7/10
to scitools
Hello,

I am a newbie to learn python+scitools. I got the following error from
the scistools installation:

"error: could not delete 'build/lib/scitools/scitools.cfg': Permission
denied"

Does it matter? Am I ready to use Python+scitools? If not, please let
me know any tricks to fix it?

The error mentioned above was adapted from the Terminal messages (mac
os snow leopard):
_____________________________________________________
Last login: Mon Jun 7 12:33:28 on ttys000
hc-MacBook-Pro:~ hc$ cd /Applications/scitools-0.7
hc-MacBook-Pro:scitools-0.7 hc$ python setup.py install
after except!!!!!!!!!!!!!!!!
default scitools.easyviz backend becomes gnuplot
(could be set by the --easyviz_backend option to setup.py)

scitools.easyviz backend is gnuplot
running install
running build
running build_py
copying lib/scitools/scitools.cfg -> build/lib/scitools
error: could not delete 'build/lib/scitools/scitools.cfg': Permission
denied
hc-MacBook-Pro:scitools-0.7 hc$ python
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scitools.all import *
scitools.easyviz backend is gnuplot
>>>
_____________________________________________________________

Thank you very much in advance.


Hans Petter Langtangen

unread,
Jun 7, 2010, 3:31:41 PM6/7/10
to scit...@googlegroups.com

The problem might be that you stored the scitools source in the
/Application tree, which consists of system directories. You ran
setup.py as a plain user, who probably doesn't have rights to remove
or create directories under /Application. Put the scitools-0.7 tree
under your home account and try again, or run setup.py with the sudo
prefix.

Hans Petter

hc

unread,
Jun 7, 2010, 4:57:35 PM6/7/10
to scitools
Hans:

Many thanks for your suggested solutions. The error was gone.

hc
Reply all
Reply to author
Forward
0 new messages