Ecogenomics / BamM

Metagenomics-focused BAM file manipulation
http://ecogenomics.github.io/BamM/
GNU Lesser General Public License v3.0
16 stars 7 forks source link

mysterious error when building with python3 version of Anaconda 5.1.0 #52

Open skaffen-amtiskaw opened 6 years ago

skaffen-amtiskaw commented 6 years ago

Hi, I am attempting to build BamM for use with GroopM and I am running into an error. This is centos 7.

gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) python --version Python 3.6.4 :: Anaconda, Inc.

I've cloned the latest release of BamM here: https://github.com/ecogenomics/BamM

As soon as I try to run the setup.py I get the error:

python setup.py File "setup.py", line 41 print "Embedded C options (for building libPMBam.a) USE: --OPTIONPATH" ^ SyntaxError: invalid syntax

I've successfully built groopM and BamM on this same system with the python2 version of anaconda. But that one is hitting a bug so I figured I'd try python 3 to see if its corrected. This is a fresh build directory of BamM and groopM.

Has anyone run into this?

Thanks!

timbalam commented 6 years ago

Hello! For the moment BamM will only work with Python 2, and unfortunately not with Python 3.

On 29 March 2018 5:36:18 pm GMT+02:00, skaffen-amtiskaw notifications@github.com wrote:

Hi, I am attempting to build BamM for use with GroopM and I am running into an error. This is centos 7.

gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) python --version Python 3.6.4 :: Anaconda, Inc.

I've cloned the latest release of BamM here: https://github.com/ecogenomics/BamM

As soon as I try to run the setup.py I get the error:

python setup.py File "setup.py", line 41 print "Embedded C options (for building libPMBam.a) USE: --OPTIONPATH" ^ SyntaxError: invalid syntax

Anyone run into this?

Thanks!

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Ecogenomics/BamM/issues/52