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

getting the same assertion #5

Open
shaminti opened this issue Jun 12, 2018 · 1 comment
Open

getting the same assertion #5

shaminti opened this issue Jun 12, 2018 · 1 comment

Comments

@shaminti
Copy link

Traceback (most recent call last):
File "/usr/bin/json2xlsx", line 11, in
load_entry_point('json2xlsx==1.3', 'console_scripts', 'json2xlsx')()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2700, in load_entry_point
return ep.load()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2318, in load
return self.resolve()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2324, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/root/temp/json2xlsx/json2xlsx/utilities/json2xlsx.py", line 27
print "Assertion Error: Missing .asList()?", type(d2), type([])
^
SyntaxError: invalid syntax

@AdmAlexus
Copy link

Maybe the problem is in the installed version of the Python? Try using 2.x

Traceback (most recent call last):
File "/usr/bin/json2xlsx", line 11, in
load_entry_point('json2xlsx==1.3', 'console_scripts', 'json2xlsx')()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2700, in load_entry_point
return ep.load()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2318, in load
return self.resolve()
File "/usr/lib/python3.4/site-packages/pkg_resources/init.py", line 2324, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/root/temp/json2xlsx/json2xlsx/utilities/json2xlsx.py", line 27
print "Assertion Error: Missing .asList()?", type(d2), type([])
^
SyntaxError: invalid syntax

Maybe the problem is in the installed version of the Python? Try using 2.x

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

2 participants