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

Cannot use on Ubuntu 20.04 (building not possible) #39

Open
Paderman opened this issue Aug 21, 2020 · 5 comments
Open

Cannot use on Ubuntu 20.04 (building not possible) #39

Paderman opened this issue Aug 21, 2020 · 5 comments

Comments

@Paderman
Copy link

Paderman commented Aug 21, 2020

I can't use the editor in new version of Ubuntu.
I tried to build and similar, but nothing works, I can only delete all files of it 😭

If you have an idea to use this editor on newer versions of Ubuntu, please let me (us) know.

Better it would exist an AppImage 😄 because that image contains all necessary files and so.

@Paderman Paderman changed the title Cannot use on Ubuntu 20.04 (no pip in current Python and more) Cannot use on Ubuntu 20.04 (building not possible) Aug 21, 2020
@alanmels
Copy link

alanmels commented Jan 30, 2021

I do confirm it's not building with pip3 (earlier versions of pip won't work on Ubuntu 20.04), giving:

sudo pip3 install http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.2.tar.gz
Collecting http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.2.tar.gz
Downloading http://www.antlr3.org/download/Python/antlr_python_runtime-3.1.2.tar.gz (67 kB)
|████████████████████████████████| 67 kB 370 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-63chk88f/setup.py'"'"'; file='"'"'/tmp/pip-req-build-63chk88f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-63chk88f/pip-egg-info
cwd: /tmp/pip-req-build-63chk88f/
Complete output (6 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-63chk88f/setup.py", line 49
except OSError, exc:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@HabibSlim
Copy link

Probably comes in too late, but you should install with pip2 instead of pip3. This repository is 13 years old guys

@Kaboom4224
Copy link

the pip manpage tells me "pip" is used for python2 and "pip3" is used for python3 on debian

@nickvsnetworking
Copy link

Very late to the party here, but you can install PyGTK for Python 2.7 from the old repos

wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
sudo apt-get install ./python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

The program then works in Ubuntu 20.04.

@SebastianGrans
Copy link

SebastianGrans commented Dec 17, 2021

I'm running 20.04 and pip2 was not installed, nor available in APT.
To install pip2, run the following (source):

curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
python2 get-pip.py

I got it running, but it doesn't work. I'll look into it when I have some time...
Screenshot from 2021-12-17 17-38-56

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

6 participants