princess icon indicating copy to clipboard operation
princess copied to clipboard

command not found

Open jonasbaylor opened this issue 1 year ago • 12 comments

Hi!

After princess was installed, "princess -h" doesnt work. It says "command not found". Anyone can help?

Thanks! :)

jonasbaylor avatar Sep 07 '22 20:09 jonasbaylor

Can you please try to use the full path to the installation? E.g., if the installation in ~/home/source/princess, use: ~/home/source/princess/princess -h

Thanks

MeHelmy avatar Sep 07 '22 20:09 MeHelmy

Unfortunatelly, it is still not working.

Thanks for the attention

jonasbaylor avatar Sep 07 '22 21:09 jonasbaylor

Can you please write down how did you run it?

MeHelmy avatar Sep 07 '22 21:09 MeHelmy

I followed the protoctol written here: conda install snakemake=5.7.1 conda install pyyaml git clone https://github.com/MeHelmy/princess.git cd princess chmod +x install.sh ./install.sh

after it was installed, I typed "princess -h" and it says "command not found". I already tried in different paths, but it says the same.

jonasbaylor avatar Sep 07 '22 21:09 jonasbaylor

I am assuming you run it from the directory you installed princess in. so make sure it exists ls princess and lastly try './princess'

MeHelmy avatar Sep 07 '22 21:09 MeHelmy

299316704_1199275110923150_8694674961012748693_n

jonasbaylor avatar Sep 07 '22 21:09 jonasbaylor

I see, you need to make slight change after cd princess run it like ./princess -h

MeHelmy avatar Sep 07 '22 21:09 MeHelmy

300530191_1072120147005160_7949137205027960203_n

jonasbaylor avatar Sep 07 '22 21:09 jonasbaylor

OK, first now you know why it was showing this message "command not found". We have another error now, please copy and paste it here.

MeHelmy avatar Sep 07 '22 21:09 MeHelmy

AttributeError: 'NoneType' object has no attribute 'loader'

jonasbaylor avatar Sep 07 '22 21:09 jonasbaylor

OK, this is more an Ubuntu issue, based on this answer: https://stackoverflow.com/questions/56935698/attributeerror-nonetype-object-has-no-attribute-loader

MeHelmy avatar Sep 07 '22 21:09 MeHelmy

Ok! Thank you so much!!! I will try to fix it! :D

jonasbaylor avatar Sep 07 '22 21:09 jonasbaylor