Coder Social home page Coder Social logo

Comments (13)

src04c avatar src04c commented on April 28, 2024 2

@noahkuhn Have you setup an API key for reddit? Once i setup a script in https://www.reddit.com/prefs/apps and used the api clientID and Keys config_terminal.py. The reddit calls started working fine.

from openbbterminal.

noahkuhn avatar noahkuhn commented on April 28, 2024 2

I got this sorted, I was using a .env file and I hadn't prefixed the vars with GT_ thus it wasn't finding them. Duh. Awesome!

from openbbterminal.

src04c avatar src04c commented on April 28, 2024 1

Yeah it does appear to use a Username and Password as well. I tried removing the password from the config and was back to getting null returns.

I did fill out the form for API. But its just a google form and the API keys used in the form I ended up deleting and starting over by creating a new script app. So i dont think its required..

So i have 4 items in the config_terminal.py for reddit.

Client_ID (which is the id that shows up right under the name of the app)
Client secret
Reddit Username
Reddit Password (in cleartext....yuck). I may just create an alt account

Leaving the user_agent at the defaults seemed okay.

from openbbterminal.

sheckylovejoy avatar sheckylovejoy commented on April 28, 2024

Same here. python-Levenshtein and fbprophet were the issues for me

from openbbterminal.

noahkuhn avatar noahkuhn commented on April 28, 2024

Seg fault happens on pretty much everything when using python 3.8.7, going to try and use 3.6.8 like the author.

from openbbterminal.

sheckylovejoy avatar sheckylovejoy commented on April 28, 2024

Yeah same

from openbbterminal.

sheckylovejoy avatar sheckylovejoy commented on April 28, 2024

So some other stuff on Mac
Python 3.92; Mac OS 11.2.1

On all the Reddit functions, I got this error
'Version 7.1.4 of praw is outdated. Version 7.2.0 was released 1 day ago.
pip uninstall praw
pip install praw

No error now, but none of the Reddits work.

Also in the sentiment function it churns away, loads ~/.flair/models/sentiment-en-mix-distillbert_3.1.pt and exits

Thanks for the work. Very nice

from openbbterminal.

noahkuhn avatar noahkuhn commented on April 28, 2024

Spent an hour banging my head against a wall to get 3.6.8 installed on macOS 11.2.1, and now that I've finally got it, it's still segfaulting. Not sure what to try at this point.

from openbbterminal.

yonoflow avatar yonoflow commented on April 28, 2024

when trying to access requirements.txt it tells me: Permission denied
Any ideas why that is?

from openbbterminal.

noahkuhn avatar noahkuhn commented on April 28, 2024

I did set one up and added the relevant keys to the config file, but I'm still not getting anything. I found an "API access request" form on Reddit that I filled out wondering if my account needs to be approved first? Not sure. Did you do anything other than create the script on that Reddit prefs/app page?

from openbbterminal.

noahkuhn avatar noahkuhn commented on April 28, 2024

Did you create it as a "script" application? I think I did "web app" which might be my problem...

from openbbterminal.

src04c avatar src04c commented on April 28, 2024

Yep did it as a script app.

Used a filler url for the redirect url which was required

The client ID wasn’t obvious either but appears under the name you give it once created.

from openbbterminal.

shadycuz avatar shadycuz commented on April 28, 2024

I'm going to close this now. Lots has changed since this was opened. You can run git checkout main, git pull main to fetch the latest and attempt to reinstall.

The project has been testest to work with Pythons 3.6.8, 3.7 and 3.8. Tensorflow doesn't support python 3.9 yet.

We are using poetry to manage the project and that is one option for installing. The other is to install with the requirements.txt. Feel free to use any virtual environment you want.

Just make sure to run pip install --upgrade pip as that was affecting some people as tensorflow requires pip >= 2.19 (or something like that).

We also have a dockerfile if you would prefer to use docker. We will also soon be offering an "official image" on dockerhub.

Oh and Windows is only supported with docker because pystan is not available for windows (officially).

If you are having problems please open a new issue =).

🚀 GamestonkTerminal 🌔

from openbbterminal.

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.