0% found this document useful (0 votes)
10 views2 pages

Python AI Astrology Setup Guide

This document is a setup guide for installing Python, Microsoft Visual C++, and necessary packages for AI astrology using Swiss Ephemeris and OpenAI. It provides step-by-step instructions for installation, verification, and troubleshooting common errors. Additionally, it includes support contact information for further assistance.

Uploaded by

pulendravarman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Python AI Astrology Setup Guide

This document is a setup guide for installing Python, Microsoft Visual C++, and necessary packages for AI astrology using Swiss Ephemeris and OpenAI. It provides step-by-step instructions for installation, verification, and troubleshooting common errors. Additionally, it includes support contact information for further assistance.

Uploaded by

pulendravarman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AI Astrology Setup Guide - Python + Swiss Ephemeris + OpenAI

1. Install Python

Step 1: Download Python Installer


- Visit: https://www.python.org/downloads/
- Click on the latest Python 3.12.x version for Windows.
- Download: Windows Installer (64-bit) `.exe` file

Step 2: Install Python (IMPORTANT SETTINGS)


1. Double-click the downloaded `.exe` file.
2. Check "Add Python to PATH" (VERY IMPORTANT!)
3. Click "Customize installation"
4. Ensure the following are selected:
- pip
- tcl/tk and IDLE
- Python test suite
5. Click Next Install
6. Wait until you see the "Setup was successful" message.

2. Install Microsoft Visual C++ (If Prompted)

If installation fails during pip or module install with error like:


"Microsoft C++ Build Tools are required"

Fix:
1. Visit: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist
2. Download: vc_redist.x64.exe
3. Install and restart your computer.

3. Verify Installation

Open Command Prompt (`Windows + R` type `cmd`) and type:

python --version
pip --version

You should see something like:


Python 3.12.3
pip 24.0

If not, re-run Python installer and ensure "Add to PATH" is checked.

4. Install Required Python Packages

Open Command Prompt and run each line below one by one:

pip install swisseph


AI Astrology Setup Guide - Continued

pip install openai


pip install python-dotenv

Wait for "Successfully installed..." confirmation for each.

5. [Optional] Install Swiss Ephemeris Manually (If pip fails)

If pip install swisseph fails:

1. Visit: https://www.lfd.uci.edu/~gohlke/pythonlibs/#swisseph
2. Download the `.whl` file matching your Python version.
Example: swisseph2.10cp312cp312win_amd64.whl
3. Run in Command Prompt:
pip install D:\Downloads\swisseph2.10cp312cp312win_amd64.whl

6. Test Your Setup

Save this as test_setup.py:

import swisseph as swe


print("Swiss Ephemeris version:", swe.swe_version())

Run it:

python test_setup.py

You should see:


Swiss Ephemeris version: 2.10.00

Common Errors & Fixes

| Issue | Fix |
|--------------------------|-----------------------------------------------|
| 'python' not recognized | Reinstall Python with "Add to PATH" checked |
| pip not found | Run: python -m ensurepip |
| swisseph install error | Use `.whl` method from step 5 |
| MSVC build tools error | Install Visual C++ Redistributable (step 2) |

Support & Help

- Ask doubts in class group


- Attend Zoom Support Session (if scheduled)
- Contact trainer: Guru Bakkianathan
- WhatsApp: 98403-24409
- Website: https://exactpredictions.in

You might also like