Git Product home page Git Product logo

Comments (6)

Kittyuzu1207 avatar Kittyuzu1207 commented on June 8, 2024

I encountered the same, and I used "from Scweet.scweet import scrap" to solve it. After that, there may be other errors about utils.py and const.py, you can enter these files and modify the code "import utils" by "import Scweet.utils" etc. and it can work well.

from scweet.

Altimis avatar Altimis commented on June 8, 2024

I recommend you clone the project and use the sample notebook. There is just a beta version of the library and actually there are a lot of problems with it.

from scweet.

reachyou91 avatar reachyou91 commented on June 8, 2024

I encountered the same, and I used "from Scweet.scweet import scrap" to solve it. After that, there may be other errors about utils.py and const.py, you can enter these files and modify the code "import utils" by "import Scweet.utils" etc. and it can work well.

Thank you. However, after I import utils and const as you mentioned, I encounter "SCWEET_USERNAME returned None but this is not allowed!"

from scweet.

reachyou91 avatar reachyou91 commented on June 8, 2024

I recommande you clone the project and use the sample notebook. There is just a beta version of the library and actually there are a lot of problems with it.

Thank you for reply. I cloned the project on the notebook but it generates the same error I mentioned above.

from scweet.

Altimis avatar Altimis commented on June 8, 2024

I recommande you clone the project and use the sample notebook. There is just a beta version of the library and actually there are a lot of problems with it.

Thank you for reply. I cloned the project on the notebook but it generates the same error I mentioned above.

After cloning, you need to locate to the repository to be able to use the scweet module. When you cloned it, you tried to call directly the scweet module, but it is not in your path since there still are a lot of issues in the library, so you need to locate manually to the directory of the project and call the above functions (I recommend you open the sample.ipynb file and use it as your notebook).

from scweet.

reachyou91 avatar reachyou91 commented on June 8, 2024

I recommande you clone the project and use the sample notebook. There is just a beta version of the library and actually there are a lot of problems with it.

Thank you for reply. I cloned the project on the notebook but it generates the same error I mentioned above.

After cloning, you need to locate to the repository to be able to use the scweet module. When you cloned it, you tried to call directly the scweet module, but it is not in your path since there still are a lot of issues in the library, so you need to locate manually to the directory of the project and call the above functions (I recommend you open the sample.ipynb file and use it as your notebook).

I see. Thank you for your kind explanation!

from scweet.

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.