-
Notifications
You must be signed in to change notification settings - Fork 37
Provide backward compatibility with Python 2.7 #34
Comments
Python 2 --> 3: https://docs.python.org/2/howto/cporting.html Python 2.7 'distutils' requires Visual Studio on Windows (for Python 3.3, jpy uses the Windows SDK 7.1):
--> As we use MS Visual Studio Express we can only compile for 32-bit target platforms |
Here are the used functions that are either missing or incompatible in Python 2.7
|
Done for 0.7.2 |
Hi Norman, thanks a lot for the fast implementation. The installation is however not working properly for me jet. I installed all required dependencies. If I then say python setup.py install I get: My understanding is that the 'abiflags' attribute is specific to python3. However, if I do sudo python setup.py install I get ... which is weird, as I have installed the most recent JDK and JDK_HOME is pointing to it ... (ipythondev)m300028@alexnotebook:jpy$ echo $JDK_HOME Any ideas? Best, |
Yes, the attribute sys.abiflags is a Python 3 feature. Fixed. However, if you sudo, you loose your environment settings and this is why you don't have "JDK_HOME" anymore. |
Many users have a lot of legacy code depending on Python 2.7 and thus hesitate to move to Python 3:
The text was updated successfully, but these errors were encountered: