babbush / HistoricalFermiLib

This is repo where we developed FermiLib, which then became OpenFermion
Apache License 2.0
1 stars 0 forks source link

Python 3 compatibility #33

Closed damiansteiger closed 7 years ago

damiansteiger commented 7 years ago

Hi everyone,

Just a reminder: ProjectQ-Framework supports both Python 2.7 and Python 3.3+. We hence need to make FermiLib compatible with Python3.

damiansteiger commented 7 years ago

Currently there are, e.g., issues with pickle but these issues will be resolved once pickle is replaces by HDF5, see #17

damiansteiger commented 7 years ago

Also see issue #35

babbush commented 7 years ago

So I continue to have problems with the future package on my mac. Is the future package installed with the normal python.org release of python? I use anaconda and no amount of updating the future package seems to let me import builtins in python2.7 without an error.

Spaceenter commented 7 years ago

I also use a mac and had problem with builtins, I just did 'pip install future --upgrade' and it works. Here is what I use for python (automatically swithed by installing psi4conda):

wsws-macbookpro:src wsws$ which python /Users/wsws/Software/psi4conda/bin/python

babbush commented 7 years ago

@damiansteiger This is all you.

damiansteiger commented 7 years ago

done