Closed prolaxu closed 3 years ago
Can you prove that you have properly installed this package? (Run a suitable command and paste it's output here.)
pip install jyotisha -U Requirement already up-to-date: jyotisha in /usr/local/lib/python3.7/dist-packages (0.0.9) Requirement already satisfied, skipping upgrade: indic-transliteration in /usr/local/lib/python3.7/dist-packages (from jyotisha) (2.1.1) Requirement already satisfied, skipping upgrade: scipy in /usr/local/lib/python3.7/dist-packages (from jyotisha) (1.4.1) Requirement already satisfied, skipping upgrade: pyswisseph in /usr/local/lib/python3.7/dist-packages (from jyotisha) (2.8.0.post1) Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python3.7/dist-packages (from jyotisha) (2018.9) Requirement already satisfied, skipping upgrade: pandas in /usr/local/lib/python3.7/dist-packages (from jyotisha) (1.1.5) Requirement already satisfied, skipping upgrade: sanskrit-data in /usr/local/lib/python3.7/dist-packages (from jyotisha) (0.8.3) Requirement already satisfied, skipping upgrade: icalendar in /usr/local/lib/python3.7/dist-packages (from jyotisha) (4.0.7) Requirement already satisfied, skipping upgrade: regex==2020.10.11 in /usr/local/lib/python3.7/dist-packages (from indic-transliteration->jyotisha) (2020.10.11) Requirement already satisfied, skipping upgrade: typer==0.3.2 in /usr/local/lib/python3.7/dist-packages (from indic-transliteration->jyotisha) (0.3.2) Requirement already satisfied, skipping upgrade: selenium==3.141.0 in /usr/local/lib/python3.7/dist-packages (from indic-transliteration->jyotisha) (3.141.0) Requirement already satisfied, skipping upgrade: backports.functools-lru-cache==1.6.4 in /usr/local/lib/python3.7/dist-packages (from indic-transliteration->jyotisha) (1.6.4) Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in /usr/local/lib/python3.7/dist-packages (from scipy->jyotisha) (1.19.5) Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.3 in /usr/local/lib/python3.7/dist-packages (from pandas->jyotisha) (2.8.1) Requirement already satisfied, skipping upgrade: toml==0.10.1 in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (0.10.1) Requirement already satisfied, skipping upgrade: bcrypt==3.2.0 in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (3.2.0) Requirement already satisfied, skipping upgrade: six in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (1.15.0) Requirement already satisfied, skipping upgrade: qtoml in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (0.3.0) Requirement already satisfied, skipping upgrade: jsonpickle==1.4.1 in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (1.4.1) Requirement already satisfied, skipping upgrade: yurl==1.0.0 in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (1.0.0) Requirement already satisfied, skipping upgrade: jsonschema==3.2.0 in /usr/local/lib/python3.7/dist-packages (from sanskrit-data->jyotisha) (3.2.0) Requirement already satisfied, skipping upgrade: click<7.2.0,>=7.1.1 in /usr/local/lib/python3.7/dist-packages (from typer==0.3.2->indic-transliteration->jyotisha) (7.1.2) Requirement already satisfied, skipping upgrade: urllib3 in /usr/local/lib/python3.7/dist-packages (from selenium==3.141.0->indic-transliteration->jyotisha) (1.24.3) Requirement already satisfied, skipping upgrade: cffi>=1.1 in /usr/local/lib/python3.7/dist-packages (from bcrypt==3.2.0->sanskrit-data->jyotisha) (1.14.5) Collecting attrs<20.0.0,>=19.3.0 Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl Requirement already satisfied, skipping upgrade: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from jsonpickle==1.4.1->sanskrit-data->jyotisha) (4.0.1) Requirement already satisfied, skipping upgrade: pyrsistent>=0.14.0 in /usr/local/lib/python3.7/dist-packages (from jsonschema==3.2.0->sanskrit-data->jyotisha) (0.17.3) Requirement already satisfied, skipping upgrade: setuptools in /usr/local/lib/python3.7/dist-packages (from jsonschema==3.2.0->sanskrit-data->jyotisha) (57.0.0) Requirement already satisfied, skipping upgrade: pycparser in /usr/local/lib/python3.7/dist-packages (from cffi>=1.1->bcrypt==3.2.0->sanskrit-data->jyotisha) (2.20) Requirement already satisfied, skipping upgrade: typing-extensions>=3.6.4; python_version < "3.8" in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->jsonpickle==1.4.1->sanskrit-data->jyotisha) (3.7.4.3) Requirement already satisfied, skipping upgrade: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->jsonpickle==1.4.1->sanskrit-data->jyotisha) (3.4.1) ERROR: datascience 0.10.6 has requirement folium==0.2.1, but you'll have folium 0.8.3 which is incompatible. Installing collected packages: attrs Found existing installation: attrs 21.2.0 Uninstalling attrs-21.2.0: Successfully uninstalled attrs-21.2.0 Successfully installed attrs-19.3.0
Now, can you show the output of python -c "from jyotisha.panchaanga.spatio_temporal import City, annual, periodical"
?
python -c "from jyotisha.panchaanga.spatio_temporal import City, annual, periodical"
Traceback (most recent call last):
File "
python --version
?
python --version Python 3.7.10
No idea then. If you figure out what the problem was, let me know. Till then, I will close this thread as a non-reproducible bug.
from jyotisha.panchaanga.spatio_temporal import City, annual, periodical from jyotisha.panchaanga.temporal import ComputationSystem from jyotisha.panchaanga.temporal.time import Date city = City('Chennai', "13:05:24", "80:16:12", "Asia/Calcutta") panchaanga = annual.get_panchaanga_for_civil_year(city=city, year=2021, computation_system=ComputationSystem.TEST, allow_precomputed=False) print(panchaange)
ModuleNotFoundError Traceback (most recent call last)