実現したいこと
- Python3.11.7が動作するようにする
前提
Windows10で久しぶりにpythonを立ち上げるためバージョンアップをしようと思い、Anaconda Promptで
・アナコンダのアップデートを行い、「conda 23.11.0」と表示されたことを確認しました
・次に、conda update --allでパッケージのアップデートを行いました。
・続いて、conda install python=3.11を実行しましたが、以下のエラーメッセージが出てしまいました。
発生している問題・エラーメッセージ
Channels: - defaults Platform: win-64 Collecting package metadata (repodata.json): done Solving environment: failed LibMambaUnsatisfiableError: Encountered problems while solving: - package _ipyw_jlab_nb_ext_conf-0.1.0-py27h9111531_0 requires python >=2.7,<2.8.0a0, but none of the providers can be installed Could not solve for environment specs The following packages are incompatible ├─ _ipyw_jlab_nb_ext_conf is installable with the potential options │ ├─ _ipyw_jlab_nb_ext_conf 0.1.0 would require │ │ └─ python >=2.7,<2.8.0a0 , which can be installed; │ ├─ _ipyw_jlab_nb_ext_conf 0.1.0 would require │ │ └─ python >=3.9,<3.10.0a0 , which can be installed; │ ├─ _ipyw_jlab_nb_ext_conf 0.1.0 would require │ │ └─ python >=3.5,<3.6.0a0 , which can be installed; │ ├─ _ipyw_jlab_nb_ext_conf 0.1.0 would require │ │ └─ python >=3.6,<3.7.0a0 , which can be installed; │ ├─ _ipyw_jlab_nb_ext_conf 0.1.0 would require │ │ └─ python >=3.7,<3.8.0a0 , which can be installed; │ └─ _ipyw_jlab_nb_ext_conf 0.1.0 would require │ └─ python >=3.8,<3.9.0a0 , which can be installed; └─ python 3.11** is not installable because it conflicts with any installable versions previously reported.
該当のソースコード
(base) C:\Users\username>conda install python=3.11
試したこと
コマンドプロンプトでpythonを確認すると下記が表示されるので、python3.11.7のインストールは成功していると思います。
・Python 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)] on win32
ところが、Anaconda Promptでpython -Vを確認すると、下記が表示され以前のバージョンのままになっています。
・Python 3.9.18
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。

回答1件
あなたの回答
tips
プレビュー