GeoGateway / GPS_Scripts

Back-end for Geogateway/GPS
0 stars 1 forks source link

Installation errors #4

Open marpierc opened 7 years ago

marpierc commented 7 years ago

I'm having trouble installing using the README instructions. For machine 1, I am using a small VM with Ubuntu 14, and the backend is another VM that meets the prerequisites. Parts of deploy.sh are failing silently, so I've run everything there step by step. The main problem occurs during the "pip install -r requirements-deploy.txt" step. I've attached a log file of the output and errors. Any idea what the problem is? pip-install-log.txt

hrushikesh-dhumal commented 7 years ago

When I tested it was a instance of Ubuntu 16 on AWS. I think it already had the python-dev version pre-installed so I didnt face the issue. As suggested by nixCraft

Python.h is a header file used by gcc to build applications. You need to install a package called python-dev. This package includes header files, a static library and development tools for building Python modules.

The following code should work out sudo apt-get install python-dev . If this doesnt, as per stackoverflowit is because some of the packages maybe missing which can be installed by-

sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev

sudo easy_install greenlet

sudo easy_install gevent

Let me know if it works out. I will edit the deploy.sh accordingly.

marpierc commented 7 years ago

I did these installs but got the same problem. I’ll try finding Ubuntu 16 VM

Marlon

From: ajinkya-dhamnaskar notifications@github.com Reply-To: GeoGateway/GPS_Scripts reply@reply.github.com Date: Tuesday, January 10, 2017 at 12:21 PM To: GeoGateway/GPS_Scripts GPS_Scripts@noreply.github.com Cc: "Pierce, Marlon" marpierc@iu.edu, Author author@noreply.github.com Subject: Re: [GeoGateway/GPS_Scripts] Installation errors (#4)

When I tested it was a instance of Ubuntu 16 on AWS. I think it already had the python-dev version pre-installed so I didnt face the issue. As suggested by nixCraft

Python.h is a header file used by gcc to build applications. You need to install a package called python-dev. This package includes header files, a static library and development tools for building Python modules.

The following code should do work out sudo apt-get install python-dev . If this doesnt, as per stackoverflowit is because some of the packages maybe missing which can be installed by- sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev

sudo easy_install greenlet

sudo easy_install gevent Let me know if it works out. I will edit the deploy.sh accordingly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

marpierc commented 7 years ago

I tried Ubuntu 16 both without and with the commands below, but no luck. Install log from pip install -r requirements-deploy.txt attached.

Marlon

From: ajinkya-dhamnaskar notifications@github.com Reply-To: GeoGateway/GPS_Scripts reply@reply.github.com Date: Tuesday, January 10, 2017 at 12:21 PM To: GeoGateway/GPS_Scripts GPS_Scripts@noreply.github.com Cc: "Pierce, Marlon" marpierc@iu.edu, Author author@noreply.github.com Subject: Re: [GeoGateway/GPS_Scripts] Installation errors (#4)

When I tested it was a instance of Ubuntu 16 on AWS. I think it already had the python-dev version pre-installed so I didnt face the issue. As suggested by nixCraft

Python.h is a header file used by gcc to build applications. You need to install a package called python-dev. This package includes header files, a static library and development tools for building Python modules.

The following code should do work out sudo apt-get install python-dev . If this doesnt, as per stackoverflowit is because some of the packages maybe missing which can be installed by- sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev

sudo easy_install greenlet

sudo easy_install gevent Let me know if it works out. I will edit the deploy.sh accordingly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

marpierc commented 7 years ago

Install log

marpierc commented 7 years ago

install log attached install-log.txt

hrushikesh-dhumal commented 7 years ago

I will create free instances of Ubuntu 14 and 16 on AWS to test it.

hrushikesh-dhumal commented 7 years ago

I think the problem is arising because I cam using virtual environment to install Ansible. Ansible requires the python-dev and gives out the error during installation. I think it is safe to ignore these error and move to next step of installation.