#14243: Try not to pick up user versions of things like numpy, mpl
-------------------------------------------------+-------------------------
       Reporter:  kcrisman                       |        Owner:
           Type:  defect                         |  GeorgSWeber
       Priority:  critical                       |       Status:  closed
      Component:  build                          |    Milestone:  sage-6.4
       Keywords:                                 |   Resolution:  fixed
        Authors:  John Palmieri                  |    Merged in:
Report Upstream:  N/A                            |    Reviewers:  Buck Evan
         Branch:                                 |  Work issues:
  e35ebe9bb554e4f00bcd0c4eabe91cb196997a1a       |       Commit:
   Dependencies:                                 |     Stopgaps:
-------------------------------------------------+-------------------------

Comment (by was):

 I made a horrible typo.  I meant "It makes it very, very painful for
 anybody to ever install Python packages and use them **with** Sage,
 without actually modifying a Sage install."

 This is an absolutely massive problem with SageMathCloud, where there is
 one Sage install and (literally) 15,000 users on a single computer that
 use that Sage install.   They can't all have their own copy of Sage.  So
 when they install packages (often from pip) to use *with* Sage, they have
 to use the --user flag.     My solution is that I now have a fork of Sage
 that removes the code from this ticket.

 https://github.com/sagemathinc/smc-
 sage/commit/7c9cfd095463091bcf41e1c6ea6e8eebfb61f00c

 This works for me, I guess.  However, I doubt I'm the only person with
 this problem.

 I think the right solution in this case should be better educate people
 about how to control their Python packaging.  For example, for those ask
 posts, and this problem, we should instead have something in the README
 about PYTHONNOUSERSITE=yes, and a link to the relevant Python docs.
 Telling the person with the problem to use that environment variable would
 have solved the problem for them.

--
Ticket URL: <http://trac.sagemath.org/ticket/14243#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to