Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Michael Torrie
On 12/08/2016 05:22 PM, 3dB wrote: >> pip install --user virtualenv >> >> It will wind up in $HOME/.local/lib/python2.7/site-packages (or similar) I >> believe. > > Skip, thanks, that worked for virtualenv. > > I'll now try sudo for Speechrecognition. You should be able to install speach recogni

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Michael Torrie
On 12/08/2016 05:19 PM, 3dB wrote: >>> pip install --user virtualenv >>> >>> It will wind up in $HOME/.local/lib/python2.7/site-packages (or >>> similar) I believe. > > Michael, Skip, > > I've noticed that Python is in the highest level of the drive, > HDD/Library/Python as opposed to usr/Librar

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread 3dB
> pip install --user virtualenv > > It will wind up in $HOME/.local/lib/python2.7/site-packages (or similar) I > believe. Skip, thanks, that worked for virtualenv. I'll now try sudo for Speechrecognition. -- https://mail.python.org/mailman/listinfo/python-list

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread 3dB
> > pip install --user virtualenv > > > > It will wind up in $HOME/.local/lib/python2.7/site-packages (or similar) I > > believe. Michael, Skip, I've noticed that Python is in the highest level of the drive, HDD/Library/Python as opposed to usr/Library. Does that present a problem? Also noti

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Michael Torrie
On 12/08/2016 02:27 PM, Skip Montanaro wrote: > Sorry, I haven't been following this thread carefully. Michael's use of > "sudo" caught my eye though. I know virtualenv might be "special", but > shouldn't this work? > > pip install --user virtualenv > > It will wind up in $HOME/.local/lib/python2

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Skip Montanaro
Sorry, I haven't been following this thread carefully. Michael's use of "sudo" caught my eye though. I know virtualenv might be "special", but shouldn't this work? pip install --user virtualenv It will wind up in $HOME/.local/lib/python2.7/site-packages (or similar) I believe. Skip On Thu, Dec

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Michael Torrie
On 12/08/2016 01:48 PM, 3dB wrote: > Michael, > > I tried installing virtual env but got similar permissions error: > > IOError: [Errno 13] Permission denied: > '/Library/Python/2.7/site-packages/virtualenv.py' Just to get virtual environment support you definitely have to install this package,

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Michael Torrie
On 12/08/2016 01:26 PM, 3dB wrote: > Thanks Michael, > > I think I was confusing Virtual Environment (VE) with IDE. > > Probably best if I get to grips with virtualenv to start with since I > can't complete installations at present and VE appears to offer best > solution. Despite Anton's warning

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread 3dB
Michael, I tried installing virtual env but got similar permissions error: IOError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/virtualenv.py' -- https://mail.python.org/mailman/listinfo/python-list

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread 3dB
Thanks Michael, I think I was confusing Virtual Environment (VE) with IDE. Probably best if I get to grips with virtualenv to start with since I can't complete installations at present and VE appears to offer best solution. -- https://mail.python.org/mailman/listinfo/python-list

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Michael Torrie
On 12/08/2016 11:23 AM, 3dB wrote: > Anton, Thanks for the detailed response. I will look into virtualenv > and others. Please excuse beginner's question, but is Xcode of any > use in this type of situation? Not directly, but it does provide a C compiler, which some Python modules require when you

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread 3dB
Anton, Thanks for the detailed response. I will look into virtualenv and others. Please excuse beginner's question, but is Xcode of any use in this type of situation? -- https://mail.python.org/mailman/listinfo/python-list

Re: MacOSX SpeechRecognition installation problems

2016-12-08 Thread Anton Mamaenko
I would suggest using virtual environment (virtualenv, for example) for installing such packages. Dealing with directory permissions on MacOS is complicated, and using "sudo" is not the right way. Moreover, during the next OS upgrade the permissions will be updated as well, and chances are tha

Re: MacOSX SpeechRecognition installation problems

2016-12-07 Thread Michael Torrie
On 12/07/2016 11:09 PM, 3dB wrote: > trying to install SpeechRecognition for Python results in error: > > running install_lib > creating /Library/Python/2.7/site-packages/speech_recognition > error: could not create > '/Library/Python/2.7/site-packages/speech_recognition': Permission deni

MacOSX SpeechRecognition installation problems

2016-12-07 Thread 3dB
trying to install SpeechRecognition for Python results in error: running install_lib creating /Library/Python/2.7/site-packages/speech_recognition error: could not create '/Library/Python/2.7/site-packages/speech_recognition': Permission denied Any advice on how to fix? Follow informat