Coder Social home page Coder Social logo

Comments (4)

Multiboxer avatar Multiboxer commented on May 12, 2024 1

Changing that line to 3.6 and then running sudo ./install.sh fixed the missing files issue. Running dragonfire then output:

Traceback (most recent call last):
  File "/usr/local/bin/dragonfire", line 11, in <module>
    load_entry_point('dragonfire==0.9.9', 'console_scripts', 'dragonfire')()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2691, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2322, in load
    return self.resolve()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2328, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.6/site-packages/dragonfire/__init__.py", line 45, in <module>
    from dragonfire.conversational import DeepConversation
  File "/usr/local/lib/python3.6/site-packages/dragonfire/conversational/__init__.py", line 14, in <module>
    from dragonfire.conversational.textdata import TextData
  File "/usr/local/lib/python3.6/site-packages/dragonfire/conversational/textdata.py", line 15, in <module>
    from dragonfire.conversational.corpus.cornelldata import CornellData
ModuleNotFoundError: No module named 'dragonfire.conversational.corpus'

Not sure what caused it to misplace those files and not display any errors, but manually copying Dragonfire/dragonfire/conversational/corpus/ from the repo to /usr/local/lib/python3.6/site-packages/dragonfire/conversational/ fixed that and Dragonfire is now functional. 👍 Thanks!

from dragonfire.

mertyildiran avatar mertyildiran commented on May 12, 2024

@Multiboxer I'm not sure what happened on your system. Have you ever tried to install Dragonfire using install.sh script? Just run: sudo ./install.sh

Not sure why it's installed in Python 2.7, I thought this definition was enough to make it Python 3.x only. Can you try to change this line with something Python 3.x ? And if you find the solution, please send a pull request 😊

from dragonfire.

mertyildiran avatar mertyildiran commented on May 12, 2024

@Multiboxer could please you send your fix as a pull request? 😊

from dragonfire.

mertyildiran avatar mertyildiran commented on May 12, 2024

Fixed with 146f1cd and 6cb5450

from dragonfire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.