[Tutor] Missing Standard Libraries on Python 3.5 for Mac

Jack Potrashitel soupoffideas at gmail.com
Mon Feb 29 12:15:46 EST 2016


I use anaconda . Since i dont have peoblems with libraries

вторник, 3 ноября 2015 г. пользователь Zachary Ware написал:

> Hi Andrew,
>
> On Tue, Nov 3, 2015 at 11:20 AM, Andrew Machen
> <andrew.c.machen at gmail.com <javascript:;>> wrote:
> > Hi,
> >
> > I am new to Python, and I am trying to use a Python Standard Library,
> namely ‘unicodedata’, however it appears to be missing (others are also
> missing) from the built-in libraries that come with Python 3.5 for Mac.
> >
> > I have searched the following directory, but have not found the library:
> >
> >         /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
>
> Have you tried importing it?  If importing it works, you can then find
> where it lives by checking the __file__ attribute:
>
>     import unicodedata
>     print(unicodedata.__file__)
>
> > I have tried reinstalling Python 3.5 and also tried Python 3.4.3, and
> neither install the ‘unicodedata’ library. Is there anyway to install it
> manually?
>
> It should be included with your installation, assuming you're using
> the package from python.org.  If you are unable to import it, please
> raise an issue on the bug tracker at bugs.python.org.
>
> For the record, here's where unicodedata lives on my Mac:
>
> /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/
> unicodedata.cpython-35m-darwin.so
>
> Note that unicodedata is implemented in C, so it does not have a .py
> extension.
>
> --
> Zach
> _______________________________________________
> Tutor maillist  -  Tutor at python.org <javascript:;>
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list