We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps:
git clone https://github.com/albertz/PyCParser.git cd PyCParser mkvirtualenv -p python2.7 -r ./requirements.txt pycparser ./runcprog.py ./demos/test_interpreter.c
Result:
EXCEPTION Traceback (most recent call last): File "./runcprog.py", line 56, in line: from cparser import State, parse locals: cparser = State = parse = File "/home/roba/work/github/PyCParser/cparser.py", line 14, in line: from .cparser_utils import unicode, long, unichr locals: from = from.cparser_utils = unicode = <type 'unicode'> long = <type 'long'> unichr = ValueError: Attempted relative import in non-package
Is there something to do before trying to use the runcprog.py script ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps:
git clone https://github.com/albertz/PyCParser.git
cd PyCParser
mkvirtualenv -p python2.7 -r ./requirements.txt pycparser
./runcprog.py ./demos/test_interpreter.c
Result:
EXCEPTION
Traceback (most recent call last):
File "./runcprog.py", line 56, in
line: from cparser import State, parse
locals:
cparser =
State =
parse =
File "/home/roba/work/github/PyCParser/cparser.py", line 14, in
line: from .cparser_utils import unicode, long, unichr
locals:
from =
from.cparser_utils =
unicode = <type 'unicode'>
long = <type 'long'>
unichr =
ValueError: Attempted relative import in non-package
Is there something to do before trying to use the runcprog.py script ?
The text was updated successfully, but these errors were encountered: