Windows 10: wxPython in VS2017CE

Discus and support wxPython in VS2017CE in Windows 10 BSOD Crashes and Debugging to solve the problem; The statement import wx works in Idle and Pyscripter but not VS Community Edition Staying in VS2017CE using Python 3.6(64bit) I try Run command... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by srfpala, Aug 11, 2019.

  1. srfpala Win User

    wxPython in VS2017CE


    The statement import wx works in Idle and Pyscripter but not VS Community Edition

    Staying in VS2017CE using Python 3.6(64bit) I try Run command pip install wx

    and VS reports
    ----- Installing 'wx' -----
    Collecting wx
    Could not find a version that satisfies the requirement wx (from versions: )
    No matching distribution found for wx
    You are using pip version 10.0.1, however version 19.2.2 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.
    ----- Failed to install 'wx' -----
    Now I’m searching for Python 3.6(64-bit) . . . .
    Explorer finds it at C:\Users\srfpa\Documents\Visual Studio 2017\Python Scripts
    But explorer says this folder is empty
    So I show hidden items and see a Python 3.6(64-bit) folder which
    shows me only a Readme file
    Does anyone have wxPython installed with import wx working ?
    If I should repost elsewhere, let me know.
    TIA
    Bob

    :)
     
    srfpala, Aug 11, 2019
    #1

  2. wxPython in VS2017CE

    Hi srfpala, I am Dexter, an Independent Advisor, here to help you.

    I'll suggest you upgrade the PIP first by running this command:

    python -m pip install --upgrade pip

    Then try to install wxPython packages again:

    pip install wxPython

    I hope this helps. Feel free to ask back any questions and let me know how it goes. I will keep working with you until it's resolved.
     
    Dexter Lien, Sep 28, 2019
    #2
  3. srfpala Win User
    wxPython in VS2017CE

    The statement import wx works in Idle and Pyscripter but not VS Community Edition

    Staying in VS2017CE using Python 3.6(64bit) I try Run command pip install wx

    and VS reports
    ----- Installing 'wx' -----
    Collecting wx
    Could not find a version that satisfies the requirement wx (from versions: )
    No matching distribution found for wx
    You are using pip version 10.0.1, however version 19.2.2 is available.
    You should consider upgrading via the 'python -m pip install --upgrade pip' command.
    ----- Failed to install 'wx' -----
    Now I’m searching for Python 3.6(64-bit) . . . .
    Explorer finds it at C:\Users\srfpa\Documents\Visual Studio 2017\Python Scripts
    But explorer says this folder is empty
    So I show hidden items and see a Python 3.6(64-bit) folder which
    shows me only a Readme file

    Does anyone have wxPython installed with import wx working ?

    If I should repost elsewhere, let me know.

    TIA

    Bob
     
    srfpala, Sep 28, 2019
    #3
  4. srfpala Win User

    wxPython in VS2017CE

    wxPython in VS2017CE

    A miracle has happened!

    I stayed within the Python Environment.

    Installed both the new version of pip and then wxPython.

    All seems to be working as expected.

    Much praise for the MSFT Python development team.
     
    srfpala, Sep 28, 2019
    #4
Thema:

wxPython in VS2017CE