[MacPorts] #14543: py25-setuptools won't compile: "No module named time"
MacPorts
trac at macosforge.org
Sun Mar 2 01:37:49 PST 2008
#14543: py25-setuptools won't compile: "No module named time"
-----------------------------+----------------------------------------------
Reporter: mjs at beebo.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: python python25 |
-----------------------------+----------------------------------------------
There's a problem with the py25-setuptools package:
{{{
$ sudo port install py25-django-devel
---> Building py25-setuptools with target build
Error: Target org.macports.build returned: shell command " cd
"/Ports/var/macports/build/_Ports_var_macports_sources_rsync.macports.org_release_ports_python_py25-setuptools/work/setuptools-0.6c8"
&& /Ports/bin/python2.5 setup.py build " returned error 1
Command output: Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
File "setup.py", line 12, in <module>
from setuptools import setup, find_packages
File
"/Ports/var/macports/build/_Ports_var_macports_sources_rsync.macports.org_release_ports_python_py25-setuptools/work/setuptools-0.6c8/setuptools/__init__.py",
line 2, in <module>
from setuptools.extension import Extension, Library
File
"/Ports/var/macports/build/_Ports_var_macports_sources_rsync.macports.org_release_ports_python_py25-setuptools/work/setuptools-0.6c8/setuptools/extension.py",
line 2, in <module>
from dist import _get_unpatched
File
"/Ports/var/macports/build/_Ports_var_macports_sources_rsync.macports.org_release_ports_python_py25-setuptools/work/setuptools-0.6c8/setuptools/dist.py",
line 6, in <module>
from setuptools.command.sdist import sdist
File
"/Ports/var/macports/build/_Ports_var_macports_sources_rsync.macports.org_release_ports_python_py25-setuptools/work/setuptools-0.6c8/setuptools/command/sdist.py",
line 3, in <module>
import os, re, sys, pkg_resources
File
"/Ports/var/macports/build/_Ports_var_macports_sources_rsync.macports.org_release_ports_python_py25-setuptools/work/setuptools-0.6c8/pkg_resources.py",
line 16, in <module>
import sys, os, zipimport, time, re, imp, new
ImportError: No module named time
Error: The following dependencies failed to build: py25-setuptools
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14543>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list