Hi
i got this error when im trying to run a python script:
csh: FDK.init: No such file or directory. /bin/bash: line 2: : command not found
the python script is: import os print os
im running osx10.4.10 python 2.4.4
anyone any ideas??? it would be nice to get it working :)
thanks Frederik
Hi Frederik,
csh: FDK.init: No such file or directory. /bin/bash: line 2: : command not found
I think the problem is probably that you have something funny in your ~/.cshrc file. The error manifests, because older versions of the run command were using the `which` (which happens to be written for csh) command to find python.
Try finding out what's wrong with your .cshrc or just get rid of it entirely. Previously, people have had incorrectly quoted environment variables. So maybe that is the case.
Alternatively, you can switch your TextMate to "Cutting-Edge" updates, to get a more recent version of the Python bundle that no longer uses `which`.
Another possibility is that you have some outdated version of the bundle in ~/Library/Application Support/TextMate/Bundles/ that is overriding the version distributed with TextMate in which case you should remove it.
Did this help?
–Alex
Hi Alex
thanks a lot there where some old commands of the adobe FDK library in the .cshrc file. Once i removed them textmate was running like it should I just had to reinstall the FDK.
gr Frederik
www.typemytype.com
Op 25-sep-07, om 06:23 heeft Alexander Ross het volgende geschreven:
I think the problem is probably that you have something funny in your ~/.cshrc file. The error manifests, because older versions of the run command were using the `which` (which happens to be written for csh) command to find python.