problem installing imusim on mac

78 views
Skip to first unread message

peihu...@gmail.com

unread,
Jul 15, 2012, 4:13:36 AM7/15/12
to imusim...@googlegroups.com
Hi

I am trying to install imusim on my Mac but experienced the errors below.

------------------------------------------------------------
.....$ python setup.py install
running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/test-easy-install-987.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/site-packages/

Perhaps your account does not have write access to this directory?  If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account.  If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.

For information on other options, you may wish to consult the
documentation at:

  http://packages.python.org/distribute/easy_install.html

Please make the appropriate changes for your system and try again.
-------------------------------

Regards
Pei

Martin Ling

unread,
Jul 27, 2012, 10:08:18 PM7/27/12
to imusim...@googlegroups.com, peihu...@gmail.com
Hi Pei,

On Mac OS X, as per other Unix based systems, you need root permissions
to install to the system. This should be a matter of running with sudo,
i.e:

$ sudo python setup.py install

which will ask you for your normal user password.


Martin

P.S. You sent your message without joining the mailing list first, so it
was held for moderation. I'm answering it on the list so that others can
find the answer in future, and CCing to you. You won't get any further
messages unless you join.
> --
> You received this message because you are subscribed to the Google Groups
> "IMUSim" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/imusim-users/-/VjOxzRIdz4wJ.
> To post to this group, send email to imusim...@googlegroups.com.
> To unsubscribe from this group, send email to
> imusim-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/imusim-users?hl=en.


Reply all
Reply to author
Forward
0 new messages