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

error regarding python2 / 3 #10

Open
musicformellons opened this issue Feb 11, 2016 · 3 comments
Open

error regarding python2 / 3 #10

musicformellons opened this issue Feb 11, 2016 · 3 comments

Comments

@musicformellons
Copy link

Can make-deb be used with python3 ?

I am on ubuntu 15.10 and have dh-virtualenv 0.7.2 (the apt-get version).
After install I get following error:
usr@xps:~/pq$ pip3 install make-deb
Collecting make-deb
Using cached make-deb-0.0.4.tar.gz
Requirement already satisfied (use --upgrade to upgrade): Jinja2 in /home/usr/.venvs/pq3/lib/python3.4/site-packages (from make-deb)
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /home/usr/.venvs/pq3/lib/python3.4/site-packages (from Jinja2->make-deb)
Building wheels for collected packages: make-deb
Running setup.py bdist_wheel for make-deb ... done
Stored in directory: /home/usr/.cache/pip/wheels/2f/01/5f/ea57068e5f453fb5fd2326faf937c35c79c0cf998bd0eeaf09
Successfully built make-deb
Installing collected packages: make-deb
Successfully installed make-deb-0.0.4

(pq3) usr@xps:~/pq$ make-deb
File "/home/usr/.venvs/pq3/bin/make-deb", line 14
print e
^
SyntaxError: Missing parentheses in call to 'print'

@emfree
Copy link
Contributor

emfree commented Feb 14, 2016

Let us know if the changes in 546cea1 work for you under Python 3. You should be able to grab the latest version from PyPi.

@jleaders
Copy link

jleaders commented Jul 8, 2017

Can you please add documentation in the Readme.md on how to run this while specifying your python version? My default python on my system is python 2.7, but my project I'm making is python 3, and make-deb + dpkg-buildpackage -us -uc is trying to build it with python 2.7

@guillermo-menjivar
Copy link

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

4 participants