PC Installer Script¶
Installation steps
Download and Install Microsoft Visual C++ Redistributable for Visual Studio
Setup Github Account¶
Go to github.com and create an account
- Setup a Personal Access Token
Sign in to your account
Go to your Settings
github.com/settings/profile
Go to “Developer settings”
github.com/settings/apps
Go to “Personal access tokens”
github.com/settings/tokens
Generate new token, make sure “repo” is selected in “Select scopes”
Copy the token for use when Setup Preferences
Download and Install Git¶
Download and Install Anaconda3¶
Download and Install Microsoft Build Tools 2015 Update 3¶
Download and Run installer¶
use Powershell.exe
or equivalent
$ Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/NMGRL/pychron/develop/app_utils/install.py' -OutFile
install.py
$ cd /path/to/install.py
$ python install.py
Note
Currently on a PC not all the dependencies are automatically installed. You will need to do the following before proceeding.
Open Anaconda Bash and activate the pychron environment
$ conda activate pychron3
Install the PIP dependencies
$ pip install uncertainties peakutils qimage2ndarray chaco
Setup Environment¶
Launch Pychron and select your Pychron environment directory, typically /Users/<username>/Pychron
or
/Users/<username>/Pychron3
Setup Plugins¶
The following plugins are the minimum requirements for data reduction. Additional plugins may be necessary or desired
for enhanced functionality. Enabled/Disable Plugins by manually editing the initialization.xml
file or
MenuBar/Help/Edit Initialization
DVC
GitHub
Pipeline
ArArConstants
Setup Preferences¶
Launch Pychron and go to Pychron/Preferences
Go to
Preferences/GitHub
and enter in the Personal access token generated in Setup Github AccountGo to
Preferences/DVC
and setup a database connection