Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 compatibility ? #2

Closed
UriaMorP opened this issue May 2, 2018 · 5 comments
Closed

Python3 compatibility ? #2

UriaMorP opened this issue May 2, 2018 · 5 comments

Comments

@UriaMorP
Copy link

UriaMorP commented May 2, 2018

Hey there,
I installed SPARSE using the following commands:

conda create -n sparse python=3.6
source activate sparse
python -m pip install meta-sparse

The installation finished successfully, but then, when I try to run sparse I get Python 2 related errors (such as: the print function in line 113 of SPARSE.py is being used without brackets etc.)

Do you have any suggestions?

Since all of my other tools are in python $ \geq 3.5 $ I'm trying to avoid working with Python 2.

@nick-youngblut
Copy link

Yeah, it would be very helpful to state in the README that SPARSE is only py2.7 compatible. Currently, the setup.py includes:

        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',

... but the .travis.yml is only testing py2.7 and the code is obviously formatted for py2.7.

@zheminzhou
Copy link
Owner

zheminzhou commented May 23, 2018

Many thanks. I have now restricted its compatiblity to only 2.7.

@UriaMorP
Copy link
Author

Python3 port anytime soon?

@zheminzhou
Copy link
Owner

zheminzhou commented May 23, 2018 via email

@UriaMorP
Copy link
Author

also, can you make sure that also the README file says python 2.7 (instead of >= 2.7)?

Do you have a development roadmap somewhere so I can find stuff I can help with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants