# Installing pyfa on ubuntu 18.04+

**URL:** <https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658>\
**Category:** Linux\
**Created:** [August 9, 2018, 3:41pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658 "2018-08-09T15:41:03Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 11, 2019, 9:53pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/41 "2019-05-11T21:53:53Z")

</div>

After following the instructions I get this:

> File “/home/yotam/הורדות/pyfa/config.py”, line 3, in   
> import yaml  
> ImportError: No module named yaml

python-3 yaml is installed.  
Any ideas where to go from here?

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 11, 2019, 11:13pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/42 "2019-05-11T23:13:44Z")

</div>

> [@Rhyme\_Bittern](#):
>
> Any ideas where to go from here?

did you do exactly as I wrote in the first message ? if you did not I can’t guess what you did instead. And very likely I won’t be able to help you.

> [@taca](#):
>
> After following the instructions, the first time tried to run pyfa i get this

Please when you go in a thread it’s the minimum of politeness to read the first paragraph (the OP) . I know you did not because otherwise you would not have had this issue.

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 11, 2019, 11:18pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/43 "2019-05-11T23:18:54Z")

</div>

I did exactly what I was told to do in the OP. No reason to assume otherwise 🙂

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 11, 2019, 11:29pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/44 "2019-05-11T23:29:37Z")

</div>

I assumed so because python3-yaml is installed as dependency of ubuntu-desktop so …

OK I trill try the OP instruction maybe some won’t work.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 11, 2019, 11:33pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/45 "2019-05-11T23:33:13Z")

</div>

> [@Anderson\_Geten](#):
>
> with last github update you need to upgrade pyYaml
> 
> `pip install -U pyyaml --user`

@Rhyme_Bittern can you try this ?

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 11, 2019, 11:37pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/46 "2019-05-11T23:37:37Z")

</div>

I had to install pip for that, but it still doesn’t work. I get the same error.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 11, 2019, 11:38pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/47 "2019-05-11T23:38:25Z")

</div>

if you had to install pip, that means you had not followed the OP instructions beforehand.

> [@Anderson\_Geten](#):
>
> sudo apt install python3-pip python-wxgtk4.0 python3-wxgtk-webview4.0

if you don’t follow the OP instructions I can’t help you.

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 11, 2019, 11:41pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/48 "2019-05-11T23:41:28Z")

</div>

This installed pip3, not pip.  
The command ‘pip’ belongs to the package python-pip, not python3-pip.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 11, 2019, 11:54pm UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/49 "2019-05-11T23:54:14Z")

</div>

indeed.

and that’s why the next command is “pip3” and not “pip”

oO I understand. well run `pip3 install -U pyyaml --user` then ? and remove that pip installation from your system (keep only python3-pip)

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 12, 2019, 12:01am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/50 "2019-05-12T00:01:05Z")

</div>

> [@Anderson\_Geten](#):
>
> `pip3 install -U pyyaml --user`

Hooray, error changed! 🙂  
Now I get:

> ImportError: No module named wx

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 12, 2019, 12:11am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/51 "2019-05-12T00:11:46Z")

</div>

it’s written in the fracturing OP ! /me dies in a blazing anger 🔥

OK I have a good new though : I tinkered a lot and ALSO got an error ! I therefore added the bs4 pip3 requirement in the OP. Be sure to _exactly_ call the two install command otherwise may not work (you _may_ use -U in pip3 to update, too)

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 12, 2019, 12:49am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/52 "2019-05-12T00:49:10Z")

</div>

Still getting the wx error after re-running the OP.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 12, 2019, 12:54am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/53 "2019-05-12T00:54:34Z")

</div>

maybe you could run the pip3 install in the OP with the -U parameter

I’ll copy it here with the -U because I’m so kewl 😛 . It’s only one line ! If you run two lines there is an issue !!

`pip3 install -U --user bs4 cryptography logbook markdown2 matplotlib packaging pip python-dateutil roman sqlalchemy`

BTW you should tell WHERE you have that information error : in the graphical UI, in the therminal, in a popup after started the GUI ?

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 12, 2019, 12:59am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/54 "2019-05-12T00:59:12Z")

</div>

I ran this new line, same error with wx.  
The error is in the terminal.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 12, 2019, 1:02am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/55 "2019-05-12T01:02:22Z")

</div>

try

`pip3 install -U --user wxpython`

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 12, 2019, 1:06am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/56 "2019-05-12T01:06:35Z")

</div>

> [@Anderson\_Geten](#):
>
> pip3 install -U --user wxpython

I get only:

> Requirement already up-to-date: wxpython in /usr/lib/python3/dist-packages (4.0.4)

And the wx error remains.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 12, 2019, 1:07am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/57 "2019-05-12T01:07:59Z")

</div>

then I guess you made something bad, like installing packages that collide with those in pip3

Try to remove all the calls you made that were not in the OP (typically the install of pip)

Other than that I’m afraid I can’t help.

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 12, 2019, 1:09am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/58 "2019-05-12T01:09:36Z")

</div>

Interesting hypothesis. I did remove the pip dependencies.  
You, kind sir, will have trouble working in a professional developing environment. Assuming that the other person is always the source of the problem on every single step of the way will not take you far.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [May 12, 2019, 1:42am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/59 "2019-05-12T01:42:03Z")

</div>

working in a professional developing environment taught me that 105% of the time, the source of the problem is the chair-keyboard interface.

Just look at all the posts here from people who did not follow the OP.  
And assuming the other person did something is the only I can do most of the time anyhow. so why not ?

The day you pay me, you are allowed to give your opinion on what I do BTW.  
Not a single moment before. So go ■■■■ yourself.

---

<div class="post-metadata">

**Author:** ![Rhyme\_Bittern](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rhyme_bittern/32/251875_2.png) [@Rhyme\_Bittern](https://forums.eveonline.com/u/Rhyme_Bittern)\
**Post date:** [May 12, 2019, 8:57am UTC](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658/60 "2019-05-12T08:57:18Z")

</div>

And anger issues as well 🙂

[Previous page](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658.md?page=2)

[Next page](https://forums.eveonline.com/t/installing-pyfa-on-ubuntu-18-04/96658.md?page=4)
