Need to import wx in a VS2017CE Python App

VS can’t process the import wx statement.

Trying to use wxPython but

VS 2017CE reports No module named wx

I have wxPython installed and running in Pyscripter and Idle

So I think it is installed.

So how do I make it available to VS 2017 CE ?
TIA

Bob

···

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/24f95594-45a2-4cbe-8e31-7702917c21f0%40googlegroups.com.

Visual Studio installs its own version of Python, which needs its own packages. If you go to View, Other Windows, Python Environments, you can choose from the different Python setups that are installed on your machine.

···

On Aug 10, 2019, at 3:44 PM, srfpala <srfpala@gmail.com> wrote:

VS can’t process the import wx statement.

Trying to use wxPython but
VS 2017CE reports No module named wx
I have wxPython installed and running in Pyscripter and Idle
So I think it is installed.
So how do I make it available to VS 2017 CE ?


Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/826DB564-D7B7-4CCB-B8F0-C51B26BAD0CB%40probo.com.

You were absolutely correct.

I stayed within the Python Environment of VS2017CE,
Installed the new pip version and then wxPython

All seems to be working well.

Thanks again.

Bob

···

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/b3825eaf-180e-4b0f-ad94-448273f5847a%40googlegroups.com.