Comments (10)
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.
from flatlib.
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.
+1 I get the same error
from flatlib.
+1 Me too!
from flatlib.
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.
if you copied text from above post, it includes typo:
pyswisspeh -> should be pyswisseph
from flatlib.
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.
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.
@ramires666 Wow, finally! Thanks a lot!
from flatlib.
Related Issues (20)
- Plans to add planets past Saturn? HOT 5
- House calculation HOT 1
- Where are Neptune and Uranus? HOT 2
- Is there a way to calculate lunation day? HOT 1
- Planet sits in a wrong house HOT 3
- Results don't match with other pages' results HOT 6
- Vedic sunset/sunrise? HOT 1
- Applying aspects HOT 7
- add new planet to flatlib objects HOT 5
- iterating through const.LIST_OBJECTS with chart.get() throws error at uranus HOT 1
- Parans?
- Polar regions - ValueError: math domain error
- Retrieving angle value HOT 2
- Replacing swisseph with skyfield HOT 1
- How to get total angles movement between two dates of Mars
- No support for decanes HOT 1
- Make 'House._Offset' configurable. It's causing planets late in a house to fall into the next one. HOT 2
- Adding 'Lilith' to const.py
- Missing `South` Node Calculation in `chart.objects` in `sidereal` branch HOT 1
- Sir flatlib not installed with "pip install flatlib" this command. Below error is showing. please help me to install flatlib
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 flatlib.