Magento 2.3.3 installation with composer fails: Could not delete

I’m trying to install Magento 2.3.3 on Debian 9 over a virtual machine. I’m stuck during the magento installation process because of the magento-composer-installer plugin. I also did a manual installation using the following command from the magento devdocs, but I always get the same error: composer –no-ansi –no-interaction install –no-progress –prefer-dist –optimize-autoloader Loading composer…

Details

How to observe event before saveShipping or saveBilling actions for address validation

The shipping and billing addresses in our shop are processed with leading and trailing spaces, which is causing problems with the shipping labels. To fix this I want to hook into the process before the saveShippingAction() and saveBillingAction() of the OnepageController are invoked. I tried using the <controller_action_predispatch_checkout_onepage_saveBilling> and <controller_action_predispatch_checkout_onepage_saveShipping> event but the observer I…

Details

pip install fails with ImportError: cannot import name ‘SourceDistribution’

Example of installing something in clean venv: $ rm -rf venv && python3.8 -m venv venv && ./venv/bin/python -m pip install -U pip && ./venv/bin/python -m pip install requests Collecting pip Using cached https://files.pythonhosted.org/packages/60/65/16487a7c4e0f95bb3fc89c2e377be331fd496b7a9b08fd3077de7f3ae2cf/pip-20.0-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 19.2.3 Uninstalling pip-19.2.3: Successfully uninstalled pip-19.2.3 Successfully installed pip-20.0 Traceback (most recent call…

Details