Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rope does't pick project virtualenv #803

Open
c30ra opened this issue Nov 1, 2024 · 2 comments
Open

Rope does't pick project virtualenv #803

c30ra opened this issue Nov 1, 2024 · 2 comments
Labels
bug Unexpected or incorrect user-visible behavior

Comments

@c30ra
Copy link

c30ra commented Nov 1, 2024

Describe the bug
It seems like that rope doesn't pick up my virtual env and instead use system python when populating autoimport.db

Editor information (please complete the following information):

  • Project Python version: 3.13
  • Rope Python version: python-lsp-server one
  • Rope version: python-lsp-server one
  • Text editor/IDE and version: nvim 0.10.2

Additional context
I'm using pylsp along with nvim, jedi import seems to work fine, rope not

@c30ra c30ra added the bug Unexpected or incorrect user-visible behavior label Nov 1, 2024
@an4s911
Copy link

an4s911 commented Nov 26, 2024

Same issue here.

@pierre-vanliefland-asl
Copy link

I have the issue as well, but to give a bit more context, I have the impression that it used to work before in a Poetry setup.

I don't have access to my previous dev machine, so can't be sure, but I've started to get this issue since I switched to uv (+ src layout, with the same issue as in #753).

I could spend a few hours to fix the issue if a maintainer could give me some pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected or incorrect user-visible behavior
Projects
None yet
Development

No branches or pull requests

3 participants