Dear Yating,
you are trying to change a system file, you don't have permission for it. You must use 'sudo' (i.e. sudo gedit /usrlib/python2.7/dist-packagee/openquake/hazardlib/gsim/lee_2015.py) to be able to open/edit those files.
Anyway, this approach is not the best one if are willing to develop/change OQ code. You should instead install the OpenQuake Engine using the installation procedure for developers; you can find it here: https://github.com/gem/oq-engine/blob/master/doc/installing/development.md
Cheers,
Daniele
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear Yating,
as stated in my previous reply, system installation (and files located under /usr) are not meant to be changed by the user; any change may break the entire OpenQuake installation. If you are willing to change the OpenQuake code you should install it via https://github.com/gem/oq-engine/blob/master/doc/installing/development.md
Cheers,
Daniele