Import suggestions include all virtualenvs

已回答

I have a few projects, each having their own virtualenv, but when I try to import a package, it looks into all virtualenvs.

If I don't pick the correct suggestion, it won't do anything. I have to try them randomly to find which one is the project's virtualenv and  actually adds the import .

What am I doing wrong?

0

Hello,

> If I don't pick the correct suggestion, it won't do anything.

Could you please specify what does it mean? What is the expected behavior and the behavior you get?

0
Avatar
Permanently deleted user

Hi,

in the picture above, the 5 propositions are coming from the same package installed in 5 different virtualenvs. If I pick the first one, it will close the popup but it won't add the import. So I retry with the 2nd one, then the 3rd one, etc until it adds the import.

I wonder what I have configured wrong that makes all virtualenvs show up here.

0
Avatar
Permanently deleted user

So the expected behavior is seeing only one suggestion, the one from the virtualenv linked to the project.

What I see is five propositions, one per virtualenv having this package installed.

0

请先登录再写评论。