PTVS icon indicating copy to clipboard operation
PTVS copied to clipboard

Unable to install suggested module when using IPython interactive mode.

Open ttSpace opened this issue 3 years ago • 1 comments

Describe the bug

image

Python install from Microsoft Store.

Steps to Reproduce

  1. Create a Python Application project.
  2. Open "Python Environments" window->"Overview" page to enable "Use IPython interactive mode".
  3. Open interactive window to type "1".
  4. Follow the info to install IPython. (IPython installed successfully.) image
  5. Close the previous interactive window and create a new one, then enter "1".
  6. Follow the info to install the module. Note: The previous module prompt is ipykernel. image

Additional context and screenshots

Installed IPython.kernel according to the info, but failed.

Output info

----- Installing 'IPython.kernel' -----
ERROR: Could not find a version that satisfies the requirement IPython.kernel (from versions: none)
ERROR: No matching distribution found for IPython.kernel
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\vting\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.
----- Failed to install 'IPython.kernel' -----

ttSpace avatar Jan 18 '22 06:01 ttSpace

Dependent on fixes in #7118

cwebster-99 avatar Apr 26 '23 20:04 cwebster-99