Comments (11)
@turtle-bazon could you investigate further? I'm not sure what is the cause of the issue. Feel free to send pull requests 😊
from dragonfire.
The same on Kubuntu 18.04.
whereis dragonfire
dragonfire: /usr/bin/dragonfire /usr/share/dragonfire /usr/share/man/man1/dragonfire.1.gz
cat /usr/bin/dragonfire
#!/bin/sh
/usr/share/python/dragonfire/bin/dragonfire $@
file /usr/share/python/dragonfire/bin/dragonfire
/usr/share/python/dragonfire/bin/dragonfire: cannot open `/usr/share/python/dragonfire/bin/dragonfire' (No such file or directory)
from dragonfire.
I can investigate but have not experience in python. :) So I don't know how to help. What is this file /usr/share/python/dragonfire/bin/dragonfire
? It not present in dpkg package. So, is it should be generated during post-install scripts? Give me direction. :)
from dragonfire.
I've looked at post-inst scripts and didn't see any generation of dragonfire binary at that path. So I'm confused now.
from dragonfire.
@mamantoha @turtle-bazon is it under /usr/share/python3/dragonfire/bin/dragonfire
? if so we forgot to change this line. 😕
If that's the case then please fix it and send a pull request.
from dragonfire.
vladislav@vladislav-P5QL-PRO:~$ dragonfire -h
/usr/bin/dragonfire: 3: /usr/bin/dragonfire: /usr/share/python/dragonfire/bin/dragonfire: not found
from dragonfire.
No dragonfire dir neither in /usr/share/python
nor in /usr/share/python3
from dragonfire.
@turtle-bazon @mamantoha @vladislavyuzbekov I fixed this issue with d2ca3fb and updated the release. So please redownload dragonfire_1.0.0_amd64.deb file and install it again.
We apologize for the inconvenience. 😊 Please report it if you face with an issue again.
from dragonfire.
New dragonfire sucessfully installed, but can't be run:
turtle@working-turtle /tmp $ dragonfire
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 63, in __load
try: root = nltk.data.find('corpora/%s' % zip_name)
File "/usr/lib/python3/dist-packages/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'corpora/brown.zip/brown/' not found. Please use the
NLTK Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/home/turtle/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/dragonfire", line 11, in <module>
load_entry_point('dragonfire==1.0.0', 'console_scripts', 'dragonfire')()
File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 476, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2318, in load
return self.resolve()
File "/usr/local/lib/python3.5/dist-packages/pkg_resources/__init__.py", line 2324, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python3/dist-packages/dragonfire/__init__.py", line 40, in <module>
from dragonfire.nlplib import Classifier, Helper
File "/usr/lib/python3/dist-packages/dragonfire/nlplib.py", line 31, in <module>
brown_train = brown.tagged_sents(categories='news')
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 99, in __getattr__
self.__load()
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 64, in __load
except LookupError: raise e
File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 61, in __load
root = nltk.data.find('corpora/%s' % self.__name)
File "/usr/lib/python3/dist-packages/nltk/data.py", line 641, in find
raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource 'corpora/brown' not found. Please use the NLTK
Downloader to obtain the resource: >>> nltk.download()
Searched in:
- '/home/turtle/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
**********************************************************************
from dragonfire.
It seems that printf "import nltk\nnltk.download('names')\nnltk.download('brown')\nnltk.download('wordnet')\nnltk.download('punkt')" | python3
downloaded resources to root's home directory.
from dragonfire.
After executing this line as user it launches, but I think that is not correct behavior.
from dragonfire.
Related Issues (20)
- deeppavlov 0.8.0 not supported HOT 3
- charger dragonfire hors installation HOT 6
- Can't install on Ubuntu 20.04 HOT 2
- Compatible OS! HOT 8
- This Dosen't Work HOT 3
- Python 3.8 & Ubuntu20.04 support HOT 12
- Try docker version not go
- Don't installing
- Support for modern TTS models for various languages
- dragonfire windows
- Dragonfire command not found HOT 2
- ModuleNotFound HOT 1
- Install error ubuntu 21.10 HOT 4
- [Feature Request] Upgrade Speech-to-Text to Coqui STT
- Please create a snap package
- I can t initialize Dragonfire HOT 2
- Dragonfire not Starting
- problem with starting dragonfire 1.1.1
- Could'nt Install it on Ubuntu 20.04
- setup.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonfire.