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
python standalone.py doesn't work (Linux)? #1345
Comments
that's a problem with your python version. you gotta run in with python 2, not 3. |
Support for python3 planned? |
The latest version on github run on python3. -Tobias |
Where is that version? Could you please point me to it? Thanks! |
In order to install the version from the repository for Python 3.x: Install git. Run: git clone https://github.com/nlplab/brat.git Then, follow the website's installation instructions for brat. |
In order to use brat with a standalone server, I'm following the instruction on quick start installation.
I did ./install.sh -u and I've got the usual request to enter a username, pw and email, but then there also is: "WARNING: failed to determine APACHE group"
Then, I wrote the next passage: python standalone.py. The result is:
"Comando <> non trovato, ma può essere installato con:
sudo apt install python3 # version 3.7.5-1, or
sudo apt install python # version 2.7.17-1
sudo apt install python-minimal # version 2.7.17-1
You also have python3 installed, you can run 'python3' instead."
So, I run: python3 standalone.py. But the results are:
"File "standalone.py", line 257
except SystemExit, sts:
^
SyntaxError: invalid syntax"
I'm trying to install Brat on Linux. What should I do?
The text was updated successfully, but these errors were encountered: