Comments (5)
i recommend using git version, it is 2.05.01. on pypi (accessed by 'pip install pyswisseph) is very old version, 2.00.01
- download .zip file of pyswisseph
- make virtual environment (on win 10, cmd, i.e at a:: 'virtualenv pyswe_venv')
- activate virtual environment, and navigate to it, cmd i.e.: a: [enter], cd pyswe_venv [enter]
- run: 'python setup.py install'
if everything goes well, you should have pyswisseph (2.05.01) installed in your virtual environment.
from cmd, follow the instructions in 'setup.py' (>>> import swisseph as swe ...)
hope this help, it is a bit quick tutorial / help.
best regards,
simon
s love nia
from pyswisseph.
Hi Simon,
Thanks for the response. I am a bit new to Github and programming in general, what do you mean by downloading using git version, it is 2.05.01 and where can I find it?
Appreciate your response,
Thanks,
Ishan
from pyswisseph.
from page (root of this page):
https://github.com/astrorigin/pyswisseph
- under tab '<> code', on right side, find 'Clone or download' button, click it, select 'Download ZIP' - save it on your disk
- (* recommended) make a python virtual environment (using 'virtualenv' or 'venv', your choice, see:
https://docs.python.org/3/tutorial/venv.html
for more info), somewhere on your disk; i use separate partition from os installation (win 10), i.e. partition A:\ - (* recommended) make new directory on your disk, under this new virt_env, i.e. 'A:\your_venv\your_code'; there should be folders 'Include', 'Lib', 'Scripts' in your_venv folder, those are created at virtual environment creation
- unzip downloaded (pyswisseph-master) file into this directory
- activate 'your_venv' virt_env, with cmd (command shell on windows), navigate 1 directory up (cmd 'cd..') from 'Scripts', to i.e. 'A:\your_venv\your_code\pyswisseph-master'
- from cmd, run 'python setup.py install'
voila!, this should install version 2.05.01 to your virtual environment; to use this module, 'your_venv' must be activated.
you can skip virtual environment, but it is recommended to use virtual environment(s) for pyhton development.
looks like this project is not developed anymore, too bad, it is good module.
i am trying to update it to 2.08.01 (latest sweph), but my programming knowledge and experience is too quite limited, so not soon will this be available. i will also remove support for python2, official support will cease in 2020, if i am informed correctly.
hope this help,
have fun,
simon
s love nia
from pyswisseph.
from pyswisseph.
PyPI package obsolete.
from pyswisseph.
Related Issues (20)
- PySwisseph 2.8.0 swe constants HOT 1
- Strange error when calculating true node position HOT 4
- BIT_HINDU_RISING ignored? HOT 1
- Pyodide add package pyswisseph HOT 1
- Function not working swe.set_ephe_path HOT 1
- Problem with "calc_ut"
- How to change different position HOT 2
- How can I determine or estimate when Aspect starts and ends HOT 3
- New to programming -- Keep getting AttributeError HOT 2
- Thank you
- Wonβt build pyswisseph on MacOS 13.4 HOT 5
- tribute to authors? HOT 1
- transit planets issue HOT 2
- swisseph.Error: swisseph.houses_ex 2: within polar circle, switched to Porphyry HOT 1
- how to change observer position HOT 1
- Planetary moons position, the ephemeris file choose? HOT 2
- How do I get Sun position like in example from swisseph node module?
- pyswisseph version 2.0.0.post2 not available
- Error when installing pyswisseph using pip on python 3.12 HOT 6
- Are there plans to make a python port of swevents.c as well?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyswisseph.