-
-
Notifications
You must be signed in to change notification settings - Fork 705
Description
When SAGE_PATH (and hence also PYTHONPATH) contains "." (the current working directory) during the installation of sagenb, Python is able to find sagenb in its path and therefore refuses to add it to easy-install.pth. Later, Sage won't find it, leading to the following error message:
ImportError: No module named sagenb.misc.sphinxify
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
This is a follow-up to #10176, and there has been some discussion on sage-release.
Apply only
attachment: 10192-remove_dot_from_PYTHONPATH_in_sage-spkg.2.patch
to the Sage root repository.
Depends on #11073
CC: @nexttime @qed777 @mwhansen @jdemeyer @jhpalmieri
Component: build
Keywords: notebook installation dot PYTHONPATH easy_install easy-install pth sage-spkg setuptools
Author: Leif Leonhardy, Punarbasu Purkayastha
Reviewer: Florent Hivert, Jeroen Demeyer
Merged: sage-5.0.beta6
Issue created by migration from https://trac.sagemath.org/ticket/10192