Giter Site home page Giter Site logo

Comments (8)

PotatoSpudowski avatar PotatoSpudowski commented on May 25, 2024

There are two reasons this can be caused:

  1. not compiling with python setup.py -l python
  2. not running your examples from root dir.

If it's the latter, It is because we are using relative paths right now. We will fix it in the near future.

from fastllama.

lucasjinreal avatar lucasjinreal commented on May 25, 2024

@PotatoSpudowski hello, I have runed setup,op -l python
and I am in root dir. macOS got this issue

from fastllama.

amitsingh19975 avatar amitsingh19975 commented on May 25, 2024

If you are still having this issue, I can suggest you use sys.path.append to append the path to the fastllama.py inside the build directory. And change the import according to that.

from fastllama.

PotatoSpudowski avatar PotatoSpudowski commented on May 25, 2024

Did this get resolved? @lucasjinreal

from fastllama.

leedrake5 avatar leedrake5 commented on May 25, 2024

If you are still having this issue, I can suggest you use sys.path.append to append the path to the fastllama.py inside the build directory. And change the import according to that.

The problem seems to be that fastllama.py is located in interfaces/python/, not build/interfaces/python. Not sure that setup.py is setting up correctly.

from fastllama.

leedrake5 avatar leedrake5 commented on May 25, 2024

Follow up, manually copying fastllama.py to build/interfaces/python AND copying pyfastllama.so from build/interfaces/python to build makes the app functional on Macs. Hopefully setup.py can be tweaked so the simple install works.

from fastllama.

PotatoSpudowski avatar PotatoSpudowski commented on May 25, 2024

Yup, in this branch we are trying to make it more simplified.

from fastllama.

PotatoSpudowski avatar PotatoSpudowski commented on May 25, 2024

Absolute paths have been removed in the new commit. Can close this for now.

from fastllama.

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.