error in scf setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
pip install -U setuptools
Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
pip install -I PyYAML==x.x.x (view the specific version in requirements.txt)
pip "Cannot uninstall 'six'. It is a distutils installed project..."
sudo pip install six --upgrade --ignore-installed six
uninstalling pytz : [error 1] Operation not permitted ...
sudo pip install pytz --upgrade --ignore-installed six
Error: You must provide a function identifier (function's Logical ID in the template). Possible options in your template: ['xxxB', 'xxxA']
Solution: include the function name when running the
local invoke command, such as
scf local invoke -t template.yaml xxxA
[SSL: CERTIFICATE_VERIFY_FAILED]error occurred during deployment
deploy was used, function deployment failed with error message
Cause: in macOS 10.12 + Python 3.6 and higher versions, Python no longer reads certificates from the system path, resulting in certificate reading failures, and SSL verification will fail when TencentCloud API is called for deployment
Solution: in the Python installation directory, run the
Install Certificates.command script to install the
certifi package automatically