Project

General

Profile

Actions

Bug #427

closed

Numextension fails to build on Fedora 12

Added by Neil Voss over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
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 #1

Updated by Neil Voss over 14 years ago

  • Target version set to Appion/Leginon 2.0.0
Actions #2

Updated by Jim Pulokas over 14 years ago

  • Status changed from Assigned to In Test
  • Assignee changed from Jim Pulokas to Neil Voss

python path problem

Actions #3

Updated by Neil Voss over 14 years ago

  • Status changed from In Test to Closed
  • Assignee deleted (Neil Voss)

There was an error in my PYTHONPATH.

Actions #4

Updated by Neil Voss over 14 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF