Easyengine error after upgrade Ubuntu 18.04


Hello all.

After I upgrade to Ubuntu 18.04 now it gives following error for every ee commands. Before this upgrade i have EasyEngine 3.8.1.

> root@server:~# sudo ee --version
> 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/__init__.py", line 3088, in <module>
>     @_call_aside
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3072, in _call_aside
>     f(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set
>     working_set = WorkingSet._build_master()
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 574, in _build_master
>     ws.require(__requires__)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 892, in require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 778, in resolve
>     raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'ee==3.8.1' distribution was not found and is required by the application



just run :

rm /usr/local/bin/ee
wget -qO ee rt.cx/ee && sudo bash ee


Thanks virtualbox.

I managed to fix it by following code.

 sudo rm -rf /tmp/easyengine
sudo git clone -b master https://github.com/EasyEngine/easyengine.git /tmp/easyengine
cd /tmp/easyengine
sudo python3 setup.py install


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.