473,769 Members | 2,244 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't install csv parser

Hi, all....

I'm hoping someone can help me. I've downloaded the csv.pyd file from
http://www.object-craft.com.au/proje.../download.html
and put it into my C:\Python22\DLL s directory. Typing

import csv

into a python window results in the following error message:

Traceback (most recent call last):
File "<pyshell#0 >", line 1, in ?
import csv
ImportError: DLL load failed: One of the library files needed to run this
application cannot be found.

Can someone help me get this running?

Thanks,
BogAl
Jul 18 '05 #1
11 3395
> I'm hoping someone can help me. I've downloaded the csv.pyd file from
http://www.object-craft.com.au/proje.../download.html
and put it into my C:\Python22\DLL s directory.
Mmh...works for me - ActivePython 2.2.2
Are you sure you downloaded the pyd file corresponding to
your python version? Running the MS "depends" utility on
csv.pyd reveals that it only needs python22.dll, msvcrt.dll
and kernel32.dll. Are these all on your PATH?
Traceback (most recent call last):
File "<pyshell#0 >", line 1, in ?
import csv


What's pyshell? did you try from good ole trusty python.exe
in a DOS box?

Hope this'll help you diagnose,

Bernard.

Jul 18 '05 #2
Thanks for the reply, Bernard....
Mmh...works for me - ActivePython 2.2.2
Are you sure you downloaded the pyd file corresponding to
your python version?
Yes, Python 2.2.2 here.

Running the MS "depends" utility on
csv.pyd reveals that it only needs python22.dll, msvcrt.dll
and kernel32.dll. Are these all on your PATH?


I think they are now....
"...C:\WINDOWS\ SYSTEM\python22 .dll;C:\WINDOWS \SYSTEM\KERNEL3 2.dll;\C:
\WINDOWS\SYSTEM \MSVCRT.dll;... "

Traceback (most recent call last):
File "<pyshell#0 >", line 1, in ?
import csv


What's pyshell? did you try from good ole trusty python.exe
in a DOS box?


No difference. Still the same error message.
Any further help is greatly appreciated.

Jul 18 '05 #3
>>>>> "Bernard" == Bernard Delmée <bd*****@advalv as.REMOVEME.be> writes:
I'm hoping someone can help me. I've downloaded the csv.pyd file
from http://www.object-craft.com.au/proje.../download.html and
put it into my C:\Python22\DLL s directory.
Bernard> Mmh...works for me - ActivePython 2.2.2 Are you sure you
Bernard> downloaded the pyd file corresponding to your python version?
Bernard> Running the MS "depends" utility on csv.pyd reveals that it
Bernard> only needs python22.dll, msvcrt.dll and kernel32.dll. Are
Bernard> these all on your PATH?
Traceback (most recent call last): File "<pyshell#0 >", line 1, in ?
import csv


Bernard> What's pyshell? did you try from good ole trusty python.exe
Bernard> in a DOS box?

Try putting the .pyd in C:\Python22\Lib \site-packages

- Dave

--
http://www.object-craft.com.au
Jul 18 '05 #4
Thanks for the reply, Dave....
Try putting the .pyd in C:\Python22\Lib \site-packages


Unfortunately, I'm still getting the error message.

:(
Jul 18 '05 #5
>>>>> "BogAl" == BogAl <bo****@comcast .net> writes:

BogAl> Thanks for the reply, Dave....
Try putting the .pyd in C:\Python22\Lib \site-packages


BogAl> Unfortunately, I'm still getting the error message.

Does it work if you put the csv.pyd file in the current directory?

- Dave

--
http://www.object-craft.com.au
Jul 18 '05 #6
BogAl <bo****@comcast .net> wrote in message news:<MP******* *************** **@news.in.comc ast.giganews.co m>...
Thanks for the reply, Dave....
Try putting the .pyd in C:\Python22\Lib \site-packages


Unfortunately, I'm still getting the error message.


I would suggest that you
(1) Remove all your copies of csv.pyd
(2) Install the csv module properly by following the instructions on
Dave's website (i.e. briefly, you unpack the distribution into a
directory, and then run setup.py)
(3) If you still have a problem, post a message that shows
(a) what version of Windows you are running
(b) what version of Python
(c) your windows path
(d) your Python path (import sys; print sys.path)
(e) what you get when you run Python (at the DOS command line!!) with
-v and try to import the csv module
(f) what the MS depends utility says about
C:\Python22\Lib \site-packages\csv.py d

Another thought: I found I had a python22.dll (dated Oct 2002, must be
from Python 2.2.2) in my c:\WINNT\system 32 directory and one dated May
2003 (must be from Python 2.2.3) in my c:\Python22 directory ... don't
know how that happened; puzzling ... I've killed off the older one.
You might like to search python22.dll *AND* msvcrt.dll and ensure that
you are using the latest.

HTH,
John
Jul 18 '05 #7
BogAl <bo****@comcast .net> wrote in message news:<MP******* *************** **@news.in.comc ast.giganews.co m>...
Thanks for the reply, Bernard....
Running the MS "depends" utility on
csv.pyd reveals that it only needs python22.dll, msvcrt.dll
and kernel32.dll. Are these all on your PATH?


I think they are now....
"...C:\WINDOWS\ SYSTEM\python22 .dll;C:\WINDOWS \SYSTEM\KERNEL3 2.dll;\C:
\WINDOWS\SYSTEM \MSVCRT.dll;... "


I think not; path should contain a list of *directories*, not *files*
-- Windows is silently ignoring the non-existence of directories
called "C:\WINDOWS\SYS TEM\python22.dl l" etc.

Rephrasing Bernard's question: do you have those 3 files in
directories that are listed in your system path?

After a normal Python installation, you would expect to have
c:\Python22 in your path, and Python22.dll in that directory.
Jul 18 '05 #8
> >> Try putting the .pyd in C:\Python22\Lib \site-packages

BogAl> Unfortunately, I'm still getting the error message.

Dave> Does it work if you put the csv.pyd file in the current directory?


Yes, it does. What does that mean I should do now?

Jul 18 '05 #9
Thanks for the reply, John....
I would suggest that you
(1) Remove all your copies of csv.pyd
(2) Install the csv module properly by following the instructions on
Dave's website (i.e. briefly, you unpack the distribution into a
directory, and then run setup.py)
I tried this first; went to the suggested alternative second. Here's
what happens when I run setup.py:

C:\Python22\Lib \site-packages\csv>
python.exe C:\PYTHON22\LIB \SITE-P~1\CSV\SETUP.P Y

usage: SETUP.PY [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: SETUP.PY --help [cmd1 cmd2 ...]
or: SETUP.PY --help-commands
or: SETUP.PY cmd --help

error: no commands supplied
(3) If you still have a problem, post a message that shows
(a) what version of Windows you are running
(b) what version of Python
(c) your windows path
(d) your Python path (import sys; print sys.path)
(e) what you get when you run Python (at the DOS command line!!) with
-v and try to import the csv module
(f) what the MS depends utility says about
C:\Python22\Lib \site-packages\csv.py d

Another thought: I found I had a python22.dll (dated Oct 2002, must be
from Python 2.2.2) in my c:\WINNT\system 32 directory and one dated May
2003 (must be from Python 2.2.3) in my c:\Python22 directory ... don't
know how that happened; puzzling ... I've killed off the older one.
You might like to search python22.dll *AND* msvcrt.dll and ensure that
you are using the latest.

HTH,
John

Jul 18 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3125
by: Himanshu Garg | last post by:
Hello, I am trying to pinpoint an apparent bug in HTML::Parser. The encoding of the text seems to change incorrectly if the locale isn't set properly. However Parser.pm in the directory (/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/HTML/) doesn't seem to contain the "real" parsing statements.
10
1627
by: Sam | last post by:
we are running windows 2003 server. it has NET framework installed, but doesn't have Visual Studio etc. installed on it. i created a new sulotion/project on my development pc and FTP'd it up to our server with all of the files from my dev. pc. i also created a \bin directory and copied tthose files as well. now i'm getting this error. do i need to install visual studio on the server and build it there? =====================
0
1005
by: mdb | last post by:
I have a set of pages that I've developed under IIS, but there are a few machines that I cannot install IIS on, so I figured I would just serve them up with Cassini. However when I try this, Cassini reports: Server Error in '/' Application Parser Error Description: ... Parser Error Message: Could not load type 'CTI.VDS.WebForm1' This works fine under IIS... what changes should I make to get this to work
1
1235
by: Mark Sandfox | last post by:
I am running a 2003 webserver that has DotNet 1.1 installed. I have tried several times to install DotNet FrameWork 2.0 and the SDK. Although the programs are there they are not recognized by the FileUpload Control and I get the following error. Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error
2
1277
by: hardieca | last post by:
Good afternoon, I have developed an HTML parser in C#. I would like to be able to use this parser in Frontpage to do some validation checks before a webpage is saved. My issue is that we do our website work in a Windows 2000 environment without the .NET framework. I do, however, have access to a server in this environment which does have the .NET framework. Is it possible to create a Frontpage add-in in Visual Basic 6 that can pass...
0
1302
by: jeff | last post by:
When I try to install Port Reporter Parser utility;Windows installer says I need .Net Framework v1.1.4332 and to go to the web get it-When I am directed ther;the page says I already have .Net v2.0 and it aborts the install. Any suggestions? Am I missing something obvious? -- jeff
4
7286
by: Jim in Arizona | last post by:
Apparently, the FTB forum at http://freetextbox.com/forums/22/ShowForum.aspx isn't very active. I need some kind of text box control that allows formatting AND is free so I came across freetextbox. I followed the installation procedure from here: http://wiki.freetextbox.com/default.aspx/FreeTextBoxWiki.Installation But, those instructions weren't very helpful. When you download the
0
2199
by: Romain FEUILLETTE | last post by:
Hello, I'have just install Python 2.5.1 on Linux and the IDLE doesn't seem to works because it didn't find Tcl/Tk Is there someone to explain how to modify the file "setup.py" to tell the install that Tcl/Tk are at the paht : "/usr/bin/tclsh" and "usr/bin/wish/" ? I have attached to log file of my terminal.
2
1350
by: bhavanirayala | last post by:
Hello All, I have XML::Parser ,installed in my server.I cant install any other modules. So I need to use only XML::Parser. Is it possible to read xml file by tag by tag using XML::Parser? If Yes, please share any code if you have.. Thanks in advance.
0
9422
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
10035
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
9851
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
7403
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
5293
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
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
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
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2811
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.