Cannot install it on Archlinux with pip
StatelessCat opened this issue · comments
The script is runned under python3.4, and fails
Just found a workaround:
mkdir eg-build
cd eg-build
pip2arch -p python2 eg
makepkg
sudo pacman -U eg-*-any.pkg.tar.xz
Does it work with python 3.4? I've never tried running it on 3.x.
It doesn't :(
Can you open an issue for working with python 3? I should probably bite the bullet and use 3 eventually. If you can give me some error output there that would be awesome as well.
In the meantime, if you have 2.x on your machine as python27 or something like that, you could try altering the #!
line of bin/eg
to #! /path/to/python26
and see if that gets it working for now.
Unfortunatly it can't just work to edit the eg #!
.
If I edit the #!/usr/bin/python
to #!/usr/bin/python2.7
, eg is launched under python2.7, but I got :
Traceback (most recent call last):
File "/usr/bin/eg", line 3, in <module>
from eg import eg_exec
ImportError: No module named eg
I'm not a Python developper, I assume pip, by default on the lastest stable version is doing installation of librairies for python3.x.
I'm not sur if it can help you, but i know many Python devs that are using virtualenv
to handle python version issues like this.
Ah right, right, good point. I'll ruminate on it.
:)
Le 26 avr. 2015 3:51 AM, "Sam Sudar" notifications@github.com a écrit :
Ah right, right, good point. I'll ruminate on it.
—
Reply to this email directly or view it on GitHub
#6 (comment).