Skip to content
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

Hello World fails #48

Open
jerblack opened this issue Jul 6, 2019 · 0 comments
Open

Hello World fails #48

jerblack opened this issue Jul 6, 2019 · 0 comments

Comments

@jerblack
Copy link

jerblack commented Jul 6, 2019

I'm trying to get started and I can't even get past the first usage example. Any ideas?

C:\Python3\python.exe C:\Users\jeremy\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\191.7141.48\helpers\pydev\pydevconsole.py --mode=client --port=4382
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['C:\\Users\\jeremy\\PycharmProjects\\publisher', 'C:/Users/jeremy/PycharmProjects/publisher'])
PyDev console: starting.
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
import reverse_geocoder as rg
coordinates = [(41.85, -87.65)]
rg.search(coordinates)
Loading formatted geocoded file...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 114, in _main
    prepare(preparation_data)
  File "C:\Python3\lib\multiprocessing\spawn.py", line 225, in prepare
    _fixup_main_from_path(data['init_main_from_path'])
  File "C:\Python3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
    run_name="__mp_main__")
  File "C:\Python3\lib\runpy.py", line 261, in run_path
    code, fname = _get_code_from_file(run_name, path_name)
  File "C:\Python3\lib\runpy.py", line 231, in _get_code_from_file
    with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\\Users\\jeremy\\PycharmProjects\\publisher\\<input>'
[OrderedDict([('lat', '42.57952'), ('lon', '1.65362'), ('name', 'El Tarter'), ('admin1', 'Canillo'), ('admin2', ''), ('cc', 'AD')])]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant