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

Wrong syntax in search_images_bing #343

Closed
Rob192 opened this issue Nov 29, 2020 · 5 comments
Closed

Wrong syntax in search_images_bing #343

Rob192 opened this issue Nov 29, 2020 · 5 comments

Comments

@Rob192
Copy link

Rob192 commented Nov 29, 2020

Hello,
I am having trouble using the lesson 04. In the first input when I try to run the imports :

#hide
!pip install -Uqq fastbook
import fastbook
fastbook.setup_book()

I am having the following error:

File "/usr/local/lib/python3.6/dist-packages/fastbook/__init__.py", line 45
    def search_images_bing(key,earch_images_bing(key, term, min_sz=128, max_images=150):
SyntaxError: invalid syntax

Could it be a typo in the last release ?

@voddan
Copy link

voddan commented Nov 29, 2020

Same problem for me. Yesterday it worked, but I had to reinstall my VM, and now it is broken.

$ yolk -V fastbook
fastbook 0.0.15

@voddan
Copy link

voddan commented Nov 29, 2020

Workaround: modify the first cell of each notebook to be

#hide
!pip install -Uqq fastbook==0.0.14
import fastbook
fastbook.setup_book()

@jph00
Copy link
Member

jph00 commented Nov 29, 2020

Fixed now - sorry about that

@jph00 jph00 closed this as completed Nov 29, 2020
@voddan
Copy link

voddan commented Nov 29, 2020

@jph00 Which version contains the fix?

@jph00
Copy link
Member

jph00 commented Nov 29, 2020

0.0.16. It only just found it's way onto pypi.

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

3 participants