What happens when you run it in command line ?
I tried on my other computer (ubuntu, 64 bits) : it works ! So Iâll go on that one, I must have done something wrong with the first one.
Thanks for your help !
See you soon on cutecoin !
Hi Inso ! (itâs been a while but I am still alive ;))
I have some issue installing too on my brand new PC, I just executed all the commands listed in the first message but I get this :
Any idea ? Thanks in advance for your help !
You installed cutecoin in ~/D/cutecoin (look at the prompt!).
So you must have in your $PYTHONPATH :
~/D/Cutecoin/lib:~/D/Cutecoin/src
Hope this helps.
I guess D
is a prompt shortcut for Downloads
. So the path is coherent.
Indeed I use fish which shorten the prompt path. (Sorry for being short I am on my phone :/)
Oh, sorry, was unaware of âshort promptsâ.
The error is that you shouldnât have tilde in your $PYTHONPATH.
I have modified the tutorial here by removing the double-quotes when exporting PYTHONPATH.
You should try this :
export PYTHONPATH=~/D/Cutecoin/lib:~/D/Cutecoin/src
or put it in your .bashrc.
Good idea ! This might be the problem : PYTHONPATH should contain only absolute paths. I will try this evenning (even if I wonât have much time) and let you know. Thanks !
PYTHONPATH declaration accept ~/path or $HOME/path, but the trick is not to use quotes or double quotes in the declaration, because it prevent the expand of the pathâŚ
Ah yes ! I exported with double quotesâŚnicely spotted (but then the PYTHONPATH var will contain absolute paths) ! Weâll see if it workâŚ
Edit : Well it wasânt it apparently I get the same error with absolute pathsâŚI will try to investigate sunday. Thanks for your help !
Edit2 : Some progress, now I got this error message :
cbrugel@eleanor:~/Downloads/cutecoin$ python3 src/cutecoin/main.py
Traceback (most recent call last):
File "src/cutecoin/main.py", line 12, in <module>
from cutecoin.gui.mainwindow import MainWindow
File "/home/cbrugel/Downloads/cutecoin/src/cutecoin/gui/mainwindow.py", line 6, in <module>
from cutecoin.gen_resources.mainwindow_uic import Ui_MainWindow
ImportError: No module named 'cutecoin.gen_resources.mainwindow_uic'
cbrugel@eleanor:~/Downloads/cutecoin$ export PYTHONPATH=/home/cbrugel/Downloads/cutecoin/src:/home/cbrugel/Downloads/cutecoin/lib
cbrugel@eleanor:~/Downloads/cutecoin$ python3 src/cutecoin/main.py Traceback (most recent call last):
File "src/cutecoin/main.py", line 12, in <module>
from cutecoin.gui.mainwindow import MainWindow
File "/home/cbrugel/Downloads/cutecoin/src/cutecoin/gui/mainwindow.py", line 6, in <module>
from cutecoin.gen_resources.mainwindow_uic import Ui_MainWindow
ImportError: No module named 'cutecoin.gen_resources.mainwindow_uic'
30 seconds later : Ok sorry I just read the instruction in the readme !
edit4 : It works !
Run
python3 gen_resources.py
At first