Code Monkey home page Code Monkey logo

Comments (7)

divenpuke avatar divenpuke commented on May 24, 2024 3

I think I have the same problem.

From git bash after "pip install advisor". Which installed ok after upgrading python to newest version. Didn't work with 2.7.

$ advisor_admin server start
Traceback (most recent call last):
File "C:\Users\JasonM\AppDat

a\Local\Programs\Python\Python37-32\Scripts\advisor_admin-script.py", line 11, in
load_entry_point('advisor-clients==0.1.4.1', 'console_scripts', 'advisor_admin')()
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 2793, in load_entry_point
return ep.load()
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 2411, in load
return self.resolve()
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources_init_.py", line 2417, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\advisor_client\commandline\admin_command.py", line 110
except subprocess.CalledProcessError, e:
^
SyntaxError: invalid syntax

Help?

from advisor.

yinchuandong avatar yinchuandong commented on May 24, 2024

I think I have the same problem.

From git bash after "pip install advisor". Which installed ok after upgrading python to newest version. Didn't work with 2.7.

$ advisor_admin server start
Traceback (most recent call last):
File "C:\Users\JasonM\AppDat

a\Local\Programs\Python\Python37-32\Scripts\advisor_admin-script.py", line 11, in
load_entry_point('advisor-clients==0.1.4.1', 'console_scripts', 'advisor_admin')()
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources__init__.py", line 2793, in load_entry_point
return ep.load()
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources__init__.py", line 2411, in load
return self.resolve()
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\pkg_resources__init__.py", line 2417, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "c:\users\jasonm\appdata\local\programs\python\python37-32\lib\site-packages\advisor_client\commandline\admin_command.py", line 110
except subprocess.CalledProcessError, e:
^
SyntaxError: invalid syntax

Help?

have the same problem for python 3.7.

from advisor.

15586233385 avatar 15586233385 commented on May 24, 2024

I get the same problem, my version of python is 3.6.

from advisor.

arminzirak avatar arminzirak commented on May 24, 2024

Same problem with python3.8

from advisor.

risemeup avatar risemeup commented on May 24, 2024

I get the same problem, my version of python is 3.6.
hello,I have the same problem with python3.6,have you solve it?

from advisor.

bhishanpdl avatar bhishanpdl commented on May 24, 2024

I have same problem with python 3.7.

Installation

1. download folder from pypi: https://pypi.org/project/advisor/#files
2. then install it:   python setup.py install



Then,
advisor_admin server start

Platform

  • Macos catalina
  • miniconda3 environment called "expl" with python 3.7

Error

$ advisor_admin server start
Traceback (most recent call last):
  File "/Users/poudel/opt/miniconda3/envs/expl/bin/advisor_admin", line 33, in <module>
    sys.exit(load_entry_point('advisor==0.1.6', 'console_scripts', 'advisor_admin')())
  File "/Users/poudel/opt/miniconda3/envs/expl/bin/advisor_admin", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/Users/poudel/opt/miniconda3/envs/expl/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 105, in load
    module = import_module(match.group('module'))
  File "/Users/poudel/opt/miniconda3/envs/expl/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 860, in get_code
  File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/poudel/opt/miniconda3/envs/expl/lib/python3.7/site-packages/advisor-0.1.6-py3.7.egg/advisor_client/commandline/admin_command.py", line 110
    except subprocess.CalledProcessError, e:
                                        ^
SyntaxError: invalid syntax

from advisor.

tobegit3hub avatar tobegit3hub commented on May 24, 2024

This has been fixed in #21 .

Please check your code in line 110 of admin_command.py and make sure it is up-to-date.

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.