Giter Club home page Giter Club logo

Comments (7)

codlife avatar codlife commented on May 22, 2024 1

python3.5 is ok, just with some import error
such as:
from random_search import RandomSearchAlgorithm
to
from .random_search import RandomSearchAlgorithm
will be ok

from advisor.

tobegit3hub avatar tobegit3hub commented on May 22, 2024

Thanks @codlife for your reporting. This should be changed to run in both Python 2 and Python 3.

from advisor.

impredicative avatar impredicative commented on May 22, 2024

Any status update for Python 3.7 support? Thanks.

from advisor.

tobegit3hub avatar tobegit3hub commented on May 22, 2024

I don't test it yet. It's contribution welcome and free feel to send PR.

I may test and try to import as Python 3 for django soon.

from advisor.

andrewssobral avatar andrewssobral commented on May 22, 2024

Tested on Python 3.6.6 and I got:

macbook:~ andrewssobral$ advisor_admin server start
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/advisor_admin", line 7, in <module>
    from advisor_client.commandline.admin_command import main
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/advisor_client/commandline/admin_command.py", line 110
    except subprocess.CalledProcessError, e:
                                        ^
SyntaxError: invalid syntax
macbook:~ andrewssobral$ 

Any status update for this? Thanks

from advisor.

mygao8 avatar mygao8 commented on May 22, 2024

Tested on Python 3.6.6 and I got:

macbook:~ andrewssobral$ advisor_admin server start
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/advisor_admin", line 7, in <module>
    from advisor_client.commandline.admin_command import main
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/advisor_client/commandline/admin_command.py", line 110
    except subprocess.CalledProcessError, e:
                                        ^
SyntaxError: invalid syntax
macbook:~ andrewssobral$ 

Any status update for this? Thanks

Change the comma to as. Then it's OK

from advisor.

tobegit3hub avatar tobegit3hub commented on May 22, 2024

Thanks @andresmore and @mygao8 . I will update this soon and need more test in Python 2.7 and 3.6 in the future.

Already fix in #21 .

from advisor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.