MacOSX SpeechRecognition installation problems

Skip Montanaro skip.montanaro at gmail.com
Thu Dec 8 16:27:04 EST 2016


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 8, 2016 at 3:11 PM, Michael Torrie <torriem at gmail.com> wrote:

> 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, and it must go to the system packages area. So I think
> sudo is a must for this one.
>
> sudo <whatever command you typed before>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


More information about the Python-list mailing list