Decimal problem

durumdara durumdara at gmail.com
Fri Jun 11 03:58:56 EDT 2010


On jún. 10, 23:01, Mark Dickinson <dicki... at gmail.com> wrote:
> On Jun 10, 8:45 pm, durumdara <durumd... at gmail.com> wrote:
>
> > ne 91, in fixed_conv_out_precise
> >     from decimal import Decimal
> > ImportError: cannot import name Decimal
>
> Is it possible that you've got another file called decimal.py
> somewhere in Python's path?  What happens if you start Python manually
> and type 'from decimal import Decimal' at the prompt?
>
> --
> Mark

Hi!

Ahhhhhhhh....

I found the problem. But before this I destroyed my machine fully... :-
(

The problem is ACTUAL PATH. My script name was copy.py.
If I tried to start python here, and type "import decimal" the python
was crashed on.

Because decimal is uses copy and number modules. The decimal is
imported my module, not the system...

Ajjjjjjajjjj...

I need to reinstall all tools that was in this machine, because I
uninstalled/deleted everything to find the source of the problem -
what was next to my eyes... :-(

Thanks for your help:
   dd



More information about the Python-list mailing list