Hi Joseph,

On Jun 26, 2009, at 12:23 PM, Joseph Jira wrote:

Hello:

Since I now have a working Mapnik installation on my Mac, I'd like to try to use nik2img-2_4.
My installation uses python 2.6 via macports.

Did you do?

svn co http://mapnik-utils.googlecode.com/svn/tags/nik2img/0.2.4/ nik2img2_4
cd nik2img2_4
sudo python setup.py install


I installed nik2img, but when trying to test my installation ($ which nik2img.py)
I got the error: -bash: nik2img.py: command not found.


That likely means that either your python setuptools/distutils setup put the command line script of nik2img in a location that is not on your PATH or the script did not install because you forgot to type 'sudo'.

How do I get my macports python 2.6 to recognize nik2img?


It should work as long as you follow the above instructions (using easy_install can be trickier because usually non-macports versions hanging around can cause problems).

My apologies for the simple questions, but I am new to this and have difficulties understanding how things connect from program to program.


If re-installing does not fix things, can you paste the output of the 'sudo python setup.py install' command in a reply email?

Dane
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to