You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@steve.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/02/09 19:29:18 UTC
[jira] [Commented] (STEVE-30) Error running setup.py
[ https://issues.apache.org/jira/browse/STEVE-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139355#comment-15139355 ]
Sebb commented on STEVE-30:
---------------------------
The above error results when running setup.py from the cli directory using python3.
When using python, I get:
Reading steve.cfg
Traceback (most recent call last):
File "./setup.py", line 38, in <module>
from lib import election, voter, constants
File "/Users/sebb/Documents/workspace/pysteve/lib/election.py", line 27, in <module>
import constants, voter
File "/Users/sebb/Documents/workspace/pysteve/lib/voter.py", line 26, in <module>
from lib import constants, election
ImportError: cannot import name election
If the code cannot use python3, then it should detect this and fail
> Error running setup.py
> ----------------------
>
> Key: STEVE-30
> URL: https://issues.apache.org/jira/browse/STEVE-30
> Project: Steve
> Issue Type: Bug
> Environment: http://steve.apache.org/demo.html
> Reporter: Sebb
>
> Tried following the demo page, but failed to run setup.py:
> {noformat}
> Reading steve.cfg
> Traceback (most recent call last):
> File "/Users/sebb/Documents/workspace/steve/pysteve/cli/setup.py", line 36, in <module>
> from lib import election, voter, constants
> File "/Users/sebb/Documents/workspace/steve/pysteve/lib/election.py", line 22, in <module>
> from itertools import izip
> ImportError: cannot import name 'izip'
> {noformat}
> If there are some additional dependencies, these should be documented
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)