Coder Social home page Coder Social logo

Unsupported backend "sqlite" about howdoi HOT 6 CLOSED

gleitz avatar gleitz commented on June 24, 2024
Unsupported backend "sqlite"

from howdoi.

Comments (6)

gleitz avatar gleitz commented on June 24, 2024

I can't reproduce this issue on my installation of 2.7.2. I also see that the travis-ci build passes on 2.7.2. Is it possible you have some sort of special environment setup?

I believe the issue is with requests-cache. Please check your installation of requests-cache. What version are you using?

from howdoi.

tsaulic avatar tsaulic commented on June 24, 2024

I have the same issue. Using homebrew sqlite 3.8.0.2 and also stock sqlite. Using python 2.7.5 also installed via homebrew. 'brew doctor' says the system is ready to brew.

requests-cache - Persistent cache for requests library
INSTALLED: 0.4.3 (latest)

I'll try older versions of requests-cache and report.

from howdoi.

tsaulic avatar tsaulic commented on June 24, 2024

Tried 0.4.2 and 0.4.3 requests-cache both at home and on my work Mac, same thing as the OP. If I try to use howdoi in an anaconda env, it runs but I get a 'Failed to establish network connection'. Might be worth to note that I have to be authenticated via TLS (dot1x) on my network port. All other tools work fine/have network access.

from howdoi.

tsaulic avatar tsaulic commented on June 24, 2024

Managed to fix it. Looks like my python wasn't built with sqlite (I installed sqlite after).

Just do:

brew uninstall sqlite gdbm python
brew install sqlite gdbm --universal
brew install python --universal --framework

And it should work :) Hope it works for OP too.

from howdoi.

gleitz avatar gleitz commented on June 24, 2024

Thanks for the solution; closing the issue.

from howdoi.

gleitz avatar gleitz commented on June 24, 2024

I ran into this issue again after upgrading to Mavericks. I fixed it with:

brew rm sqlite python
brew install python

SQLite3 will be installed automatically as a dependency.

Note: there is also a fix in requests-cache but I don't think it is in the latest version yet.

from howdoi.

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.