My MacBook died to some soup and I have been in 2 days of development environment setup hell on my pc. Between learning what WSL is, how WSL 2 doesn’t work with Vagrant, going back to WSL 1 config files to CHMOD things. Now I am stuck on this error trying to get my already created development site back up. My brain is fried I have no idea what it means and any help would be great.
PLAY [WordPress Server: Install LEMP Stack with PHP 7.3 and MariaDB MySQL] *****
TASK [Gathering Facts] *********************************************************
System info:
Ansible 2.7.5; Vagrant 2.2.14; Linux
Trellis 1.0.3: April 30th, 2019
MODULE FAILURE
See stdout/stderr for the exact error
Traceback (most recent call last):
File “”, line 113, in
File “”, line 105, in _ansiballz_main
File “”, line 48, in invoke_module
File “/usr/lib/python3.6/imp.py”, line 235, in load_module
return load_source(name, filename, file)
File “/usr/lib/python3.6/imp.py”, line 170, in load_source
module = _exec(spec, sys.modules[name])
File “”, line 618, in _exec
File “”, line 678, in exec_module
File “”, line 219, in
_call_with_frames_removed
File “/tmp/ansible_setup_payload_zu0g8ox9/main.py”, line 130, in
ImportError: attempted relative import with no known parent package
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: attempted relative import with no known parent package
fatal: [default]: FAILED! => {“changed”: false, “module_stdout”: “”, “rc”: 1}
to retry, use: --limit @/mnt/c/Users/nacho2sweet/Development/help.ubc.ca/helpwebsite_new/trellis/dev.retry
PLAY RECAP *********************************************************************
default : ok=2 changed=0 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.