From: Noel O'B. <no...@ca...> - 2006-02-14 11:22:26
|
You don't need to be administrator,...but it helps. Otherwise, you can instead install in your local directory. Make a folder to install into. On my system, I created "/home/no228/python". Then run install as follows: "python setup.py install --prefix /home/no228/python" Then, set the environment variable PYTHONPATH to include this new location, so that python will be able to find these locally-installed libraries. On my system (bash): "export PYTHONPATH=/home/no228/python/lib/python2.4/site-packages" To test, type: $ python >>> from Gnuplot import * (there shouldn't be any error messages) Regards, Noel On Mon, 2006-02-13 at 17:42 +0000, Hannah Singh wrote: > OK, so I've downloaded and untar'd the gnuplot-py-1.7 file, and tried to install it, but I keep coming up > against errors. I suspect this is quite possibly due to my general incompetence, so some help/advice/ > pointers would be greatly appreciated. > > In the readme file it says: 3. Install by changing to the directory and typing "python setup.py install". > > I assumed this meant in terminal, so I went and did that, and got this error: > > creating /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/Gnuplot > error: could not create '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- > packages/Gnuplot': Permission denied > > Am I right in thinking that this means I haven't installed Gnuplot correctly? If so, what could I have done > wrong, as I simply followed the auto-install prompt. > > Many thanks in advance, > Hannah > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users |