MacOS Install: Difference between revisions
Jump to navigation
Jump to search
Markmcintyre (talk | contribs) mNo edit summary |
Markmcintyre (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
conda install -c conda-forge opencv | conda install -c conda-forge opencv | ||
conda install pyqt | conda install pyqt | ||
</pre> | |||
And to test that it all worked: | |||
<pre> | |||
cd RMS | cd RMS | ||
conda activate RMS | |||
python -m Utils.SkyFit2 --help | python -m Utils.SkyFit2 --help | ||
</pre> | </pre> | ||
this should compile the code and print instructions for how to use SkyFit2. | |||
Note: Each time you want to use RMS, you must activate the Python virtual environment in a Terminal window and change directory into the RMS folder: | |||
<pre> | |||
cd RMS | |||
conda activate RMS | |||
</pre> | |||
== Longer Instructions == | == Longer Instructions == |
Latest revision as of 09:00, 27 September 2021
Basic Instructions
These instructions should work for most users. If they don't work for you, try the longer version below.
- Open a terminal window and run the following command to install the developer tools. This may take some time.
xcode-select --install
- Download and install Anaconda from https://www.anaconda.com/products/individual. Select the default options throughout unless you expect to be doing Python development.
- In a terminal window, run the following commands:
conda create --name RMS python=3.7 conda activate RMS git clone https://github.com/CroatianMeteorNetwork/RMS.git pip install -r RMS/requirements.txt pip install rawpy conda install -c conda-forge opencv conda install pyqt
And to test that it all worked:
cd RMS conda activate RMS python -m Utils.SkyFit2 --help
this should compile the code and print instructions for how to use SkyFit2.
Note: Each time you want to use RMS, you must activate the Python virtual environment in a Terminal window and change directory into the RMS folder:
cd RMS conda activate RMS
Longer Instructions
- Open a terminal window and run the following command to install the developer tools. This may take some time.
xcode-select --install
- Download and install Anaconda from https://www.anaconda.com/products/individual. Select the default options throughout.
- Open a terminal window and run the following commands:
conda create --name RMS python=3.7 conda activate RMS git clone https://github.com/CroatianMeteorNetwork/RMS.git conda install -y numpy scipy gitpython cython matplotlib conda install -y -c conda-forge pyephem Pillow imreg_dft imageio pyqtgraph conda install -y -c astropy astropy pip install rawpy conda install -c conda-forge opencv conda install pyqt cd RMS python -m Utils.SkyFit2 --help
The last command should compile the code and print instructions for how to use SkyFit2.