• Questions
  • I get error when install WordOps on Raspberry 4

Have you run

sudo apt-get update && sudo apt-get dist-upgrade

to ensure you have all the latest packages? If it's a fresh install of the OS, try re-installing the OS

    Thinking back again, did you try

    sudo su -

    then run the installer? I always have installed as "root" not using sudo itself

      Curious you're using "pip" instead of "apt-get"?

      Did you try a new, fresh install, run apt-get update && apt-get dist-upgrade and then try to install it?

        You were able to get it? Providing a solution would be great, if you have one, for other users that might be running into the same issue

        reinstall "psutil" and
        pip install --upgrade --force-reinstall pip==9.0.3
        pip install xxx --disable-pip-version-check
        pip install --upgrade pip

          6 days later

          I had a similar issue before - solved with change of internet connection. Some networks using restrictions of downloads files.

          Please try it.

          congthanhunica Thanks for your research.
          The issue is probably related to the debian package python3-pip installed from the raspbian APT repository.
          I will try to run more tests this week and to add a fix into the install script (if I manage to find the other micro-sd card I have).

          try using dietpi image - i got success with it. now its running online.

          No issues, tried it on raspbian buster lite version

          18 days later

          MohaBeacon I just received a brand new raspberry pi 4, so I will take a look on this in the next few days.

            6 days later
            12 days later

            for me is the same in Raspberry Pi 4

            ➜ cat /etc/debian_version && cat /etc/os-release && uname -a
            10.3
            PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
            NAME="Raspbian GNU/Linux"
            VERSION_ID="10"
            VERSION="10 (buster)"
            VERSION_CODENAME=buster
            ID=raspbian
            ID_LIKE=debian
            HOME_URL="http://www.raspbian.org/"
            SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
            BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
            Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
            ➜ _ wget -qO wo wops.cc && sudo bash wo
            
            Welcome to WordOps install/update script v3.11.4
            
            Installing wo dependencies	[OK]
            Installing WordOps	[KO]
            Running post-install steps	[OK]
            wo: line 755: wo: command not found
            WordOps (wo) installed successfully
            
            To enable bash-completion, just use the command:
            bash -l
            
            To install WordOps recommended stacks, you can use the command:
            wo stack install
            
            To create a first WordPress site, you can use the command:
            wo site create site.tld --wp
            
            WordOps Documentation : https://docs.wordops.net
            WordOps Community Forum : https://community.wordops.net
            WordOps Community Chat : https://chat.wordops.net
            
            Give WordOps a GitHub star : https://github.com/WordOps/WordOps/
            ➜ _ wo
            sudo: wo: command not found
            ➜ wo
            Traceback (most recent call last):
              File "/home/pi/.local/bin/wo", line 8, in <module>
                sys.exit(main())
              File "/home/pi/.local/lib/python3.7/site-packages/wo/cli/main.py", line 93, in main
                with app:
              File "/usr/local/lib/python3.7/dist-packages/cement/core/foundation.py", line 1501, in __enter__
                self.setup()
              File "/usr/local/lib/python3.7/dist-packages/cement/core/foundation.py", line 835, in setup
                __import__(self._meta.bootstrap, globals(), locals(), [], 0)
              File "/home/pi/.local/lib/python3.7/site-packages/wo/cli/bootstrap.py", line 7, in <module>
                from wo.cli.controllers.base import WOBaseController
              File "/home/pi/.local/lib/python3.7/site-packages/wo/cli/controllers/base.py", line 5, in <module>
                from wo.core.variables import WOVar
              File "/home/pi/.local/lib/python3.7/site-packages/wo/core/variables.py", line 13, in <module>
                class WOVar():
              File "/home/pi/.local/lib/python3.7/site-packages/wo/core/variables.py", line 93, in WOVar
                copy2(os.path.expanduser("~") + '/.gitconfig', '/root/.gitconfig')
              File "/usr/lib/python3.7/shutil.py", line 263, in copy2
                copyfile(src, dst, follow_symlinks=follow_symlinks)
              File "/usr/lib/python3.7/shutil.py", line 121, in copyfile
                with open(dst, 'wb') as fdst:
            PermissionError: [Errno 13] Permission denied: '/root/.gitconfig'

            Have you tried this on a clean install of the host OS?

            Do you have all host OS updates? apt-get update && apt-get dist-upgrade

            Hosted by VirtuBox