[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

[Emacspeak] Re: Emacspeak and Mac OS



Hey Tim,

 

sorry if I did not explicate that clearly enough but I thought in my initial response I conveyed that I am using Python 3.9 and install pyobjc was the only requirement to install.

 

For the sake of it, I just briefly created some test environments and only running "Pip install pyobjc" is sufficient to use the mac speach server with all the python versions I tested: python 3.8.13, python 3.9.13 and python 3.10.4.

 

I understand the frustration, I initially felt similar and I still think distributions should have a shielded Python environment and it should be easier to bundle the environment for tool delivery - there actually is a PEP proposing a new way to handle environments. However, once I spent a few hours reading into it and getting the hang of it, I feel that the flexibility of virtual environments is pretty convenient.

 

Long story short: hopefully you are up and running and can use our all beloved emacspeak on the road :)

 

Best regards and enjoy the rest of the weekend,

Till

Gesendet: Sonntag, 31. Juli 2022 um 06:30 Uhr
Von: "Tim Cross via Emacspeak" <emacspeak@xxxxxxxxxxx>
An: "Tyler Spivey" <tspivey@xxxxxxxxxxx>
Cc: emacspeak@xxxxxxxxxxx
Betreff: [Emacspeak] Re: Emacspeak and Mac OS

Thank you Tyler, that was exactly the information I needed. Having
confirmation that 3.9 works, together with installing pyobjc got me
there. I did need to completely uninstall python to get a clean
environment, but that seems to be SOP for python. Once I had your
confirmation, I knew it was just necessary to persevere and know I was
not being defeated by version incompatibilities etc.


Tyler Spivey via Emacspeak <emacspeak@xxxxxxxxxxx> writes:

> Here's what I just did to get it working, from scratch, on a mac that has never had
> emacspeak installed.
> First, I ran brew uninstall python3 to remove Python 3.
> To make sure it's completely gone, I ran rm -rf /opt/homebrew/lib/python3.9 (this
> directory will differ depending on what Python version and where your homebrew is).
> 1. brew install python3
> This installed Python 3.9.
> 2. which python3 -- for me, returns /opt/homebrew/bin/python3
> 3. pip3 --version -- returns the correct pip for Python 3.9
> After cloning emacspeak:
> 4. python3 servers/mac -- returns ModuleNotFoundError: No module named 'Foundation'
> 5. pip3 install pyobjc -- installs a bunch of stuff
> 6. python3 servers/mac -- talks, and the server works.
>
>
> On 7/30/2022 6:16 PM, Tim Cross via Emacspeak wrote:
>> Raman,
>> I would still like to know what versions of python 3 are supported by
>> the mac speech server. Answer to that question may well result in me not
>> expressing my frustration with Python, a language I dislike immensely!
>> "T.V Raman" <raman@xxxxxxxxxxx> writes:
>>
>>> Rants usually lead to confusion and generate heat -- not light; so
>>> please keep your language dislikes and likes off the table.
>>>
>>> On your older Mac with Python 2.7, just replace servers/mac in your git
>>> checkout or install with servers/mac from an older emacspeak,
>>> e.g. Emacspeak 55.
>> _______________________________________________
>> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
>> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
> _______________________________________________
> Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
> To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx
_______________________________________________
Emacspeak mailing list -- emacspeak@xxxxxxxxxxx
To unsubscribe send an email to emacspeak-leave@xxxxxxxxxxx


|May 1995 - Last Year|Current Year|


If you have questions about this archive or had problems using it, please contact us.

Contact Info Page