Giter VIP home page Giter VIP logo

Comments (5)

emcf avatar emcf commented on May 29, 2024

Hi @jamespet77 , did you set THEPIPE_API_KEY to your API key? If so, I'd love to get this fixed for you at our discord https://discord.gg/khsB3667 and push a change to resolve the bug.

from thepipe.

jamespet77 avatar jamespet77 commented on May 29, 2024

Yes.
I did find a workaround.
I added

import dotenv
dotenv.load_dotenv()

to extractor.py

I am not sure why it is not picking up my env vars, but this allowed it to grab my ".env" for the project.

If there is an alternative that is recommended, I am not seeing it in the current documentation.
Screenshot_20240418_112058

from thepipe.

emcf avatar emcf commented on May 29, 2024

@jamespet77 Thanks! I think I understand this issue a bit better now -- a system-wide environment variable must be set (the equivalent of export THEPIPE_API_KEY=yourkeyhere in linux), not a .env file environment variable. I will make the readme more clear on this until I can push a change to support this fix. It must also be valid, so if the key is invalid it will return this message.

from thepipe.

jamespet77 avatar jamespet77 commented on May 29, 2024

I tried the system wide in in .bashrc and that did not work either. Maybe it was formatted wrong?? Either way, it would be nice to have it local so that I can use a project specific KEY for it.

from thepipe.

emcf avatar emcf commented on May 29, 2024

@jamespet77 I added the dotenv load as you suggested: #3fdda829b2bd82e53926dc0d5bf8fc363e668fa8

Although, if this does not work for you, you can send me your API key at [email protected] and I will investigate this deeper. You can also use it without an API key (see the local installation section).

Thanks for already having spent the time to help with that workaround.

from thepipe.

Related Issues (15)

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.