How to set up the vim configuration so that the code prompt plug-in responds to different python virtual environments?

when using vim, when you often want code completion and function hints, the pattern is not found. That is, even if the package is imported, the functions that use the package are not mentioned, but sometimes there are, so I was thinking:

is the plug-in for vim auto-completion, which defaults to the python default environment, so when I use a package in a virtual environment, I can"t complete the code?
this is a problem. If so, what should I do?

vim is really easy to use, but the configuration of plug-ins is also troublesome. I hope the boss will give me an answer! Thank you.

Apr.12,2021
Menu