473,385 Members | 1,912 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.

ImportError: No module named ClientCookie

2
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#22>", line 1, in -toplevel-
import thegreek
File "C:\Documents and Settings\Ahmed\Desktop\betclient\betclient\sportsa rb\parsers\thegreek.py", line 28, in <module>
from sportsarb.parsers.baseparser import UrllibConnection
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 3513
Motoma
3,237 Expert 2GB
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#22>", line 1, in -toplevel-
import thegreek
File "C:\Documents and Settings\Ahmed\Desktop\betclient\betclient\sportsa rb\parsers\thegreek.py", line 28, in <module>
from sportsarb.parsers.baseparser import UrllibConnection
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
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 Expert 2GB
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 Expert 4TB
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
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:...
2
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
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*)...
7
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,...
0
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...
1
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...
0
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...
4
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...
4
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.