I am using a custom Docker image as my Python interpreter through a Dev Container.
On my local machine, all extensions install correctly. However, in the Dev Container environment, the extensions fail to install properly.
First, I encounter a version-related error when trying to install the ms-python.python extension in the Dev Container. The error message is:
“Can’t install ‘ms-python.python’ extension because it is not compatible with the current version of Cursor (version 1.5.11, VSCode version 1.99.3).: Incompatible: Can’t install ‘ms-python.python’ extension because it is not compatible with the current version of Cursor (version 1.5.11, VSCode version 1.99.3).”
This error does not occur in my local environment.
Since ms-python.python would not install correctly, I tried to install it by unpacking a VSIX file. During this installation attempt, the process gets stuck on the “installing” status, and I’ve identified a 403 Forbidden error occurring in the background.
How can I successfully install the necessary Python-related extensions in my Dev Container?