RPostgreSQL installation Error - RPostgreSQL.so: undefined symbol: PQpass

I am trying to install R-Package RPostgreSQL, but getting the following error, Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object...

Trouble with psycopg2 in virtualenv python3 for use with Django

I have a Django project that I would like to use with a PostgreSQL database but I am having an issue with psycopg2. When I try to run the dev server or perform a syncdb I get this error. My...

Docker build has no network, but docker run has

If I want to build my Dockerfile, it can't connect to the network or at least DNS: Sending build context to Docker daemon 15.95 MB Sending build context to Docker daemon Step 0 : FROM ruby --->...

NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:redshift.psycopg2

I am trying to connect to redshift from my python code. my pip installed: psycopg2==2.6.1 redshift-sqlalchemy==0.4.1 SQLAlchemy==1.0.9 and my virtual machine has: libpq-dev python-psycopg2 But...

"Failed building wheel for psycopg2" - MacOSX using virtualenv and pip

I'm attempting to make a website with a few others for the first time, and have run into a weird error when trying to use Django/Python/VirtualEnv. I've found solutions to this problem for other...

Install node in Dockerfile?

I am user of AWS elastic beanstalk, and I have a little problem. I want to build my CSS files with less+node. But I don`t know how to install node in my dockerfile, when building with...

Docker MYSQL '[2002] Connection refused'

I was trying out Docker for the first time. Got a LEMP stack up and running, but I can't connect to the MYSQL Database. Not on my Symfony application, not on PHPMyAdmin. The applications are...

Issue to node-sass and Docker

I'm attempting to dockerise my node application. My current application is a nodejs express server with postgresql. ExpressJS uses node-sass-middleware to handle the sass assets. When I run node...

Docker: Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

I am getting issues while setup and run the docker instance on my local system with Ruby on Rail. Please see my docker configuration files:- Dockerfile FROM ruby:2.3.1 RUN useradd -ms /bin/bash...

Cannot install psycopg2 Ubuntu

Trying to get a server ready for a django project and I'm running into some issues with setup for postgres. I'm following this...

Ignore key error on apt-get update from ansible playbook

I have a playbook in ansible that install packages from a repository that has invalid keys: - name: Add Cloudera key apt_key: keyserver: keys.gnupg.net id:...

Enable APCU CLI on docker php 7.3

I'm trying to enable apcu cli on my docker container in order to run my test. This is my docker file, I use : basic php image install composer install xdebug install more docker libs install...

Why won't Docker load Tidy?

I'm trying to use phpdocx in order to create a docx file from HTML in a laravel api application. In order to use this conversion tool, it is necessary to have Tidy installed. I've included tidy in...

An error occurred while installing pg (1.2.1), and Bundler cannot continue

I am using CentOS 6 and during bundle install, I get this error. An error occurred while installing pg (1.2.1), and Bundler cannot continue. Make sure that `gem install pg -v '1.2.1' --source...

Docker - Unable to load dynamic library 'gd2'

I don't understand how to install gd2 library with Docker on linux mint. This is my docker-compose file version: '3' services: web: build: ./web environment: -...

Can`t install libpq-dev

I am trying to install libpq-dev as postgres requires it, but I only get an error. pip install libpq-dev==9.4.3 Could not find a version that satisfies the requirement libpq-dev==9.4.3 (from...

Rails / Postgres: warning: implicit conversion loses integer precision: 'long' to 'int'

i could not get postgres-gem to run. macOS 10.15.4 Postgres-App 2.3.5 (https://postgresapp.com/downloads.html) PostgreSQL -v12 Rails-6.0.2 gem 'pg' v1.2.3 then, i did: bundle config build.pg...

Installing R `sf` and `RPostgres` packages on Unbuntu 18.04.4

Some dependency hell here... Desire is to installed R {sf} and {RPostgres} packages on Ubuntu 18.04.4. Trying: R$> install.packages("sf") ... ... ... # configure: error: gdal-config not found or...

Problems instaling libpq-dev in ubuntu 20.04

I am currently trying to install libpq-dev to install psycopg2. The problem is, when I try to install it, an error occurs saying I don't have the latest libpq5 version. However when I try to...

How to activate virtual envirooment for existing django project using pipenv in python 3.8

I developed a Django webapp project using Django 2.2.1 in python 3.7.2 in a pipenv version 2018.11.26 virtual environment in MacBook Air. After an unintentional update to python 3.8 using brew...

Why is installing python-psycopg2 on my Docker image not preventing the subsequent "No module named 'psycopg2'" error?

I'm using docker-compose v 1.27.4 on Mac. I have this docker-compose.yml file -- two services, a PostGres DB and a Python/Django app ... services: postgres: image: postgres:10.5 ...

Missing OCI support when building GDAL

So I am building a DOTNET application that runs on Debian, and makes use of ogr2ogr to copy data from an oracle database towards an Postgres database. The problem is that I cannot get GDAL to...

Docker: Cannot use ImageField because Pillow is not installed

I have a problem with my Docker. In my dev version of Docker it's working but when I've created prod version it says that Pillow is not installed. I've been searching for solution since yesterday,...

Newbie needs help understanding Docker Postgres django.db.utils.OperationalError: FATAL: password authentication failed for user "postgres"

I am a newbie trying to follow this tutorial. https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/#postgres I succeeded in building the docker containers but got this...

Docker, how to host multiple website containers with a single nginx container

Actually when I want to change to other project I have to stop docker-compose on my current project, and then go to the next project and run docker-compose up -d I have to do this because if I try...

Laravel is suspiciously slow (fresh app, everything is by default)

I work with Windows 10 (WSL 2). My hardware is: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz RAM 8.00GB SSD Actually, this is a game laptop (MSI GL 65 95CK) if you are interested. I...

Discord.py segmentation fault inside Docker using Apple Silicon M1

I am trying to setup Docker environment for my discord.py bot. I managed to create a Dockerfile, which uses python:3.9-slim-buster as a base image. Everything is working perfectly, when I run the...

Laravel application hang on Google Cloud Run but runs fine on home setup

I am testing out Google Cloud Run as a platform to run a new project. Project is developed using NodeJS and Laravel. Created a docker images based on php-fpm. This image runs fine on my dev...

The stream or file \"/var/www/html/storage/logs/laravel.log\" could not be opened in append mode... Permission denied. gcp "Cloud run"

FROM php:8.0-apache-buster #install all the system dependencies and enable PHP modules RUN apt-get update && apt-get install -y libpq-dev libzip-dev && rm -r /var/lib/apt/lists/* ...

Airflow set python library versions to improve build speed

It used to take ~5 minutes for our Airflow deployment's docker image to build, and all of a sudden it is taking over an hour. With that said we haven't had to rebuild our image in a few months, so...