GithubHelp home page GithubHelp logo

Comments (5)

aum7 avatar aum7 commented on May 30, 2024

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.

isan4946 avatar isan4946 commented on May 30, 2024

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.

aum7 avatar aum7 commented on May 30, 2024

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.

aum7 avatar aum7 commented on May 30, 2024

from pyswisseph.

astrorigin avatar astrorigin commented on May 30, 2024

PyPI package obsolete.

from pyswisseph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.