-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Pip Upgrade. #210
Comments
This looks more like an issue with your setup rather than PyYAML: The existing installation was installed with distutils and not pip, so pip doesn't know how to uninstall it. |
@The-Compiler - As a heavily used library, it is highly recommended that it be moved onto setuptools. This is going to continue to be an issue and will likely become a larger one in the future. |
Moreover, it wasn't really supported earlier as well. It's just that it stopped lying about being able to track package files for removal :) |
@The-Compiler - |
@Ralnoc Note I'm not involved with PyYAML (other than contributing a deprecation warning fix), so I can't answer those questions. |
Closing this one. The original issue is unrelated to the internals of the current |
C:\WINDOWS\system32>pip install PyYAML --upgrade
Collecting PyYAML
Using cached https://files.pythonhosted.org/packages/4f/ca/5fad249c5032270540c24d2189b0ddf1396aac49b0bdc548162edcf14131/PyYAML-3.13-cp36-cp36m-win_amd64.whl
azure-cli-appservice 0.1.31 has requirement azure-mgmt-containerregistry==1.0.1, but you'll have azure-mgmt-containerregistry 2.1.0 which is incompatible.
azure-cli-acr 2.0.23 has requirement azure-mgmt-containerregistry==1.0.1, but you'll have azure-mgmt-containerregistry 2.1.0 which is incompatible.
Installing collected packages: PyYAML
Found existing installation: PyYAML 3.12
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.
It would be great to have this resolved. Feel free to close if this is already solved. It would be good to have advise on how to upgrade.
The text was updated successfully, but these errors were encountered: