Error occurred while installing openstack after setting FORCE=yes

I tried installing openstack through devstack using the following commands $ git clone https://github.com/openstack-dev/devstack.git -b stable/havana devstack/ i followed this link to do it. In...

Using Theano on Windows: missing lazylinker_ext.pyd

When running a Python script that contain import theano, I get this error: =============================== 00001 #include <Python.h> 00002 #include "structmember.h" 00003 #include...

Install pip in docker

I'm not able to install pip in Docker. Here's my Dockerfile: FROM ubuntu:14.04 # Install dependencies RUN apt-get update -y RUN apt-get install -y git curl apache2 php5 libapache2-mod-php5...

Error to install pip on google-cloud

) I tried to install pip on a gcloud server with ubunto 16.04 I got this error massage. Hopefuly you can help me. https://pastebin.com/Pdyt5n5j maybe pastbin is better to...

R reticulate package does not see keras library in winpython

I am trying to use keras library installed in Winpython version 3.4.4.amd64 in RStudio (via reticulate and kerasR libraries). I work on windows 7 64bit machine. I also tried the same with...

Why Docker container images become so large while deploying Python 3.6, Virtualenv, Flask, Gunicorn on Ubuntu 16.04?

While deploying the flask application within virtualenv python3 -m venv FLSK-ENV Dockerfile: FROM appcontainers/ubuntu:xenial MAINTAINER user <user> RUN apt-get install -y...

AttributeError: Roboclaw instance has no attribute '_port'

I really have tried searching through all the forums. It's confusing. The makers of Roboclaw wrote their Python test scripts (and Roboclaw class) with Python 2.7. As of now, it will NOT work with...

Can apt-get autoremove remove system files?

I tried to install Python 3 on my Ubuntu 16.04.4 LTS and while using apt i found this: The following packages were automatically installed and are no longer required: cabextract gcc-5-base:i386...

Docker with ubtuntu:trusty and installing python-dev

Thanks for taking a look at this. I created a docker image for ssh using https://github.com/kartoza/docker-ssh Only difference is I used ubuntu:trusty. After this I started the container and ssh'd...

How to minimize an ubuntu docker image which needs only git, cron and openjdk-8-jre

Testing some docker project so after playing with alpine, I would like to use ubuntu:bionic for production. I decided to roll out my own image but the problem is that it's 600MB+ . REPOSITORY ...

'pipenv install' fails with TypeError: must be str, not type

Here's the full error log - C:\Dev\libpython\src>pipenv install Creating a virtualenv for this project… Pipfile: C:\Dev\libpython\src\Pipfile Using C:/Python/Python36-64/python.exe (3.6.6) to...

Installation of python module using `pip` during `docker build` fails

I'm trying to build a Docker container in which I want to install some Python modules using pip (these modules will eventually be needed to build an app). I have written the following...

"Failed to locate libpython within timeout period." When trying to profile a .py file not in a container with pyflame

I am attempting to record hotspots in my code in order to be able to optimize it with multi-threading. I installed pyflame outside of a container by first running sudo apt-get install autoconf...

Getting installation error when installing awsebcli on a linux machine

I am getting a new error (only 2 days ago) when deploying to AWS Linux using CircleCI. It seems that the sys_platform is picked as win32, while i am on a Linux box. Not sure if this is a python...

Cannot uninstall python/pip on raspberry pi 3 b+

I am working on a raspberry pi 3B+. I want to upgrade the python from 2.7 to 3.6. I downloaded the python 3.6 extracted and made it, However it got installed in the /usr/local/bin. I tried to make...

docker-compose mounted volume empty

For some reason, my target directory is still empty. /root/temp is present in the container, but it's empty. Is it not possible to copy files from a host directory onto a container with...

Cannot run any commands on digital ocean droplet created by ansible

I would like to automate this process Generate SSH key Add it to DO Create droplet Run commands on it // This is where I fail So far I have this: main.yml - name: DO hosts: localhost ...

ImportError: cannot import name 'ssl' from 'urllib3.util.ssl when running gensim in R via reticulate

I'm trying to import gensim from a conda environment via R with reticulate. The conda environment itself imports gensim fine, it's only when I interface using reticulate that I have the problem....

tzdata freeze docker build Swfit image

While run docker build to build a swift image, tzdata will stop the process. It prompt to choose a location, but no reaction after I enter the number . Configuring tzdata ------------------ ...

Installing pyspider - "python setup.py egg_info" failed with error code 1

I'm trying to install pyspider on Debian GNU/Linux 9. Tried installing with pip and pip3, checked libevent-dev, libpython-dev, python-dev, distribute, ez_setup, and I still get the following...

Unable to install python-dev

When I try to install python-dev, libxml2-dev, libxslt-dev for Python2 on my Ubuntu 14.04, I get the following error: E: Unable to correct problems, you have held broken packages E: Unable to...

python2.7-dev won't install

I am trying to get Python.h into my /usr/include/python2.7 directory, so I run $ sudo apt install python-dev which informs me that these will be installed: libpython-dev libpython2.7...

Nvidia Driver Won't Load on Ubuntu 16.04.4 LTS

I am trying to install NVIDIA Driver for Titan Xp. I type the following for installation: sudo apt-get install nvidia-418 The installation runs with no errors. However, after rebooting the...

Issues with Gunicon and Docker alpine-fat Image

I'm having a strange issue regarding Gunicorn installation for a Django project. My Dockerfile extends FROM openresty/openresty:alpine-fat as follows: FROM openresty/openresty:alpine-fat #...

Unable to install `gattlib`

I am trying to install gattlib in Python in order to use some of its Bluetooth-tools. The OS is ubuntu 18.04.4 LTS. I have by now tried the following (as e.g. here): sudo apt-get install...

How can I install Scipy for pypy from pyenv?

I use pypy via pyenv on Ubuntu 18.04. How can I install scipy for this setup? Installing scipy for pypy is possible, but maybe I need to do extra steps using pyenv? The Error $ echo...

How to install ansible 2.9+ on ubuntu 18.04 and utilize python3?

I'm trying to install minimal ansible 2.9.x on Ubuntu Bionic (18.04 LTS). The final goal is to build new disk image (using packer) on every commit and want the process to be as fast as...

How do I install the most recent Tensorflow (here: 2.2) on Windows when conda does not yet support it?

I have conda 4.8.3 and Python 3.7.4 on Windows 8.1. I have tf 2.0.0 installed in a conda environment. How do I upgrade to 2.2.x? Or, how do I just install 2.2.x in a conda environment? Edit 1: pip...

Installing dlib for an alternate python environment

I've installed python 3.6 alongside the default python 3.8 on my ubuntu 20.04 macbook pro 3,1 with $ sudo make altinstall I am trying to build dlib for a virtual 3.6 environment with pip, but it...

Yocto(Zeus) Perf Build fails

I want to build perf on Yocto (Zeus branch), for an image without python2. The recipe is this...