First time here? Check out the FAQ!

Refreshing Virtual Environment

I have a program based on a virtual environment. Within that virtual environment, I did some pip installs, but they were not picked up by Wing. I had to exit Wing and re-open Wing to get the new packages recognized by source analysis.

Is there some prescribed SOP to handle this?

tinjaw's avatar
asked 2019-11-25 12:45:12 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


The new modules should be picked up automatically. The workaround when they're not is to switch projects or to restart Wing.

Wingware Support's avatar
Wingware Support
answered 2019-11-26 09:18:10 -0500
edit flag offensive 0 remove flag delete link


Related to this, I am finding that Rescan Directory doesn't appear to work correctly. If I add a file/folder outside of Wing and I rescan the directory, nothing shows up. However, if I exit Wing and restart, it sees the new files.

I must add that it is very annoying. Especially since I can use the -m option or black in the IDE and am finding myself doing a lot of work outside the IDE. (Yes, looking forward to 7.2)

tinjaw's avatar tinjaw (2019-11-26 10:57:39 -0500) edit

Sorry for the problems. The failure of Rescan Directory may be an issue with updating the Project tree at the UI level. Hopefully 7.2 will solve at least some of the issues you are running into. Thanks very much for letting us know about them!

Wingware Support's avatar Wingware Support (2019-11-27 09:18:21 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer