


We don’t recommend using the spyder consol, instead, from the Anaconda navigator, open a console and launch Dyna from its SRC directory : python Dyna.py. In a “prompt anaconda window” type those two commands (press yes each time) Pip : We recommend to use pip to install the libraries, because pip seems more up-to-date with the libraries needed by Dyna :Īnaconda : If you install using anaconda, the pyqt version is too old (as to November 2021). We have some experience with two python package managers, pip and conda from the anaconda environment. If your Mac complains that the app is from an unknown developer : use ctrl+double click to override your Mac security settings. It comes with all the needed libraries it is heavier but more portable.
#Pip install pyqt5 version 5.12 mac os#
Mac OS App can be built as a stand-alone app. In Dyna’s directory there should be three directories :ĭyna/Projects -> zip file of Examples of Projects Spyder is the editor used (SG), it requires and will install PyQt. Python install : on our Mac, python was installed with Homebrew, “brew install python”, then pip was used to install spyder, numpy, scipy and matplotlib, typing “pip install spyder”. Install : python and python libraries : numpy, scipy, matplotlib, PyQt5 Then just run “Dyna” in the console window, from the SRC directory. You need to buy Matlab, and eventually the Optimization Toolbox in order to use the Genetic algorithm. + Kerr and Faraday effects, in reflectivity and transmittance genetic algorithm but requires the Optimization Toolbox) + several fitting algorithms (no genetic algorithm yet) Main differences between Python and Matlab codes pip install -upgrade crytography Occasionally, pip will not manage dependencies properly and thus upgrading packages manually in this fashion is required. One download, includes sources, tables and example projects :
