我愿改变第2条第2款在含水层下的道路,把模块/图书馆装上。 我试图从没收档案中改写。 在此之前:
BINLIBDEST= $(LIBDIR)/python$(VERSION) LIBDEST= $(SCRIPTDIR)/python$(VERSION) INCLUDEPY= $(INCLUDEDIR)/python$(VERSION) CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(VERSION) LIBP= $(LIBDIR)/python$(VERSION)
我试图将其改为:
BINLIBDEST= $(LIBDIR) LIBDEST= $(SCRIPTDIR) INCLUDEPY= $(INCLUDEDIR) CONFINCLUDEPY= $(CONFINCLUDEDIR) LIBP= $(LIBDIR)
主要从路名中删除Python%(VERSION),以便它不使用lib/python<27>/em>,而只是将其模块从lib上装。 但是,即使启动<>小规模><>和 > 安装<>/strong>与改动有关,python或python27。 粉碎本文档没有从新道路上装载单元。 这与这一产出相对应:
Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] import site failed; use -v for traceback
Is there a way on forcing the Python binary itself (if must) to load up the modules from a new path set by me, instead of the default one as "$(LIBDIR)/python$(VERSION)"?