2020-04-18 18:40:07 +0200 | received badge | ● Popular Question (source) |
2019-04-01 15:46:24 +0200 | answered a question | ImportError: cannot import name BooleanTrue Ok, I've found a solution, but I have no idea where that problematic sympy-0.7.3-py2.7.egg package came from: |
2019-04-01 12:23:02 +0200 | commented answer | ImportError: cannot import name BooleanTrue Well, building Sage from the source isn't an option on my laptop, it's simply too big and stalls the machine... But I think the problem is not directly related to Sage after all, since I found out that Python2 is normally able to import that Boolean stuff from sympy, when everything is installed correctly. - I've tested it on my other Arch Linux machine: |
2019-03-31 21:27:51 +0200 | commented answer | ImportError: cannot import name BooleanTrue Thanks for the hint! - The strange thing is, that the error only shows up on my laptop, which is using the same OS as my desktop machine, where Jupyter Notebook with Sage 8.6 works perfectly fine. I'm going to try to install sagemath-git 8.8.beta0.r0.g44abe7e009-1 on the Laptop, to check if that remedies the problem. |
2019-03-31 21:27:31 +0200 | answered a question | ImportError: cannot import name BooleanTrue Thanks for the hint! - The strange thing is, that the error only shows up on my laptop, which is using the same OS as my desktop machine, where Jupyter Notebook with Sage 8.6 works perfectly fine. I'm going to try to install sagemath-git 8.8.beta0.r0.g44abe7e009-1 on the Laptop, to check if that remedies the problem. |
2019-03-31 17:04:45 +0200 | received badge | ● Editor (source) |
2019-03-31 17:04:01 +0200 | asked a question | ImportError: cannot import name BooleanTrue Sage is complaining about not being able to import BooleanTrue from sympy.logic.boolalg. The error occurs when I try to plot a curve using a variable (please see below "plot(2*x)"). The error does not occur, when plot is used without a variable (like "plot(2)", the plot window pops up with a horizontal line): I'm using Sage on Arch Linux (Manjaro): When I try to import BooleanTrue in the Python3 interactively, everything works like expected: However, in Python2 a similar error like in Sage occurs, and although I'm a Sage / Python newbie, I know that Sage uses Python2 AFAIK: Any ideas on how to solve or investigate this issue further would be appreciated! |
2019-03-31 13:05:57 +0200 | answered a question | Solving equation with sqrt You could use SymPy's solver instead of Maxima, which is used by default in Sage: |