osx - How can I replace a Python 2.65 UCS-2 build with one built using UCS-4 without losing everything in my site-packages? -


I downloaded the Python 2.6.5 source, it is made for OS 10.6.4 64-bit, and many dependencies Are set up. I recently opened a large project working in our team, conducted unit tests, and one of the tests failed because I had made Python using UCS-2 (I did not know it was OS X Was the default!)

In short: I did not supply the flag - enabled-unicode = ucs4 while creating Python (as I found that it was necessary :)

Now I lose everything Without the sector would like to correct for losing site packages.

Is this possible? if so, how?

Thank you! Michaux

You can save the / Library / Fraameworks / Python.framework / Versions / 2.6 And can restore /lib/python2.6/site-packages (such as a .tar.bz2 ), but restored .so s If there are any deals with their entry points with Python Unicode objects - therefore, those packages (such as any .so files) will not work properly for you The version must be rebuilt / restored Ha! Hopefully this is very far from "everything" that you've put in the site-package (crossing fingers).


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -