Search code examples
enthought

64 Bit Install of Enthought Canopy on 64 Bit machine issue


I have a 64 bit machine with 64 bit Windows on one side and 64 bit Ubuntu 14 on the other. I am going through some exercises and notice that when I run the following command:

import sys
sys.maxint

I don’t get back the max int for a 64 bit machine and install I get the 32 bit max int. I’m a bit confused and do not know where to start. Maybe it is because I am using the Student License? Works just fine on the Ubuntu side.


Solution

  • The value of sys.maxint depends on the underlying C library. What you are seeing is expected behavior on Windows. See Python sys.maxint, sys.maxunicode on Linux and windows https://mail.python.org/pipermail/python-list/2008-December/504337.html

    The question is a good one, but it could reasonably be marked as a duplicate by someone with sufficient "reputation". Please search before asking questions. Enjoy Python!