-
Notifications
You must be signed in to change notification settings - Fork 714
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
error with 04_streaming/simulate/df06.py (similar to #56) #58
Comments
OK I looked at the Quiklabs doc, the code here is fine, but the instructions should be updated for this module: virtualenv data-sci-env -p python3.5 |
Hi @pagestarr66 . I have the same problem with you. I solved that problem by the way change 'timezonefinder' in the "setup.py" to "timezonefinder <= 3.0.0". |
…-df06-py#58 Fix error when running 04_streaming/simulate/df06.py on own GCP platform account #58
Hi I am getting the same error as reported in #56 for df05.py, but am running on my own GCP platform account for df06.py. Error snippet is below.
File "/usr/local/lib/python2.7/dist-packages/apache_beam/transforms/core.py", line 1161, in wrapper = lambda x: [fn(x)] File "df06.py", line 134, in | 'airports:tz' >> beam.Map(lambda fields: (fields[0], addtimezone(fields[21], fields[26]))) File "df06.py", line 24, in addtimezone import timezonefinder File "/usr/local/lib/python2.7/dist-packages/timezonefinder/init.py", line 2, in from .timezonefinder import TimezoneFinder File "/usr/local/lib/python2.7/dist-packages/timezonefinder/timezonefinder.py", line 300 def closest_timezone_at(self, *, lat, lng, delta_degree=1, exact_computation=False, return_distances=False, ^ SyntaxError: invalid syntax [while running 'airports:tz']
The text was updated successfully, but these errors were encountered: