These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

PyFA Installation

Author
Demeter Worthington
Science and Trade Institute
Caldari State
#1 - 2011-11-05 09:50:51 UTC  |  Edited by: Demeter Worthington
I have Ubuntu 11.10.
Is there a place where I could follow instructions on how to install PyFA?
The installation instructions on the download site, do not do the trick...

Help please?
Thanks
Elegbara
White Wolf Enterprises
Harmonious Ascent
#2 - 2011-11-05 10:39:19 UTC
Just did the following:
Quote:
$ wget http://dl.evefit.org/stable/1.0.6/pyfa-1.0.6-incarna-src.tar.bz2
$ tar xjf pyfa-1.0.6-incarna-src.tar.bz2
$ cd pyfa/
$ ./pyfa.py

And it started. What exactly problems do you have?

Open your eyes. And awaken.

Demeter Worthington
Science and Trade Institute
Caldari State
#3 - 2011-11-05 10:48:42 UTC
Hello and thank you for your answer.

Most definitely I am missing libraries. But I can't get what is said by the Ubuntu Software Center.
On the other hand I cant' follow the instructions for the packages needed in each of their sites.
I wouldn't know where to begin.

I am not an advanced Linux user.
I don't know what to compile or how to apt-get the names of the packages needed.

I know how to copy commands though.

So I guess what I was looking would be a series of terminal commands that would get the job done.

I tried the "sudo apt-get install Python", which said that I have the latest version already installed. As far as the other pachages are concerned, I tried the names, but couldn't find them.

Anyone can help me on that?
Elegbara
White Wolf Enterprises
Harmonious Ascent
#4 - 2011-11-05 11:06:38 UTC
If you're running pyfa itself from command line you're probably getting some errors in the console. Paste it here so I could try and guess what exactly you're missing.

Most probably it's two libraries mentioned on install page though: python-wxgtk2.8 and python-sqlalchemy
Quote:
$ sudo apt-get install python-wxgtk2.8 python-sqlalchemy

Open your eyes. And awaken.

Demeter Worthington
Science and Trade Institute
Caldari State
#5 - 2011-11-05 11:15:49 UTC
It worked !! It worked !!

Thank you !!

I only got the following error on the terminal...


(python:5705): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(python:5705): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(python:5705): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(python:5705): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",


Anything I could do about that?

Also.. If I am not bothering you too much... is there a way I could add a shortcut on the bar or desktop to run PyFA from the GUI?

You're the best !!

Thank you again...
Elegbara
White Wolf Enterprises
Harmonious Ascent
#6 - 2011-11-05 12:35:32 UTC  |  Edited by: Elegbara
Google told me this:
Quote:
$ sudo aptitude install gtk2-engines-pixbuf


And speaking about launchers - there's a guide on creating a launcher for eve somewhere in this forum. You need somethign similar but instead of writing a sh script you just pass a path to pyfa.py.
Here it is. You don't need steps 1-3,

Open your eyes. And awaken.

Demeter Worthington
Science and Trade Institute
Caldari State
#7 - 2011-11-05 12:46:08 UTC
I didn't have aptitude (so I : sudo apt-get install aptitude)... although I have not idea what aptitude is...
and then I run your command : sudo aptitude install gtk2-engines-pixbuf

all went well.
I didn't get the error I mentioned before and the only obvious thing (at a first glance) that was different in PyFA was the font which was much better and more visible.

What would be correct command be to incorporate into a "launch application" so that I have a GUI launcher of PyFA?

Thanks again.
Elegbara
White Wolf Enterprises
Harmonious Ascent
#8 - 2011-11-05 13:09:32 UTC
Aptitude is a front-end to apt-get. If you see a command "aptitude install something" you can actually use "apt-get install instead"

I guess simple path to pyfa.py would work. Depending on where you have it extracted (run "pwd" in console where pyfa.py is located) it might look like this:
Quote:
/home/user/Downloads/pyfa/pyfa.py
The launcher should properly detect that pyfa is a python script.

Open your eyes. And awaken.

Demeter Worthington
Science and Trade Institute
Caldari State
#9 - 2011-11-05 14:30:23 UTC
Done !!
PyFA is working perfectly !!

Thank you!
Peri Simone
Black Rebel Rifter Club
The Devil's Tattoo
#10 - 2011-11-13 13:41:14 UTC
For me too. Many thanks!
Ravow
Republic Military School
Minmatar Republic
#11 - 2011-11-15 17:50:57 UTC
You also need "python-mathplotlib" if you want to do graph with PyFa! (to compare ships DPS/range for exemple)