On Tue, Jan 6, 2015 at 4:07 PM, Joachim Durchholz <[email protected]> wrote:
> Am 06.01.2015 um 22:00 schrieb Aaron Meurer: > >> Most of these issues are general to the way Python handles dependencies >> and >> packaging and not specific to SymPy or mpmath. >> > > Sure. > I was more venting off that the docs weren't updated, and I have yet to > determine how to properly use virtualenv - right now it doesn't meld well > into the workflow. > > > The ImportError is > >> generally the best error message you get when a package is missing. The >> permissions issues are due to the way Python gets installed by the system >> in a place that isn't user-writable. You either have to use sudo or know >> how to install somewhere that is user-writable. >> > > Exactly. I guess a hint at virtualenv would be appropriate. > The mpmath installer sadly does not say so. conda environments are also useful. It's not really mpmath's fault. For Python installations you don't need to worry about this (e.g., if you install Anaconda, it is user-writable by default). > > Even so, I can guarantee that the following will work (once we do a >> release): >> >> - Installing SymPy via Anaconda or conda will get the mpmath dependency. >> - pip installing SymPy will get mpmath >> - If you have setuptools installed, python setup.py install will download >> and install mpmath, if it isn't installed already. >> >> The toughest situation will be for people who are developing on SymPy >> (i.e., they just clone the repo, without installing). They will need to >> know to install mpmath, which requires better documentation and error >> messages. >> > > 100% ack. It's still way better than with other projects. Try contributing to matplotlib, which has three dependencies (more depending on how you count), and must be compiled and installed (you can't just import matplotlib from the development directory). Aaron Meurer > > -- > You received this message because you are subscribed to the Google Groups > "sympy" 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/sympy. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/sympy/54AC6AA1.5070808%40durchholz.org. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" 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/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6KD2tfQduQBytsPwcxUaVangdsDCtkJ%2Bz-vHLv_%2BqVstg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
