rope icon indicating copy to clipboard operation
rope copied to clipboard

Rope does't pick project virtualenv

Open c30ra opened this issue 1 year ago • 2 comments

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 avatar Nov 01 '24 00:11 c30ra

Same issue here.

an4s911 avatar Nov 26 '24 21:11 an4s911

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.

pierre-vanliefland-asl avatar Jan 21 '25 15:01 pierre-vanliefland-asl