473,396 Members | 1,894 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,396 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 2062

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 ------------------------------------------ Create...
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 3.3). I've also tried down to gcc 2.96 on Mac...
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 points (integer coordinates). I have the function...
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, 30); if (!$fp) { echo "socket error: $errstr...
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 the following problems, probably all related, that...
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 Computational Linguistics and I am a python...
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 rackmount server in a colocation facility,...
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 Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007;...
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 back: $ python virtualenv.py --no-site-packages...
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
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...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.