473,385 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Cannot use pmw widgets for python

I just installed the pmw widgets package using the included setup.py into my python 2.7.13 site-packages folder. when I try to import pmw from a python console prompt, it causes the following import error:

File "<stdin>", line 1, in <module>
ImportError: No module named pmw

I have looked at the files that were installed and there is no pmw.py. Does anybody know what needs to be done to eliminate this problem?
Feb 25 '17 #1
1 1353
dwblas
626 Expert 512MB
First, it is always best to use the distro's native installer instead of downloading from some third party. Pmw is installed in /usr/lib64/python/site-packages on my Slackware box. It may also be in /usr/lib/... or /usr/local/lib(64)... Where ever it is it has to be somewhere in the Python Path. You can print the path with
Expand|Select|Wrap|Line Numbers
  1. import sys
  2. print sys.path 
edit: it is
import Pmw (note the capital "P")
Feb 26 '17 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Avner Ben | last post by:
I installed Python 2.3 on windows xp (uninstalling the 2.2.3 that used to be there). Python 2.3. keeps looking for "pyhton22.dll" and would not work. Any suggestions? Avner.
27
by: Michele Simionato | last post by:
> Hello, my name is Skip and I am metaclass-unaware. I've been programming in > Python for about ten years and I have yet to write a metaclass. At first I > thought it was just that metaclasses...
1
by: Choo Zhi Min | last post by:
Hi, I apologize in advance if this is not the right place to ask Python RPM related question. I don't know which is the right mailing list to ask. I was trying to verify Python 2.3.3 RPM...
1
by: Micheal.LeVine | last post by:
I have not succeeded to build Python 2.4.2 from the source distn for Cygwin on XP (cygwin1.dll version 1005.7.0.0, Cygwin POSIX Emulation DLL). I have applied the "bandaid solution" in README, ...
3
by: Marco Aschwanden | last post by:
This is actually a c++ problem. Got no satisfying answer on comp.lang.c++. Maybe you can help better because I know, there are many c++-converts ;). Suppose you've got the following list (first...
1
by: Jia Lu | last post by:
Hi all. After using python shell (IDLE) for a while, I typed commands below to exit . But error ocurred. Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> raise...
1
by: frikk | last post by:
Hey everyone, I need to authenticate with a Sharepoint server. It looks to be using 'NTLM' authentication. I've looked on the newsgroup and it looks like there has been talk of using python and...
1
by: Konstantinos Pachopoulos | last post by:
Hi, i have the following files: current_dir/level1/Called.py current_dir/Caller.py Called.py: ----------- class Called: def exec1(self):
2
by: Sven Siegmund | last post by:
Hi, I just tried to install Python 3.0a5 an another Windows PC. I did what I have done yesterday at home: 1. Downloaded the daily snapshot http://svn.python.org/snapshots/msi/python-3.0.14011.msi...
5
by: Payala | last post by:
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same error. The installer starts fine, but when it gets to the part that says "Status: Copying new files" it terminates with an error...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.