pip installed a different version of a package than you requested. This usually happens due to version constraints or conflicts that force using an alternative version.
When multiple packages have conflicting version requirements for the same dependency, pip must choose a version that works for all. Sometimes this means installing a version that isn't your first choice, but which satisfies all constraints.
Review the error message above and identify which cause applies to your situation. Run additional diagnostics if needed.
Follow the corresponding solution from the causes section above.
Once you've addressed the root cause, try running 'pip install' again.
ValueError: math domain error
How to fix "ValueError: math domain error" in Python
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages'
How to fix "Permission denied" when installing packages with pip
ERROR: Could not install packages due to an OSError: [Errno 30] Read-only file system: '/usr/lib/python3/dist-packages'
How to fix "Read-only file system" error when installing packages with pip