close
The Wayback Machine - https://web.archive.org/web/20210416233221/https://github.com/EvgSkv/logica/issues/27
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

FileNotFoundError: [Errno 2] No such file or directory: 'bq' #27

Open
ryptozee opened this issue Apr 14, 2021 · 1 comment
Open

FileNotFoundError: [Errno 2] No such file or directory: 'bq' #27

ryptozee opened this issue Apr 14, 2021 · 1 comment

Comments

@ryptozee
Copy link

@ryptozee ryptozee commented Apr 14, 2021

Whenever example command logica primes.l run Prime is executed, error is produced:
FileNotFoundError: [Errno 2] No such file or directory: 'bq'

It happens in docker container ubuntu:latest with python3.8.5 installed

Please see the log output:

root@d0094b59f905:/home# logica primes.l run Prime
Traceback (most recent call last):
  File "/usr/local/bin/logica", line 8, in <module>
    sys.exit(run_main())
  File "/usr/local/lib/python3.8/dist-packages/logica/logica.py", line 184, in run_main
    main(sys.argv)
  File "/usr/local/lib/python3.8/dist-packages/logica/logica.py", line 157, in main
    p = subprocess.Popen(['bq', 'query',
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'bq'
@EvgSkv
Copy link
Owner

@EvgSkv EvgSkv commented Apr 14, 2021

As Prerequisites section states we need to install Google Cloud SDK to execute on BigQuery.

I agree that on-boarding should be made easier. Keeping the issue open, as we need to try to do more things automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants