Ask Your Question
1

Refreshing Virtual Environment

asked 2019-11-25 12:45:12 -0500

tinjaw's avatar

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-11-26 09:18:10 -0500

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

edit flag offensive delete link more

Comments

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
1

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-11-25 12:45:12 -0500

Seen: 458 times

Last updated: Nov 26 '19