Is importing abc deprecated?

748 views
Skip to first unread message

Julio Oliveira

unread,
Dec 17, 2009, 4:49:40 AM12/17/09
to sy...@googlegroups.com
Hello all,

Why do I get

"In [305]: from sympy import abc
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

C:\Documents and Settings\oliveira\<ipython console> in <module>()

ImportError: cannot import name abc

"

Is this way of using abc deprecated?

Or is it because I didn't really install the package of sympy to the python bundle? ( I didn't, because I don't want to mix the packets in python with code in development).

Thanks,

Julio

Vinzent Steinberg

unread,
Dec 17, 2009, 9:20:54 AM12/17/09
to sympy

Possibly, you did use which version of sympy?

Vinzent

Julio Oliveira

unread,
Dec 17, 2009, 9:23:45 AM12/17/09
to sy...@googlegroups.com
The most actual one.  I just downloaded it from the trunk.
Best,

Julio

2009/12/17 Vinzent Steinberg <vinzent....@googlemail.com>

--

You received this message because you are subscribed to the Google Groups "sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sympy?hl=en.



Vinzent Steinberg

unread,
Dec 18, 2009, 7:12:35 AM12/18/09
to sympy
On Dec 17, 3:23 pm, Julio Oliveira <idiche...@yahoo.com.br> wrote:
> The most actual one.  I just downloaded it from the trunk.
> Best,
>
> Julio

I can't reproduce this with current HEAD. How do you make sure that
sympy is in your sys.path? You have to change to the sympy directory
(using cd), where setup.py lives, than you can execute python or bin/
isympy to run sympy interactively, without installing it.

Vinzent

Reply all
Reply to author
Forward
0 new messages