-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[bug report] Cannot update root environment from Python 2 to Python 3 #7184
Comments
I also want to be able to update the root Python version. My use case is that I want to use Miniconda to create a Python environment for a Docker image. However I don't want to install 2 versions of Python - the root Python version and the exact version of Python I need in another environment. That's a waste of space. |
I am able to reproduce, and I also consider this a bug.
|
The way I understand your statement, what you want to achieve is technically impossible. You want two different versions of python in your container, but you don't want to install two different versions of python? |
@kalefranz No, that is not correct. I want the root version of Python to be the exact version of Python I need. For example, let's say I wanted Anaconda and Python 3.4.3 for a particular application that I wanted to build a Docker image for. Just now I installed a new Miniconda distribution, which gave me Python 3.6.5. I tried to change the root Python version:
Since this is not possible, the alternative solution is to create another Python environment with |
Ok, then yes, I think the problems are related. In your case conda isn't scheduling packages for removal to facilitate the requests rebundling of dependencies you get when downgrading to requests built for python 3.4. |
The block of code that's supposed to be taking care of this here is Lines 346 to 360 in 9f3072c
It's apparently insufficient in this case. |
…ble environments
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
I am submitting a bug report. [IMO]
Steps to Reproduce
Trying to update the current conda root environment from Python 2 to Python 3 results in the following error:
Trying to remove pysocks or enum34 results in the following error:
Expected Behavior
This means that there is no standard method for me to update from Python 2 to Python 3. Correct behaviour would be to allow for the upgrade by offering the option to remove the conflicting packages.
Environment Information
`conda info`
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/osx-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/osx-64
https://repo.anaconda.com/pkgs/pro/noarch
/Users/puya/.conda/pkgs
/Users/puya/.conda/envs
`conda config --show-sources`
`conda list --show-channel-url`
The text was updated successfully, but these errors were encountered: