I tried updating WordOps to the latest version on a Ubuntu 20.04.6 LTS and got the following:
wo update
WordOps changelog available on https://github.com/WordOps/WordOps/releases/tag/v3.22.0
Do you want to continue:[y/N]y
Downloading update script [OK]
updating WordOps, please wait...
Welcome to WordOps install/update script v3.22.0
Installing wo dependencies [OK]
Installing WordOps [OK]
Running post-install steps [OK]
Traceback (most recent call last):
File "/usr/local/bin/wo", line 5, in <module>
from wo.cli.main import main
File "/opt/wo/lib/python3.8/site-packages/wo/init.py", line 1, in <module>
import('pkg_resources').declare_namespace(name)
AttributeError: module 'pkg_resources' has no attribute 'declare_namespace'
WordOps (wo) upgrade to v3.22.0 was successful!
Changelog is available on https://github.com/WordOps/WordOps/releases/tag/v3.22.0
To upgrade WordOps web stacks, you can use the command:
wo stack upgrade
To update all other packages, you can use the command:
wo maintenance
WordOps Documentation : https://docs.wordops.net
WordOps Community Forum : https://community.wordops.net
Give WordOps a GitHub star : https://github.com/WordOps/WordOps/
Now WordOps doesn't work:
wo stack install
Traceback (most recent call last):
File "/usr/local/bin/wo", line 5, in <module>
from wo.cli.main import main
File "/opt/wo/lib/python3.8/site-packages/wo/init.py", line 1, in <module>
import('pkg_resources').declare_namespace(name)
AttributeError: module 'pkg_resources' has no attribute 'declare_namespace'