Coder Social home page Coder Social logo

psycopg2 error about tabby-web HOT 8 CLOSED

eugeny avatar eugeny commented on August 17, 2024
psycopg2 error

from tabby-web.

Comments (8)

capriciousduck avatar capriciousduck commented on August 17, 2024 1

Hi @Eugeny

In alpine pyscopg2 is not available via pip, not until postgresql-dev is installed. So, I googled a bit and found out that psycopg2-binary works.

Just letting you know...

from tabby-web.

Eugeny avatar Eugeny commented on August 17, 2024

Not related to a terminal.

from tabby-web.

capriciousduck avatar capriciousduck commented on August 17, 2024

Perhaps, I didn't mention my issue correctly. Here is the actual error.

File "/venv/tabby-web-9TtSrW0h-py3.7/lib/python3.7/site-packages/django/db/backends/postgresql/base.py", line 29, raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No module named 'psycopg2'

from tabby-web.

Eugeny avatar Eugeny commented on August 17, 2024

Oh sorry! The docker image ships with the MySQL connector by default, you can rebuild it with EXTRA_DEPS=psycopg2 to include psycopg2

from tabby-web.

capriciousduck avatar capriciousduck commented on August 17, 2024

Oh. Okay. And regarding database size, would 1GB of storage be enough for PostgreSQL? I'm a noob when it comes to DB's.

from tabby-web.

Eugeny avatar Eugeny commented on August 17, 2024

Yes, definitely, it just needs to store your accounts and config files.

from tabby-web.

capriciousduck avatar capriciousduck commented on August 17, 2024

Thanks!!

from tabby-web.

Eugeny avatar Eugeny commented on August 17, 2024

thanks!

from tabby-web.

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.