EasyEngine with phplibsec fails install on SqlAlchemy


#1

I’m trying to install a easyengine using a new droplet in digitalocean and Laraval 5.1, but, when i execute the shell, stops install in the below lines (is in the log of install… /var/log/ee/install.log.)

Installed /usr/local/lib/python3.5/dist-packages/ee-3.7.4-py3.5.egg
Processing dependencies for ee==3.7.4
Searching for sqlalchemy
Reading https://pypi.python.org/simple/sqlalchemy/
Best match: SQLAlchemy 1.1.5
Downloading https://pypi.python.org/packages/da/04/8048a5075d6e29235bbd6f1ea092a38dbe2630c670e73d4aa923a4e5521c/SQLAlchemy-1.1.5.tar.gz#md5=50685d97dca4b91945ae6309d03ab8c9
Processing SQLAlchemy-1.1.5.tar.gz
Writing /tmp/easy_install-5gzguhbk/SQLAlchemy-1.1.5/setup.cfg
Running SQLAlchemy-1.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5gzguhbk/SQLAlchemy-1.1.5/egg-dist-tmp-bq91a2ix
[ Tue Feb 21 07:03:31 UTC 2017 ] Unable to install EasyEngine, exit status 1

The error of title in issue is when i try to use ‘ee’ command after the failed instalation:

pkg_resources.DistributionNotFound: The ‘sqlalchemy’ distribution was not found and is required by ee

I already tried install this packages: apt-get install python3-pip && pip3 install psutil apt-get -y --force-yes install python-setuptools > /dev/null easy_install --upgrade pip > /dev/null

But not work , the install is not successfuly when i execute my shell script USING PHPLIBSEC 2.0 (composer), with is: MY SHELL

mkdir /home/itep
cd /var && printf '%s\n' '#!/bin/bash' 'sudo apt-get update > /dev/null && sudo apt-get -y upgrade > /dev/null' 'apt-get --yes --force-yes install  python3-pip > /dev/null && pip3 install psutil > /dev/null' 'apt-get -y --force-yes install python-setuptools > /dev/null' 'easy_install --upgrade pip > /dev/null' 'cd /var && sudo wget -qO ee rt.cx/ee && echo y | sudo bash ee > /dev/null'  'sudo ee site create example.com --wp'>commands.sh
cd /var && chmod +x commands.sh
sudo bash -c 'echo -e "[user]\n\tname = itep\n\temail = itep@mysite.com.br" > /home/itep/.gitconfig'
git config --global user.name "itep" && git config --global user.email itep@mysite.com.br
cd /var && echo y | sudo bash commands.sh 

What can i do? thanks

i’m execute the apt-get upgrade, and the sudo wget -qO ee rt.cx/ee && echo y | sudo bash ee > /dev/null’ in background, because the situation needs Automatically yes (non interactive).


#2