First time here? Check out the FAQ!
1

How to enable wxpython code completion

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?

Bill Waggoner's avatar
145
Bill Waggoner
asked 2020-03-07 18:13:30 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-03-07 20:54:29 -0500
edit flag offensive 0 remove flag close merge delete

Comments

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 -0500) edit

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

Bill Waggoner's avatar Bill Waggoner (2020-03-09 17:28:34 -0500) edit
add a comment see more comments

1 Answer

1

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.

Bill Waggoner's avatar
145
Bill Waggoner
answered 2020-03-09 20:08:20 -0500
edit flag offensive 0 remove flag delete link

Comments

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