Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The Cursor IDE is unable to find and connect to Jupyter kernels in a conda environment. The same project and environment work correctly in VSCode.
Troubleshooting Steps Taken:
Confirmed that the jupyter package is installed and working correctly in the scanpy conda environment.
The command /path/to/user/home/miniconda3/envs/scanpy/bin/python -m jupyter kernelspec list successfully lists the available kernels.
The user has selected the interpreter at /path/to/user/home/miniconda3/envs/scanpy/bin/python in Cursor, but the issue persists.
The same setup and project work as expected in VSCode.
Conclusion:
This appears to be an issue specific to the Cursor IDE, where it is not correctly using the selected Python interpreter to discover and launch the Jupyter kernel from a non-base conda environment.
System Information:
Operating System: macOS
Python Distribution: miniconda3
Path to working Python interpreter: /path/to/user/home/miniconda3/envs/scanpy/bin/python
Steps to Reproduce
Open a project with Jupyter notebooks that depends on a specific conda environment.
Use the “Python: Select Interpreter” command to select the Python interpreter from the conda environment.
Attempt to run a cell in a Jupyter notebook.
Expected Behavior
The notebook should connect to the Jupyter kernel in the selected conda environment and execute the cell.
Operating System
MacOS
Version Information
Operating System: macOS
Python Distribution: miniconda3
Path to working Python interpreter: /path/to/user/home/miniconda3/envs/scanpy/bin/python
Does this stop you from using Cursor
Yes - Cursor is unusable