Я пытаюсь запустить файл .ipynb блокнота Jupyter в VSCode под управлением Python 3.9.6. Конечно, мне нужны соответствующие расширения, поэтому я следую подсказкам VSCode, чтобы установить рекомендуемые расширения. Установка jupyter NB кажется работает, но ipykernel не устанавливается. Он дает мне следующий запрос:

Конечно, я копирую это в CMD и даю ему немного поработать.
Код: Выделить всё
"c:/Program Files/Msys/mingw64/bin/python.exe" -m pip install ipykernel -U --user --force-reinstall
It fails to install:
ERROR: Cannot install ipykernel and jupyter-client because these package versions have conflicting dependencies.
...
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Повторение установки ipykernal из VSCode и чтение уведомлений показывает то же самое поведение.
Я пробовал очистить кеш Python на случай, если что-то произойдет, та же проблема.
Я пробовал прочитать страницу разрешения конфликтов, как рекомендовано, но не понимаю, как получить доступ к требованиям .txt или setup.py, я просто не знаю, что здесь делаю, и не хочу, чтобы мои колеса крутились в течение нескольких часов.
Я попробовал установить pywin32 отдельно, так как ему, похоже, нужна обновленная версия.
Код: Выделить всё
pip install pywin32
"pip install pywin32
ERROR: Could not find a version that satisfies the requirement pywin32 (from versions: none)
ERROR: No matching distribution found for pywin32"
A [different stack overflow thread ](https://stackoverflow.com/questions/40981120/python-pip-cannot-find-pywin32-on-windows) said to try pypiwin32
pip install pypiwin32
Which gives the following error:
File "C:\Users\andre\AppData\Local\Temp\pip-install-vhqvsbur\pypiwin32_d3dd60d8846243c3be165c2c90439a4b\setup.py", line 121
print "Building pywin32", pywin32_version
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Building pywin32", pywin32_version)?
[enter image description here](https://i.stack.imgur.com/lVez4.png)
Which googling shows may be a python2 vs python3 syntax change or something, but that's a rabbit hole I don't know how to go down.
Подробнее здесь: https://stackoverflow.com/questions/762 ... ge-version