install_for_use.rst 1.05 KB

Installing GuitAstro for standard using

Prerequisite: You have ever downloaded Guitastro and installed Python.

1. Python setup

For Linux users:

cd ~/Documents/guitastro/
sudo python3 setup.py install

To uninstall GuitAstro:

sudo pip uninstall guitastro

For Windows users, open a Powershell as administrator. A quick way to open Powershell as administrator is Win+R (execute commands) and put:

powershell Start-Process powershell -Verb runAs

Then, in the Powershell terminal:

cd C:\Users\xxx\Documents\guitastro\install
python setup.py install

To uninstall GuitAstro:

pip uninstall guitastro

2. Import guitastro from everywhere

The previous step recorded Guitastro as a package of Python. The simple line "import guitastro" should work:

import guitastro