Cursor uses strange Python environment no matter what

Cursor AppImage v 0.48.9 on Manjaro Linux Release: 25.0.0 Codename: Zetar
Cursor stubbornly uses wrong Python environment despite correct environment was selected in command palette, activated in cursor terminal and even full path to correct python provided in command line. Cursor ignores any attempts to push it use correct environment and uses what it wants. See below copy paste of the terminal output.
I’m not sure how can I use cursor. Running scripts outside cursor will through me out of vibe coding and slow me down 10 times. I’m paying user.

which python  :check_mark:  prototype1 
/home/igorm/agent-city/memsys/prototype1/.venv/bin/python
   ~/ag/mems/prototype1    main !9 ?4  pip show qdrant-client
Name: qdrant-client
Version: 1.13.3
Summary: Client library for the Qdrant vector search engine
Home-page: GitHub - qdrant/qdrant-client: Python client for Qdrant vector search engine
Author: Andrey Vasnetsov
Author-email: [email protected]
License: Apache-2.0
Location: /home/igorm/agent-city/memsys/prototype1/.venv/lib/python3.13/site-packages
Requires: grpcio, grpcio-tools, httpx, numpy, portalocker, pydantic, urllib3
Required-by:
   ~/ag/mems/prototype1    main !9 ?4  python test_import.py
Python executable: /home/igorm/Applications/Cursor-0.48.9-x86_64_0ec6c12a061af79a840403cc4b4ab235.AppImage
Python version: 3.13.2 (main, Feb 5 2025, 08:05:21) [GCC 14.2.1 20250128]
Python path: [‘/home/igorm/agent-city/memsys/prototype1’, ‘/usr/lib/python313.zip’, ‘/usr/lib/python3.13’, ‘/usr/lib/python3.13/lib-dynload’, ‘/usr/lib/python3.13/site-packages’]
ERROR: No module named ‘qdrant_client’
   ~/ag/mems/prototype1    main !9 ?4  /home/igorm/agent-city/memsys/prototype1/.venv/bin/python test_import.py
Python executable: /home/igorm/Applications/Cursor-0.48.9-x86_64_0ec6c12a061af79a840403cc4b4ab235.AppImage
Python version: 3.13.2 (main, Feb 5 2025, 08:05:21) [GCC 14.2.1 20250128]
Python path: [‘/home/igorm/agent-city/memsys/prototype1’, ‘/usr/lib/python313.zip’, ‘/usr/lib/python3.13’, ‘/usr/lib/python3.13/lib-dynload’, ‘/usr/lib/python3.13/site-packages’]
ERROR: No module named ‘qdrant_client’
   ~/ag/mems/prototype1    main !9 ?4 

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
:lady_beetle: Provide a clear description of the bug
:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)
:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4).
:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
:prohibited: Tell us if the issue stops you from using Cursor.

Check out this post Python evnironment issue in Linux AppImage · Issue #2734 · getcursor/cursor · GitHub,
Perhaps one of the workarounds described here will help you.

No workaround from this thread helped. But somebody published in Manjaro appstore version of Cursor extracted from Appimage, and it worked.
I hope Cursor team adds this step into Linux install process as an easy fix for now.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.