469,588 Members | 2,741 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,588 developers. It's quick & easy.

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 1848

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Narayan Appachar | last post: by
33 posts views Thread by wespvp | last post: by
27 posts views Thread by G Patel | last post: by
1 post views Thread by Skeets | last post: by
1 post views Thread by Michael Yanowitz | last post: by
3 posts views Thread by Thomas Ploch | last post: by
9 posts views Thread by mhearne808[insert-at-sign-here]gmail[insert-dot-he | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.