Ask Your Question

How to enable wxpython code completion

asked 2020-03-07 18:13:30 -0600

Bill Waggoner's avatar

updated 2020-03-07 20:54:29 -0600

In my new project I am using wxpython. I have it installed on the remote machine and I also installed it on my local machine (via brew) but I am not seeing the code completion options for wx, etc. modules. Is there some magic I need to perform to get wing to recognize the modules correctly?

edit retag flag offensive close merge delete


Is Wing definitely using the right Python so that the 'import' works at runtime? If so, what version of Wing Pro do you have? There were bugs in scraping extension modules on remote hosts in some semi-recent versions, which could affect this.

Wingware Support's avatar Wingware Support  ( 2020-03-09 08:36:13 -0600 )edit

Yes, I can execute and debug my project fine. import wx in the Python Shell completes correctly. My Wing version is (rev 0815af1f2ee2).

Bill Waggoner's avatar Bill Waggoner  ( 2020-03-09 17:28:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-09 20:08:20 -0600

Bill Waggoner's avatar

I think the problem was the way I had it set up. I am using pyenv and it's the first time I have done something using that. I ended up using Activated Environment in the Project and it seems to have found everything now.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2020-03-07 18:13:30 -0600

Seen: 377 times

Last updated: Mar 09 '20