From: Jim P. <jim...@gm...> - 2011-02-27 21:12:43
|
This library looks to be very useful for me, and I'd like to thank the developers. I didn't see this in the archives and regret if it is a repeat of another post, but the release version of cclib-1.0 will not install correctly using the INSTALL notes on Ubuntu 10.04. The user must recursively change the permissions of the installed files. Ideally, the installer would do this and remove the group "staff" from the new install. My steps. 1. Ensure python, python-dev, and numpy are installed per INSTALL directions 2. as user, $> python setup.py build 3. change to root, and install $> sudo su root $> python setup.py install Note: giving the command $> sudo python setup.py install will install to /usr/local/lib/pythonx.x/site-packages rather than /usr/local/lib/pythonx.x/dist-packages. The difference is that dist-packages is loaded into PYTHONPATH by default in Ubuntu 10.04, site-packages is not. --Additional steps required beyond INSTALL directions. 4. Fix permissions $> cd /usr/local/lib/pythonx.x/ $> sudo chmod --recursive 755 * (not best, but if you want you can change the *.py files to 644) 5. Remove "staff" group $> sudo chgrp --recursive root * HTH some other new user. Cheers, --Jim |