On 18/01/2024 09:06, LuvPeaceMoney Freedom wrote:
> Hi Brian -- Thank you very much for that info. It makes me feel better.
> Maybe there is an older version of python where the mpmath module can be
> imported easily. I will hunt around. If you know of one, let me know.
> Hi Oscar -- Thanks for the info. The problem with the decimal module in
> 3.12.1 is that it does not do arbitrary precision which is what I want.
> I did try to install pip but was not able to do so. In fact, 3.12.1
> never even heard about it. If you know of another way to install
> mpmath, please inform me. Thanks.
Hi Oscar,
Thanks for reminding me that GMPY2 is not necessary for running mpmath -
I have ben running it with GMPY2 support for so long that I had
forgotten this.
Hi Rick,
Since you are not using GMPY2, I am now puzzled that you are having
issues in installing mpmath since it has installed for me without any
problems on Windows 11.
When Python is installed, pip is also installed at the same time so I am
now wondering if your Python installation has not fully installed. It
might hence be worth uninstalling and reinstalling Python 3.12 again.
If you do this it should give you the choice of installing for your use
only or installing for all users. In my experience doing the latter
makes more sense on a single user machine since it then puts the
installation in the "C:\Program Files\Python312" directory where most
common programs are located. On my system this directory includes:
<DIR> DLLs
<DIR> Doc
<DIR> include
<DIR> Lib
<DIR> libs
36,874 LICENSE.txt
1,691,514 NEWS.txt
103,192 python.exe
68,376 python3.dll
7,003,928 python312.dll
101,656 pythonw.exe
<DIR> Scripts
<DIR> share
and the Scripts directory includes tools including pip:
f2py.exe
flint.exe
fonttools.exe
isympy.exe
pip.exe
pip3.12.exe
pip3.exe
pyftmerge.exe
pyftsubset.exe
ttx.exe
It would be worth checking if your Python install directory matches this
now (or after reinstallation).
best regards,
Brian
> >>> help(pip)
> NameError: name 'pip' is not defined. Did you mean: 'zip'?
> >>> help(mpmath)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> NameError: name 'mpmath' is not defined
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "mpmath" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
mpmath+un...@googlegroups.com
> <mailto:
mpmath+un...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/mpmath/44970897-92c2-4d88-8ec4-4c49a89c8b4en%40googlegroups.com <
https://groups.google.com/d/msgid/mpmath/44970897-92c2-4d88-8ec4-4c49a89c8b4en%40googlegroups.com?utm_medium=email&utm_source=footer>.