PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Fail to upgrade Python to version 3.13 in Conda.

Open ttSpace opened this issue 4 months ago • 0 comments

Describe the bug

Image

Steps to Reproduce

  1. Create a Python Application.

  2. Create a conda environment. (Install Anaconda (downloads at https://www.anaconda.com/download/) if no Anaconda )

  3. Upgrade python.

    Image

Expected behavior

The upgrade was successful.

Additional context and screenshots

Image

Logs

Output for General in the Output panel

----- Creating 'env3' -----
Channels:
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
  environment location: C:\ProgramData\anaconda3\envs\env3
  added / updated specs:
    - python
The following NEW packages will be INSTALLED:
  bzip2              pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6 
  ca-certificates    pkgs/main/win-64::ca-certificates-2024.9.24-haa95532_0 
  expat              pkgs/main/win-64::expat-2.6.3-h5da7b33_0 
  libffi             pkgs/main/win-64::libffi-3.4.4-hd77b12b_1 
  openssl            pkgs/main/win-64::openssl-3.0.15-h827c3e9_0 
  pip                pkgs/main/win-64::pip-24.2-py312haa95532_0 
  python             pkgs/main/win-64::python-3.12.7-h14ffc60_0 
  setuptools         pkgs/main/win-64::setuptools-75.1.0-py312haa95532_0 
  sqlite             pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0 
  tk                 pkgs/main/win-64::tk-8.6.14-h0416ee5_0 
  tzdata             pkgs/main/noarch::tzdata-2024b-h04d1e81_0 
  vc                 pkgs/main/win-64::vc-14.40-h2eaa2aa_1 
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.40.33807-h98bb1dd_1 
  wheel              pkgs/main/win-64::wheel-0.44.0-py312haa95532_0 
  xz                 pkgs/main/win-64::xz-5.4.6-h8cc25b3_1 
  zlib               pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1 
Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
#
# To activate this environment, use
#
#     $ conda activate env3
#
# To deactivate an active environment, use
#
#     $ conda deactivate
----- Successfully created 'env3' -----

----- Installing 'python' -----
Channels:
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
LibMambaUnsatisfiableError: Encountered problems while solving:
  - package python-3.13.0-hadb2040_100_cp313 requires pip, but none of the providers can be installed
Could not solve for environment specs
The following package could not be installed
\u2514\u2500 python 3.13.0  is not installable because it requires
   \u2514\u2500 pip with the potential options
      \u251c\u2500 pip [23.2.1|23.3|23.3.1|24.0|24.2] would require
      \u2502  \u2514\u2500 python >=3.12,<3.13.0a0 , which can be installed;
      \u251c\u2500 pip [10.0.1|18.1|...|9.0.3] would require
      \u2502  \u2514\u2500 python >=2.7,<2.8.0a0 , which can be installed;
      \u251c\u2500 pip [10.0.1|9.0.1|9.0.3] would require
      \u2502  \u2514\u2500 python >=3.5,<3.6.0a0 , which can be installed;
      \u251c\u2500 pip [10.0.1|18.1|...|9.0.3] would require
      \u2502  \u2514\u2500 python >=3.6,<3.7.0a0 , which can be installed;
      \u251c\u2500 pip [10.0.1|18.1|...|22.3.1] would require
      \u2502  \u2514\u2500 python >=3.7,<3.8.0a0 , which can be installed;
      \u251c\u2500 pip [19.3.1|20.0.2|...|24.2] would require
      \u2502  \u2514\u2500 python >=3.8,<3.9.0a0 , which can be installed;
      \u251c\u2500 pip [20.2.2|20.2.3|...|24.2] would require
      \u2502  \u2514\u2500 python >=3.9,<3.10.0a0 , which can be installed;
      \u251c\u2500 pip [21.2.4|22.1.2|...|24.2] would require
      \u2502  \u2514\u2500 python >=3.10,<3.11.0a0 , which can be installed;
      \u2514\u2500 pip [22.2.2|22.3.1|...|24.2] would require
         \u2514\u2500 python >=3.11,<3.12.0a0 , which can be installed.
----- Failed to install 'python' -----

ttSpace avatar Oct 15 '24 08:10 ttSpace