New to Typophile? Accounts are free, and easy to set up.
I was trying to use the AFDKO's checkOutlines and AutoHint, but it didn't work because the Python version was 2.5 in MacOSX 10.4. I got an error message that "This script supports only Python versions 2.3 and 2.4. The current version is 2.5."
So I would like to replace ver.2.5 to ver.2.4 or ver.2.3 but I didn't know how should I replace the python program. Or is there any way to solve this problem?
4 Apr 2008 — 12:28pm
Just curious if you've gotten anywhere with this. Maybe you're using an older AFDKO?
I'm running the latest AFDKO with Python 2.5 (2.5.1, specifically) without a problem — but under OS X 10.5.2, not 10.4.
4 Apr 2008 — 12:53pm
On Windows, you can install multiple versions of Python, and I'm guessing the same is true on the Mac. So you may not need to replace v2.5, but might install v2.4 alongside it. You can get the v2.4 package for Mac here: http://www.pythonmac.org/packages/
5 Apr 2008 — 8:27am
Thanks your comment, Joshua.
>I’m running the latest AFDKO with Python 2.5 (2.5.1, specifically) without a problem — but under OS X 10.5.2, not 10.4.
Really?
I've downloaded AFDKO again and reinstalled it, but It didn't work.
Thanks, John,
I've done it and checkOutlines script worked from FontLab.
I got a message that Terminal app. showed.
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
However, I've got another problem.
When I inputed command line "tx -h" into Terminal.app, Terminal showed an error message like
shotype:~ okano$ tx -h
-bash: tx: command not found
In order to confirm settings I inputed "which tx" into Terminal,
Then Terminal shows below message.
no tx in /Library/Frameworks/Python.framework/Versions/Current/bin /bin /sbin /usr/bin /usr/sbin
Maybe I have to fix the setting of the path, but I don't know where I should touch to fix the path.
5 Apr 2008 — 8:41am
Maybe I have to fix the setting of the path, but I don’t know where I should touch to fix the path.
Frankly, I don't know squat about Macs (well, except for emacs), but you might find info in this link useful: http://typophile.com/node/20078?.
Good luck.
5 Apr 2008 — 4:10pm
> shotype:~ okano$ tx -h
-bash: tx: command not found
Hi Kunihiko, try this:
1. Open a new Terminal window and type
pico .profile2. You should now have the .profile file opened in pico, and see some lines that look like this:
PATH=${PATH}:"/Users/your_username/bin/"3. Select those lines, copy them, and close the file (Ctrl+X)
4. Type
pico .bash_profile5. Paste the lines copied in step 3
6. Close the file (Ctrl+X), answering "Y" to save the changes
7. Close the Terminal window
8. Open a new Terminal window. Typing
tx -hshould now work, as well as all the other AFDKO command line toolsHope this helps.
5 Apr 2008 — 7:52pm
Thank you very much, Miguel!
That's it! This is very useful tips. I could add the path of AFDKO.
I appreciate to use AFDKO comfortably again.