GithubHelp home page GithubHelp logo

Comments (10)

joaoventura avatar joaoventura commented on July 17, 2024 8

For everyone having this issue, just uninstall pyswisseph-2.08 and install pyswisseph-2.00.00-2.

$ pip uninstall pyswisspeh
Found existing installation: pyswisseph 2.8.0.post0
Uninstalling pyswisseph-2.8.0.post0:
...

$ pip install pyswisseph==2.00.00-2
...

In alternative, as I've just made two commits to force the usage of pyswisseph 2.00.00-2 while I don't review astrorigin's PR above. If you prefer to install the dev version, just do:

$ pip uninstall flatlib
$ pip install git+https://github.com/flatangle/flatlib`

from flatlib.

tylerweitzman avatar tylerweitzman commented on July 17, 2024 3

from flatlib.

ramires666 avatar ramires666 commented on July 17, 2024 1

for those who had this problem as i did
i finally fixed it !
you dont have to install old version of pyswisseph !
just go to where your flatlib site-package is actually installed
e.g. i got it here on my debian linux: /home/username/.local/lib/python3.8/site-packages/flatlib/ephem/swe.py
and edit swe.py
change:
sweList = swisseph.calc_ut(jd, sweObj) to sweList = swisseph.calc_ut(jd, sweObj)[0]
which are in two lines: #66 and #78
and thats it !
everything works now !

from flatlib.

tylerweitzman avatar tylerweitzman commented on July 17, 2024

+1 I get the same error

from flatlib.

marceloandriolli avatar marceloandriolli commented on July 17, 2024

+1 Me too!

from flatlib.

micharmia avatar micharmia commented on July 17, 2024

i tried all above solution and it still not working
i have python 3.7.4
and use anaconda
when i use pip uninstall pyswisspeh
i recived "WARNING: skipping pyswisspeh as it is not installed
when i tried pip install pyswisseph==2.00.00-2
i recived this error """ERROR: Command errored out with exit status 1: 'C:\Users\MArmia\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MArmia\AppData\Local\Temp\pip-install-ztnuz_v3\pyswisseph\setup.py'"'"'; file='"'"'C:\Users\MArmia\AppData\Local\Temp\pip-install-ztnuz_v3\pyswisseph\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MArmia\AppData\Local\Temp\pip-record-k8i3_szt\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output."""

from flatlib.

aum7 avatar aum7 commented on July 17, 2024

if you copied text from above post, it includes typo:
pyswisspeh -> should be pyswisseph

from flatlib.

karmaral avatar karmaral commented on July 17, 2024

Hello, I'm having the same issue as micharmia. I tried manually installing pyswisseph 2.00, and also uninstalling flatlib and cloning the dev version, but nothing works. Something to do with the wheel file and windows/visual studio.
I've googled some and got to this but that solution seems not to work with python 3.7. I'm a bit lost. Is there anything to be done?

from flatlib.

zgpnuaa avatar zgpnuaa commented on July 17, 2024

For everyone having this issue, just uninstall pyswisseph-2.08 and install pyswisseph-2.00.00-2.

$ pip uninstall pyswisspeh
Found existing installation: pyswisseph 2.8.0.post0
Uninstalling pyswisseph-2.8.0.post0:
...

$ pip install pyswisseph==2.00.00-2
...

In alternative, as I've just made two commits to force the usage of pyswisseph 2.00.00-2 while I don't review astrorigin's PR above. If you prefer to install the dev version, just do:

$ pip uninstall flatlib
$ pip install git+https://github.com/flatangle/flatlib`

But Pyswisseph==2.00.00-2 cannot be installed on win10 systems. This error will appear:

error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1120

ERROR: Failed building wheel for pyswisseph

Only can install pyswisseph-2.8.0 in win 10.
@joaoventura

Have you solved the installation problem in win10 ? @aum7 @tylerweitzman @micharmia

from flatlib.

zazezozuzy avatar zazezozuzy commented on July 17, 2024

@ramires666 Wow, finally! Thanks a lot!

from flatlib.

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.