Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible OS! #146

Open
Shadowfire69 opened this issue Jul 28, 2020 · 8 comments
Open

Compatible OS! #146

Shadowfire69 opened this issue Jul 28, 2020 · 8 comments

Comments

@Shadowfire69
Copy link

First let me say that I'm brand new to Linux and thought that this project was beyond cool but no matter what I do I cant seem to get Dragonfire to work.
I've tried to install this on KDE neon, Kubuntu 20.04, Ubuntu 20.04, and openSUSE and every time I get the same errors:
"No compatible models found for v3.0.0 of spaCy"
"Traceback (most recent call last):
File "", line 5, in
ModuleNotFoundError: No module named 'deeppavlov'"
Now at the same time I get these errors once the installation finishes I get the message:
"Dragonfire is successfully installed to your computer."
But every time I try to call Dragonfire from the terminal I get the message:
" ": command not found.
I have read through all the posts on gitter plus all the "Issues" here to no avail and have already tried to get the version 1.2.0 through git clone but I get the message that the file is not found. At this point I'm at a loss pulling my hair out trying to get this working so can you recommend a fix or a Linux OS that is actually compatible for Dragonfire with preferably a KDE environment?

@mertyildiran
Copy link
Member

mertyildiran commented Jul 28, 2020

@Shadowfire69 please try 1.2.0 branch: https://github.com/DragonComputer/Dragonfire/tree/1.2.0 Some dependencies got broken since Ubuntu upgraded to Python 3.8.2. The broken dependencies are removed in 1.2.0 branch.

@Shadowfire69
Copy link
Author

I have tried 1.2.0 a few times now but it won't work and I get the error:
"fatal: repository 'https://github.com/DragonComputer/Dragonfire/tree/1.2.0/' not found".

@mertyildiran
Copy link
Member

@Shadowfire69 it's;

git clone https://github.com/DragonComputer/Dragonfire.git
cd Dragonfire/
git checkout 1.2.0

not;

git clone https://github.com/DragonComputer/Dragonfire/tree/1.2.0/

So you should do branch switching not cloning.

@Shadowfire69
Copy link
Author

Shadowfire69 commented Jul 29, 2020

@Shadowfire69 it's;

git clone https://github.com/DragonComputer/Dragonfire.git
cd Dragonfire/
git checkout 1.2.0

not;

git clone https://github.com/DragonComputer/Dragonfire/tree/1.2.0/

So you should do branch switching not cloning.

Thanks! But I'm still getting the same errors as before, so my question becomes what is the best or most compatible Ubuntu/Python version to use with Dragonfire?

@mertyildiran
Copy link
Member

@Shadowfire69 latest passing test was https://github.com/DragonComputer/Dragonfire/tree/e9f2dce872c43210062db1e2022097c4b8aa7781 which ran on Ubuntu 18.04 The default Python 3.x (python3 --version) on Ubuntu 18.04 is tested hence approved that it's working.

@Shadowfire69
Copy link
Author

Shadowfire69 commented Jul 30, 2020

@Shadowfire69 latest passing test was https://github.com/DragonComputer/Dragonfire/tree/e9f2dce872c43210062db1e2022097c4b8aa7781 which ran on Ubuntu 18.04 The default Python 3.x (python3 --version) on Ubuntu 18.04 is tested hence approved that it's working.

OK I don't know what I'm doing wrong because I installed Unbuntu 18.04 which resolved the spaCy compatibility issue but I'm still getting the deeppavlov error:

./debian/postinst: line 90: 30099 Illegal instruction (core dumped) python3 -m spacy download en
/usr/bin/python3: No module named deeppavlov
Traceback (most recent call last):
File "", line 5, in
ModuleNotFoundError: No module named 'deeppavlov'

I know that deeppavlov is install on my OS because I used pip3 to install it + nltk, deepspeech, tensorflow, spaCy, etc before even trying to install Dragonfire, so I'm not sure why it's still having this problem.

With it telling me Dragonfire is successfully installed from the terminal:
dragonfire: command not found.

I appreciate the time you've taken to help me.

@mertyildiran
Copy link
Member

@Shadowfire69 if you're sure that you have deeppavlov package on your system then try to remove it from the dependencies or change the version criteria on this line. Because it seems like there is a version mismatch.

@Shadowfire69
Copy link
Author

@Shadowfire69 if you're sure that you have deeppavlov package on your system then try to remove it from the dependencies or change the version criteria on this line. Because it seems like there is a version mismatch.

So I just did a clean install of Ubuntu 18.04 and copied & pasted all 23 of the dependency's names to pip3 install " " which installed everything normally with no errors or problems but still for some reason I'm getting the same "no module named deeppavlov" error and "dragonfire:command not found" in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants