Actions
Bug #427
closedNumextension fails to build on Fedora 12
Start date:
05/06/2010
Due date:
% Done:
100%
Estimated time:
Affected Version:
Show in known bugs:
Workaround:
Description
I get this error:
vossman@amiviz3 numextension] python setup.py build 'import site' failed; use -v for traceback running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/numextension copying __init__.py -> build/lib.linux-x86_64-2.6/numextension running build_ext Traceback (most recent call last): File "setup.py", line 14, in <module> package_dir={'numextension': ''}, File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/usr/lib64/python2.6/distutils/command/build.py", line 134, in run self.run_command(cmd_name) File "/usr/lib64/python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.6/distutils/dist.py", line 993, in run_command cmd_obj = self.get_command_obj(command) File "/usr/lib64/python2.6/distutils/dist.py", line 869, in get_command_obj klass = self.get_command_class(command) File "/usr/lib64/python2.6/distutils/dist.py", line 837, in get_command_class __import__ (module_name) File "/usr/lib64/python2.6/distutils/command/build_ext.py", line 13, in <module> from site import USER_BASE, USER_SITE File "/usr/lib/python2.6/site-packages/site.py", line 73, in <module> __boot() File "/usr/lib/python2.6/site-packages/site.py", line 33, in __boot imp.load_module('site',stream,path,descr) File "/usr/lib64/python2.6/site.py", line 517, in <module> main() File "/usr/lib64/python2.6/site.py", line 500, in main known_paths = addsitepackages(known_paths) File "/usr/lib64/python2.6/site.py", line 292, in addsitepackages addsitedir(sitedir, known_paths) File "/usr/lib64/python2.6/site.py", line 185, in addsitedir addpackage(sitedir, name, known_paths) File "/usr/lib64/python2.6/site.py", line 155, in addpackage exec line File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'setdefaultencoding'
Actions