MacOS Install: Difference between revisions

From Global Meteor Network
Jump to navigation Jump to search
(Created page with "== Working Instructions == First make sure you have Anaconda installed. Then in a terminal window, run the following commands: * conda create --name RMS python=3.7 * conda ac...")
 
mNo edit summary
Line 1: Line 1:
== Working Instructions ==
== Basic Instructions ==
First make sure you have Anaconda installed. Then in a terminal  window, run the following commands:
These instructions should work for most users. If they don't work for you, try the longer version below.
* 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


* Open a terminal window and run the following command to install the developer tools. This may take some time.
<pre>xcode-select --install</pre>
* 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:
<pre>
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
cd RMS
python -m Utils.SkyFit2 --help
</pre>
The last command should compile the code and print instructions for how to use SkyFit2.  
The last command should compile the code and print instructions for how to use SkyFit2.  


== Simpler Instructions ==
== Longer Instructions ==  
We think these instructions could be simplified by using the requirements.txt file in the RMS folder. If someone with a Mac could test this, the following instructions might work
 
* conda create --name RMS python=3.7
* Open a terminal window and run the following command to install the developer tools. This may take some time.  
* conda activate RMS
<pre>xcode-select --install</pre>
* git clone https://github.com/CroatianMeteorNetwork/RMS.git
 
* pip install -r RMS/requirements.txt
* Download and install Anaconda from https://www.anaconda.com/products/individual. Select the default options throughout.
* pip install rawpy
* conda install -c conda-forge opencv
* conda install pyqt
* cd RMS
* python -m Utils.SkyFit2 --help


If this works for you, please let us know.
* Open a terminal window and run the following commands:
<pre>
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
</pre>
The last command should compile the code and print instructions for how to use SkyFit2.

Revision as of 15:25, 6 May 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
  • 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
cd RMS
python -m Utils.SkyFit2 --help

The last command should compile the code and print instructions for how to use SkyFit2.

Longer Instructions

  • Open a terminal window and run the following command to install the developer tools. This may take some time.
xcode-select --install
  • 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.