I could use some help, please. I am using the PyCharm Comm. Edition (v4.5) with Python 2.7.6 and I like the IDE. But, I need to use wxPython to get more widgets (currently using Tkinter). I downloaded & installed wxPython (v3.0), but when I try to get the PyCharm to recognize wxPython it throws an error:
Traceback (most recent call last):
File “C:/Program Files (x86)/wxPython3.0 Docs and Demos/wxPython/samples/wxPIA_book/Chapter-01/bare.py”, line 1, in
import wx
ImportError: No module named wx
I tried installing wxPython using PyCharm’s Install Package option, but got errors again:
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking wxPython
Could not find any downloads that satisfy the requirement wxPython
Some externally hosted files were ignored (use --allow-external wxPython to allow).
Cleaning up…
No distributions at all found for wxPython
Storing debug log for failure in C:\Users\LimbaughDE\pip\pip.log
I am about ready to give up! Can someone offer any suggestions, please?
I could use some help, please. I am using the PyCharm Comm. Edition
(v4.5) with Python 2.7.6 and I like the IDE. But, I need to use
wxPython to get more widgets (currently using Tkinter). I downloaded
& installed wxPython (v3.0), but when I try to get the PyCharm to
recognize wxPython it throws an error:
Traceback (most recent call last):
File "C:/Program Files (x86)/wxPython3.0 Docs and
Demos/wxPython/samples/wxPIA_book/Chapter-01/bare.py", line 1, in <module>
import wx
ImportError: No module named wx
That says you haven't installed the wxPython library. You did
apparently install the docs and demos, but that's a separate issue.
I tried installing wxPython using PyCharm's Install Package option,
but got errors again:
I suggest you simply download the wxPython installer and run it
yourself, without relying on an unknown package manager.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
On Monday, September 14, 2015 at 10:33:44 AM UTC-5, delimb…@students.tntech.edu wrote:
Hello, Group!
I could use some help, please. I am using the PyCharm Comm. Edition (v4.5) with Python 2.7.6 and I like the IDE. But, I need to use wxPython to get more widgets (currently using Tkinter). I downloaded & installed wxPython (v3.0), but when I try to get the PyCharm to recognize wxPython it throws an error:
Traceback (most recent call last):
File “C:/Program Files (x86)/wxPython3.0 Docs and Demos/wxPython/samples/wxPIA_book/Chapter-01/bare.py”, line 1, in
import wx
ImportError: No module named wx
I tried installing wxPython using PyCharm’s Install Package option, but got errors again:
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking wxPython
Could not find any downloads that satisfy the requirement wxPython
Some externally hosted files were ignored (use --allow-external wxPython to allow).
Cleaning up…
No distributions at all found for wxPython
Storing debug log for failure in C:\Users\LimbaughDE\pip\pip.log
I am about ready to give up! Can someone offer any suggestions, please?
You should just install wxPython using the Windows installer instead of using PyCharm. It is probably doing something odd on the backend (maybe trying to install from source). I have never had issues with installing wxPython using the Windows installer.
I am trying to get a working environment on windows 64 bit.
I installed Python 2.7.10 for win64 directly from the Python org site.
the downloaded the wxPython 3.0.xx windows installer and install it.
When I open PyChamp and write import wx I get an error that the DLL can not be laded.
I went to python shell directly and get the same error.
I uninstalled wxPython 3.0.xx and installed version 2.9.5 but the same error sow again.
Can you or someone else write a set of versions that really work ?
Python version 2.7.x
wxPython version x.x
I need it to work on a windows 64bit. !
בתאריך יום שלישי, 15 בספטמבר 2015 בשעה 00:10:09 UTC+3, מאת Mike Driscoll:
···
Hi,
On Monday, September 14, 2015 at 10:33:44 AM UTC-5, delimb…@students.tntech.edu wrote:
Hello, Group!
I could use some help, please. I am using the PyCharm Comm. Edition (v4.5) with Python 2.7.6 and I like the IDE. But, I need to use wxPython to get more widgets (currently using Tkinter). I downloaded & installed wxPython (v3.0), but when I try to get the PyCharm to recognize wxPython it throws an error:
Traceback (most recent call last):
File “C:/Program Files (x86)/wxPython3.0 Docs and Demos/wxPython/samples/wxPIA_book/Chapter-01/bare.py”, line 1, in
import wx
ImportError: No module named wx
I tried installing wxPython using PyCharm’s Install Package option, but got errors again:
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.
Downloading/unpacking wxPython
Could not find any downloads that satisfy the requirement wxPython
Some externally hosted files were ignored (use --allow-external wxPython to allow).
Cleaning up…
No distributions at all found for wxPython
Storing debug log for failure in C:\Users\LimbaughDE\pip\pip.log
I am about ready to give up! Can someone offer any suggestions, please?
You should just install wxPython using the Windows installer instead of using PyCharm. It is probably doing something odd on the backend (maybe trying to install from source). I have never had issues with installing wxPython using the Windows installer.
The versions of wxPython that you mention are all currently built for 32
bit python, they all work on Windows 32 & 64 with the 32 bit version of
python so your options are:
a) Switch to 32 bit python 2.7.10 and use the pre-built wxPython - this
is the easy option and has been very well tested.
b) Carry on using 64 bit python 2.7.10 and build wxPython for 64 bits
for yourself - you will need a suitable compiler and this is more work
and has had less testing.
c) Switch to 32 or 64 bit Python 3.5 and build the Phoenix port of
wxPython - you will need a suitable compiler and this is more work, has
had a lot less testing and is a work in progress that does not yet
support all of the wx components.
d) Use virtual environments to try all of the above.
Hope that helps,
Gadget/Steve
···
On 20/09/2015 20:21, levshlomo@walla.co.il wrote:
Hello Mike
I am trying to get a working environment on windows 64 bit.
I installed Python 2.7.10 for win64 directly from the Python org site.
the downloaded the wxPython 3.0.xx windows installer and install it.
When I open PyChamp and write import wx I get an error that the DLL can
not be laded.
I went to python shell directly and get the same error.
I uninstalled wxPython 3.0.xx and installed version 2.9.5 but the same
error sow again.
Can you or someone else write a set of versions that really work ?
Python version 2.7.x
wxPython version x.x
I need it to work on a windows 64bit. !
Hello Mike
I am trying to get a working environment on windows 64 bit.
I installed Python 2.7.10 for win64 directly from the Python org site.
the downloaded the wxPython 3.0.xx windows installer and install it.
When I open PyChamp and write import wx I get an error that the DLL can
not be laded.
I went to python shell directly and get the same error.
I uninstalled wxPython 3.0.xx and installed version 2.9.5 but the same
error sow again.
Can you or someone else write a set of versions that really work ?
Python version 2.7.x
wxPython version x.x
I need it to work on a windows 64bit. !
The versions of wxPython that you mention are all currently built for 32
bit python, they all work on Windows 32 & 64 with the 32 bit version of
python so your options are:
a) Switch to 32 bit python 2.7.10 and use the pre-built wxPython - this
is the easy option and has been very well tested.
b) Carry on using 64 bit python 2.7.10 and build wxPython for 64 bits
for yourself - you will need a suitable compiler and this is more work
and has had less testing.
c) Switch to 32 or 64 bit Python 3.5 and build the Phoenix port of
wxPython - you will need a suitable compiler and this is more work, has
had a lot less testing and is a work in progress that does not yet
support all of the wx components.
d) Use virtual environments to try all of the above.