-
Notifications
You must be signed in to change notification settings - Fork 244
ANTLR 3.1.3 not found #40
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
Comments
I can make the change and submit a PR if you agree. |
@smsaladi it looks like the installs will work when using the following commands:
I am using python 2.7.11 though. Not sure if this will help if you add the antlr url into the setup file. |
I had the same problem. Installing those two packages. the error is gone during the setup. But then I receive this error while processing specific .java files: File "/home/yucer/.virtualenvs/j2p/local/lib/python2.7/site-packages/java2python/mod/basic.py", line 151, in getSyncHelpersSrc
from java2python.mod.include import sync
ImportError: No module named include It results that the include folder is newer than that version. How can we overcome that error? |
I did solve the problem installing the last version: > mkvirtualenv j2p
> pip install http://antlr3.org/download/Python/antlr_python_runtime-3.1.3.tar.gz
> git clone https://github.com/natural/java2python.git
> pip install -e java2python and then using the j2p virtualenv for running it: > workon j2p
> cd java/code/folder
> j2py myFile.java
|
python j2py \Mac\Home\Downloads\MonkeyCreateScript-master\MonkeyCreateScript\src\com\jikexueyuan\EventModel.java |
try to remove |
When trying to install with
I get the following error message:
I think the installation instructions might need updating to reflect that the section Install ANTLR Runtime is necessary regardless of whether
pip install java2python
is used or not.The text was updated successfully, but these errors were encountered: