astusrush / amadia Goto Github PK
View Code? Open in Web Editor NEWAstus' Mathematical Display Application : A GUI for Mathematics (Calculator, LaTeX Converter, Plotter, ... )
License: GNU General Public License v3.0
Astus' Mathematical Display Application : A GUI for Mathematics (Calculator, LaTeX Converter, Plotter, ... )
License: GNU General Public License v3.0
I've reviewed djbeadle's 2020 issue, and have seen a few of the same symptoms. That said, I thought I'd add my initial approach to installing AMaDiA on MacOS, in my case, Intel MacOS 13.6 (Ventura).
xcode-select --install
brew install git
brew install --cask anaconda # installs Anaconda 3
source ~/.zshrc # if using zsh
source ~/.bashrc # if using bash
conda install conda-forge::antlr4-python3-runtime
conda install -c conda-forge pyobjc
conda install -c conda-forge slycot
brew install mactex
eval "$(/usr/libexec/path_helper)" # or restart terminal
sudo tlmgr update --self
sudo tlmgr install dvipng
eval "$(/usr/libexec/path_helper)" # or restart terminal
vi ~/bin/AMaDiA/AMaDiA_Files/AMaDiA_Classes.py
:1083 # comment out, deprecated np.warnings
:1085 # comment out, deprecated np.warnings
:1128 # comment out, deprecated np.warnings
mkdir ~/bin
vi ~/bin/AMaDiA_INSTALL.sh
#!/usr/bin/env zsh
INSTALL_DIR=$HOME/bin
if [ ! -d “$INSTALL_DIR” ]; then
mkdir -p $INSTALL_DIR
fi
cd $INSTALL_DIR
git clone https://github.com/AstusRush/AMaDiA
vi ~/bin/AMaDiA.sh
#!/usr/bin/env zsh
AMaDiA_DIR=$HOME/bin/AMaDia
cd $AMaDiA_DIR
git pull
if activate; then
if python3 $AMaDiA_DIR/AMaDia.py; then
echo "AMaDia executing"
else
echo “Error while launching AMaDiA, exiting…”
exit 2
fi
else
echo “Error while launching Anaconda activate, exiting…”
exit 1
fi
chmod o+x $HOME/bin/AMaDiA_INSTALL.sh
chmod o+x $HOME/bin/AMaDiA.sh
$HOME/bin/AMaDiA_INSTALL.sh
$HOME/bin/AMaDiA.sh
Results from examples:
Context
I saw your post on /r/coolgithubprojects and I thought I'd chime in a with a few notes on how I got this running on McOS
Missing Packages
I did not have Anaconda
installed and wanted to try and run the code without it. After installing the contents of requirements.txt
I had to manually install the following packages:
PyQtWebEngine
packaging
I did not install antlr4
although there is a warning message letting me know it was not installed.
The try-except
import statement in AMaDiA/AGeLib/__init__.py
obfuscated what packages were missing, consider adding a print statement in the except
statement as well.
Lines 15 to 18 in c6cf0ff
First Impressions
The very first thing I ran in to was "how do I close the changelog?" I never figured that out, but I see that it disappeared the second time I ran the software.
At this point the application seems to be running, although I must admit most of it's mathematical capabilities are beyond me!
I tried out the plotter with some simple functions. I did notice some non-intuitive behavior when plotting things in the following orders:
x
x = 23
In this case the original plot of x
does not recalculate or expand to fill the new space. Perhaps this is the intended functionality (to prevent unintentional recalculations of large plots) but I could not find a way to recalculate the equation to fill the new space on the graph.
This is a very cool project and I am going to keep it in mind for my calculating needs!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.