472,353 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Problems installing cvs / errno?

Hi ng,

i have a problem installing cvs module from:
http://www.object-craft.com.au/projects/csv/

My Python version is: Python 2.1.3
(Not the latest, but i need this version for running Zope Application
Server)

I downloaded the package (csv-1.0) and tried to install with python
setup.py install. But i got following errormessages:

-snip-
running install
running build
running build_ext
building 'csv' extension
skipping csv.c (build/temp.freebsd-4.8-RELEASE-i386-2.1/csv.o up-to-date)
cc -shared -pthread build/temp.freebsd-4.8-RELEASE-i386-2.1/csv.o -o
build/lib.freebsd-4.8-RELEASE-i386-2.1/csv.so
Traceback (most recent call last):
File "setup.py", line 63, in ?
license = 'BSD - see file LICENCE',
File "/usr/local/lib/python2.1/distutils/core.py", line 138, in setup
dist.run_commands()
File "/usr/local/lib/python2.1/distutils/dist.py", line 899, in
run_commands
self.run_command(cmd)
File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.1/distutils/command/install.py", line
480, in run
self.run_command('build')
File "/usr/local/lib/python2.1/distutils/cmd.py", line 328, in
run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.1/distutils/command/build.py", line 106,
in run
self.run_command(cmd_name)
File "/usr/local/lib/python2.1/distutils/cmd.py", line 328, in
run_command
self.distribution.run_command(command)
File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
cmd_obj.run()
File "/usr/local/lib/python2.1/distutils/command/build_ext.py", line
256, in run
self.build_extensions()
File "/usr/local/lib/python2.1/distutils/command/build_ext.py", line
383, in build_extensions
self.build_extension(ext)
File "/usr/local/lib/python2.1/distutils/command/build_ext.py", line
475, in build_extension
build_temp=self.build_temp)
File "/usr/local/lib/python2.1/distutils/ccompiler.py", line 663, in
link_shared_object
extra_preargs, extra_postargs, build_temp)
File "/usr/local/lib/python2.1/distutils/unixccompiler.py", line 235,
in link
self.spawn(self.linker_so + ld_args)
File "/usr/local/lib/python2.1/distutils/ccompiler.py", line 826, in
spawn
spawn (cmd, verbose=self.verbose, dry_run=self.dry_run)
File "/usr/local/lib/python2.1/distutils/spawn.py", line 38, in spawn
_spawn_posix(cmd, search_path, verbose, dry_run)
File "/usr/local/lib/python2.1/distutils/spawn.py", line 108, in
_spawn_posix
exec_fn(cmd[0], cmd)
File "/usr/local/lib/python2.1/os.py", line 291, in execvp
_execvpe(file, args)
File "/usr/local/lib/python2.1/os.py", line 305, in _execvpe
from errno import ENOENT, ENOTDIR
ImportError: No module named errno
error: command 'cc' failed with exit status 1
-snip-

Is there a problem with the errno module? Can i install the module
manually. I can compile the csv.c code manual to a csv.o object. How can
i compile the source to a python object?

Any other ideas?

Thanks and forgive my bad english, ;)
Alex

Jul 18 '05 #1
0 1976

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

Similar topics

3
by: Narayan Appachar | last post by:
Hi, We were able to build stored procedures without any problems till now. Now while building procedures, we are getting the following errors...
33
by: wespvp | last post by:
When I try to run thread_test.c from the CVS tip, it hangs in an infinite CPU loop on both linux (RedHat AS 3.0, gcc 3.2.3) and Mac OS X 10.3.3 (gcc...
27
by: G Patel | last post by:
Hello, I'm having trouble with floating point problems. I'm trying to write a function that calculates the distance between two cartesian...
1
by: Skeets | last post by:
i'm having some php problems. i have the following code on my main page: ------------ $fp = fsockopen("127.0.0.1", 49152, $errno, $errrstr,...
1
by: Michael Yanowitz | last post by:
Hello: Below I have included a stripped down version of the GUI I am working on. It contains 2 dialog boxes - one main and one settings. It has...
3
by: Thomas Ploch | last post by:
Hello folks, Since this is my first post on the list, a brief introduction of myself. My name is Thomas, I am 26 years old, I am a student of...
15
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated...
9
by: mhearne808[insert-at-sign-here]gmail[insert-dot-he | last post by:
I'm having a number of problems with the fcntl module. First off, my system info: Mac OS X Darwin igskcicglthearn.cr.usgs.gov 8.10.1 Darwin...
0
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.