There should be more to the traceback.  The last line should be the name of the 
exception that was raised.

Aaron Meurer
On Jun 5, 2010, at 1:06 PM, mm wrote:

> Here is the log I just found:
> 
> from sympy import Integer, Symbol, solve, sympify
> 
> File "/usr/local/lib/python2.6/dist-packages/sympy/__init__.py", line
> 39, in <module>
>   from printing import pretty, pretty_print, pprint,
> pprint_use_unicode, \
> 
> File "/usr/local/lib/python2.6/dist-packages/sympy/printing/
> __init__.py", line 3, in <module>
>   from pretty import *
> 
> File "/usr/local/lib/python2.6/dist-packages/sympy/printing/pretty/
> __init__.py", line 6, in <module>
>   pprint_try_use_unicode()
> 
> File "/usr/local/lib/python2.6/dist-packages/sympy/printing/pretty/
> pretty_symbology.py", line 100, in pretty_try_use_unicode
>   encoding = getattr(sys.stdout, 'encoding', None)
> 
> The website can find it...but something is wrong within sympy.
> 
> 
> 
> 
> On Jun 5, 1:58 pm, "Aaron S. Meurer" <[email protected]> wrote:
>> So that means that the webserver cannot find sympy where it is currently 
>> installed.  You either need to install it where the webserver can find it 
>> using —prefix, or fix your PATH (sorry, I don't know the details of how to 
>> do this, but you should be able to Google it).
>> 
>> Aaron Meurer
>> On Jun 5, 2010, at 12:55 PM, mm wrote:
>> 
>>> The error log is long but basically this line:
>> 
>>> Error was: No module named sympy,
>> 
>>> Here is the import statement in my code:
>>> from sympy import Integer, Symbol, solve, sympify
>> 
>>> Thank you,
>>> MM
>> 
>>> On Jun 5, 1:49 pm, Ondrej Certik <[email protected]> wrote:
>>>> On Sat, Jun 5, 2010 at 11:43 AM, mm <[email protected]> wrote:
>>>>> Hello,
>> 
>>>>> Sorry, I thought I have fixed the problem...unfortunately, I was
>>>>> checked the wrong environment.
>> 
>>>>> I am using Sympy on a website to do certain symbolic calculation.
>>>>> Here are the steps of how I installed sympy on the server:
>> 
>>>>>   1. wgethttp://sympy.googlecode.com/files/sympy-0.6.7.tar.gz
>>>>>   2. tar zxvf sympy-0.6.7.tar.gz
>>>>>   3. cd sympy-0.6.7
>>>>>   4. sudo python setup.py install
>> 
>>>>> I can import sympy just fine using my account via the terminal.  I
>>>>> don't know why the web page that uses sympy stop working (already
>>>>> reboot the server).  I am suspecting a permission issues but the log
>>>>> doesn't tell me this.  If you have any ideas, please help.
>> 
>>>> As I wrote in the other thread, please write us more information, so
>>>> that we can reproduce the problem and help. From what you wrote, we
>>>> can't help you much.
>> 
>>>> Ondrej
>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "sympy" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> For more options, visit this group 
>>> athttp://groups.google.com/group/sympy?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
> 

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

Reply via email to