On 27/08/2019 11:32, Kalevi Suominen wrote:
Did you add the print statement to a source file in a standard
installation? The compiled files are also part of the standard
installation and can usually be modified only by the super user.
Running as an ordinary user will not compile the sources. Instead, you
should install a copy of the library in a directory where you have all
access rights. The sources can be downloaded from
https://www.sympy.org/en/download.html.
Thanks for your reply.
Sorry, I should probably have added a bit more information.
In fact I installed python and sympy in a read-write location on my
machine: c:\PythonSystem. I also have a copy, so if I were to corrupt
the library, I could just copy the whole thing back again to reset it. I
noticed that if I generate an exception, the system references those
source files, for example:
File
"C:\PythonSystem\lib\site-packages\sympy\combinatorics\partitions.py",
line 233, in RGS
partition = self.partition
Etc etc
Given that, what else do I need to do to compile my modified source?
David
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/bdb6b08a-fed7-1237-0eb2-066a82df0c90%40dbailey.co.uk.