473,654 Members | 3,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ImportError: No module named ClientCookie

2 New Member
hi All,

i'm using python 2.4, i get the subject error when i try to import a module (in .pyc format).

Following are the details of the error:

>>> import thegreek

Traceback (most recent call last):
File "<pyshell#2 2>", line 1, in -toplevel-
import thegreek
File "C:\Documen ts and Settings\Ahmed\ Desktop\betclie nt\betclient\sp ortsarb\parsers \thegreek.py", line 28, in <module>
from sportsarb.parse rs.baseparser import UrllibConnectio n
File "/home/luiz/work/sportsarb/parsers/baseparser.py", line 16, in -toplevel-
ImportError: No module named ClientCookie

i have the baseparser.pyc in the same folder as thegreek. and pythonpath is also set on this location. kindly help me out.

Thnx
Jan 31 '07 #1
4 3522
Motoma
3,237 Recognized Expert Specialist
hi All,

i'm using python 2.4, i get the subject error when i try to import a module (in .pyc format).

Following are the details of the error:

>>> import thegreek

Traceback (most recent call last):
File "<pyshell#2 2>", line 1, in -toplevel-
import thegreek
File "C:\Documen ts and Settings\Ahmed\ Desktop\betclie nt\betclient\sp ortsarb\parsers \thegreek.py", line 28, in <module>
from sportsarb.parse rs.baseparser import UrllibConnectio n
File "/home/luiz/work/sportsarb/parsers/baseparser.py", line 16, in -toplevel-
ImportError: No module named ClientCookie

i have the baseparser.pyc in the same folder as thegreek. and pythonpath is also set on this location. kindly help me out.

Thnx
Is the ClientCookie module in the same directory, or the pythonpath?
Jan 31 '07 #2
Neefs
2 New Member
Is the ClientCookie module in the same directory, or the pythonpath?
i dont know where the clientCookie module is. coz i just have the baseparser.pyc class. its the compiled binary code.
Jan 31 '07 #3
Motoma
3,237 Recognized Expert Specialist
i dont know where the clientCookie module is. coz i just have the baseparser.pyc class. its the compiled binary code.
That is your problem; you see, python is complaining that ClientCookie isn't there.
Jan 31 '07 #4
bartonc
6,596 Recognized Expert Expert
i dont know where the clientCookie module is. coz i just have the baseparser.pyc class. its the compiled binary code.
Read about clientCookie here.
Feb 1 '07 #5

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

Similar topics

0
4549
by: Carsten Gehling | last post by:
Figured out myself - I just removed the line with "from url import Url" -it doesn't seem to be used anywhere ;-) - Carsten > -----Oprindelig meddelelse----- > Fra: python-list-admin@python.org > Pĺ vegne af Carsten Gehling > Sendt: 16. juli 2003 16:24
2
17671
by: x-herbert | last post by:
Hi, I have a small test to "compile" al litle script as a WMI-Tester. The script include a wmi-wrapper and "insert" the Win32-modeles. here the code: my "WMI-Tester.py" ----- import wmi
0
6287
by: M. Lavasani | last post by:
Hi I am trying to test Python-2.3. Any solution for this problem please: >>>gmake test case $MAKEFLAGS in \ *-s*) LD_LIBRARY_PATH=/net/ia64/lavasani/Python-2.3:/usr/local/lib/hpux32:/usr/local/lib CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py -q build;; \
7
4316
by: N.K | last post by:
Hi , Python's existing cookie module doesnt supports new cookie headers SetCookie2 , How to submit a patch for that ? I tried emailing person who owns that module.But no response. Thanks, Nirmal
0
2113
by: Robert Dailey | last post by:
I created a basic python file and made an attempt to execute it from the command line, however it gives me a weird error after the python file has been executed: Traceback (most recent call last): File "C:\Python25\lib\runpy.py", line 87, in run_module raise ImportError("No module named " + mod_name) ImportError: No module named compile.py
1
4346
by: Prof Rodney Coates | last post by:
Although I have been using Macs for a quarter of a century and was doing scientific programming in the '60's I am VERY new to Python on the Mac. I have been writing some very simple applications and running them using IDLE. To start with the applications worked OK. However, as time has progressed, the error message "ImportError: No module named ****" has been generated with increasing frequency. It has now become impossible to use Python...
0
2396
by: Barak, Ron | last post by:
Hi, I'm trying to compile using py2exe, and am getting the following: $ python_win Setup.py py2exe running py2exe creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win32 creating c:\Documents and Settings\rbarak\rbarak_devel\dpm09\build\bdist.win32\winexe creating c:\Documents and...
4
7551
by: Daniel | last post by:
Hello, I'm trying to build a very simple IPC system. What I have done is create Data Transfer Objects (DTO) for each item I'd like to send across the wire. I am serializing these using cPickle. I've also tried using pickle (instead of cPickle), but I get the same response. Below is the code. I'll put the rest of my comments after the code
4
5808
by: vincehofmeister | last post by:
Hey everyone: I am using py2exe and everything is working fine except one module, ClientCookie, found here: http://wwwsearch.sourceforge.net/ClientCookie/ Keeps coming up as not found no matter what I do. I have tried all these combinations from the command line:
0
8294
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8709
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8596
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2719
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.