Ee site create fails with sqlalchemy error


#1

I’m a new easyengine user. I did a clean install of Ubuntu 14.04 LTS/64-bit. Installed ee with "wget -qO ee rt.cx/ee && sudo bash ee ", which worked fine.

But creating a site fails with an sqlalchemy error:

$ sudo ee site create testsite.org --wp
Traceback (most recent call last):
  File "/usr/local/bin/ee", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 444, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: sqlalchemy

/var/log/ee/ee.log is empty.

A couple python-sqlalchemy packages are installed:

$ dpkg --get-selections | grep alchemy
python-sqlalchemy                               install
python-sqlalchemy-ext                           install

Any help? Thanks in advance.


#2

I got a little further after installing “python3-sqlalchemy”

But now I’m getting another dependency error, this time with “sh”.

$ sudo ee site create 160.94.239.109 --wp
Traceback (most recent call last):
  File "/usr/local/bin/ee", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 444, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: sh

I’m hitting a wall again though. There is no python-sh or python3-sh package.


#3

It’s happen while installing on Ubuntu 14.04,…


#4

I am now having this with 3.8.1 did you ever find a fix?