-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get 0.3.0 running #65
Comments
Same here after installing as normal user.
|
Sieht für mich nach einem Problem mit dem Deutschland namespace aus. Funktioniert |
Vielen Dank fuer die Antwort! Noch mal frisch mit standard ubuntu LTS, python 3.8: Installing deutschland... from deutschland.geo import Geo Traceback (most recent call last):
from deutschland.bundesanzeiger import Bundesanzeiger, funkioniert! Ich schaue mir spaeter den Rest an. Ich denke aber die numpy Version im lock ist das Problem. Und bei der alten Version gab es bei geo keine Probleme mit dem namespace. |
Interessant. Ein paar Dinge die ich versuchen werde: Für die Version Probleme würde ich Mal schauen ob poetry es schafft die dependencies aufzulösen. Evtl. im pyproject.toml die Version von Pandas und numpy mit dem prefix ^ versehen und sehen was passiert. Evtl. auch die Version mit * ersetzen und versuchen die dependencies aufzulösen. |
Ja, das sollte den Fehler: |
Hat das Aufloesen der dependencies funktioniert? |
Ja. Es kommt zwar noch eine deprecated warning (siehe unten), aber wenn ich dem Hinweis folge, funktioniert es. Danke!
|
@HeinrichHaller Ich habe es in einem Google Colab Versucht. Die python version in meinem Colab war Ich habe fehler gesehen, aber die installation scheint funktioniert zu haben. Ich habe
Gib diesen output:
Kannst du das Colab notebook teilen das zu problemen gefuehrt hat? Dann schaue ich mir das gerne an. Seems related to this issue. |
Vielen Dank! Hier der Link zum Notebook: |
Also bei dem import des handelsregisters hat sich ein typo eingeschlichen, das sollte |
Fantastisch, Bundesanzeiger ist auch wieder online. Bundesanzeiger funktionier top. |
Danke fuer, Deine Hilfe und sorry fuer Hijacking das issue mit dem naechsten Problem. #70 geht ja in die gleiche Richtung. |
Set protobuf to lower version to avoid installation error #65 ) Updated lock Use latest available patch per python version Update github action name for docs use fixed python version for doc creation
After fresh virtualenv install via:
pipenv install git+https://github.com/bundesAPI/deutschland.git#egg=deutschland
I get:
Python 3.9.5 (default, Nov 23 2021, 15:27:38)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Similar problem with google collab(python3.7):
!pip install deutschland
I get the folowing:
Attempting uninstall: urllib3
Found existing installation: urllib3 1.24.3
Uninstalling urllib3-1.24.3:
Successfully uninstalled urllib3-1.24.3
Attempting uninstall: requests
Found existing installation: requests 2.23.0
Uninstalling requests-2.23.0:
Successfully uninstalled requests-2.23.0
Attempting uninstall: regex
Found existing installation: regex 2022.6.2
Uninstalling regex-2022.6.2:
Successfully uninstalled regex-2022.6.2
Attempting uninstall: numpy
Found existing installation: numpy 1.21.6
Uninstalling numpy-1.21.6:
Successfully uninstalled numpy-1.21.6
Attempting uninstall: Pillow
Found existing installation: Pillow 7.1.2
Uninstalling Pillow-7.1.2:
Successfully uninstalled Pillow-7.1.2
Attempting uninstall: pandas
Found existing installation: pandas 1.3.5
Uninstalling pandas-1.3.5:
Successfully uninstalled pandas-1.3.5
Attempting uninstall: lxml
Found existing installation: lxml 4.2.6
Uninstalling lxml-4.2.6:
Successfully uninstalled lxml-4.2.6
Attempting uninstall: beautifulsoup4
Found existing installation: beautifulsoup4 4.6.3
Uninstalling beautifulsoup4-4.6.3:
Successfully uninstalled beautifulsoup4-4.6.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
xarray-einstats 0.2.2 requires numpy>=1.21, but you have numpy 1.19.0 which is incompatible.
tensorflow 2.8.2+zzzcolab20220527125636 requires numpy>=1.20, but you have numpy 1.19.0 which is incompatible.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.28.1 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
albumentations 0.1.12 requires imgaug<0.2.7,>=0.2.5, but you have imgaug 0.2.9 which is incompatible.
Successfully installed Pillow-8.4.0 beautifulsoup4-4.11.1 boto3-1.24.34 botocore-1.27.34 dateparser-1.1.1 de-autobahn-1.0.4 de-bundesrat-0.1.0 de-bundestag-0.1.0 de-dwd-1.0.1 de-interpol-0.1.0 de-jobsuche-0.1.0 de-ladestationen-1.0.5 de-mudab-0.1.0 de-nina-1.0.2 de-polizei-brandenburg-0.1.0 de-risikogebiete-0.1.0 de-smard-0.1.0 de-strahlenschutz-1.0.0 de-travelwarning-0.1.0 de-zoll-0.1.0 deutschland-0.3.0 gql-2.0.0 graphql-core-2.3.2 jmespath-1.0.1 lxml-4.9.1 mapbox-vector-tile-1.2.1 numpy-1.19.0 onnxruntime-1.10.0 pandas-1.1.5 pyclipper-1.3.0.post3 pypresseportal-0.1 regex-2022.3.2 requests-2.28.1 rx-1.6.1 s3transfer-0.6.0 slugify-0.0.1 urllib3-1.26.10
WARNING: The following packages were previously imported in this runtime:
[PIL,numpy]
You must restart the runtime in order to use newly installed versions.
import deutschland as de
geo = de.Geo()
AttributeError Traceback (most recent call last)
in ()
1 import deutschland as de
----> 2 geo = de.Geo()
AttributeError: module 'deutschland' has no attribute 'Geo'
Running an older version:
deutschland = "==0.1.9"
I don't get the import errors in Geo() but an empy result:
Python 3.9.13 (main, May 23 2022, 22:01:06)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
With the Bundesanzeiger I get the import error again:
Could you point to what I am doing wrong? Best regards
The text was updated successfully, but these errors were encountered: