Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

ModuleNotFoundError: No module named _bing #16

Open
cdrakke opened this issue Mar 24, 2020 · 10 comments
Open

ModuleNotFoundError: No module named _bing #16

cdrakke opened this issue Mar 24, 2020 · 10 comments

Comments

@cdrakke
Copy link

cdrakke commented Mar 24, 2020

C:\Users\Calvi\Desktop>image_search google cat --limit 10 --json
Traceback (most recent call last):
File "C:\Users\Calvi\AppData\Local\Programs\Python\Python38-32\Scripts\image_search-script.py", line 11, in
load_entry_point('image-search==0.0.1', 'console_scripts', 'image_search')()
File "c:\users\calvi\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources_init_.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\users\calvi\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources_init_.py", line 2855, in load_entry_point
return ep.load()
File "c:\users\calvi\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources_init_.py", line 2446, in load
return self.resolve()
File "c:\users\calvi\appdata\local\programs\python\python38-32\lib\site-packages\pkg_resources_init_.py", line 2452, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "c:\users\calvi\appdata\local\programs\python\python38-32\lib\site-packages\image_search\console.py", line 5, in
import _bing
ModuleNotFoundError: No module named '_bing'

@cdrakke cdrakke changed the title ModuleNotFoundError: No module named ModuleNotFoundError: No module named _bing Mar 24, 2020
@rushilsrivastava
Copy link
Owner

Thanks for sharing, let me take a look at this. I haven't touched this library in a while.

@rushilsrivastava
Copy link
Owner

Hi @Calvindrakkez020! I haven't been able to reproduce this error from my end. Can you try reinstalling the library and letting me know?

@GitOffMyLAN
Copy link

I'm getting the same error on a fresh install. Reinstalling does not fix it.

Traceback (most recent call last):
File "/usr/local/bin/image_search", line 11, in
load_entry_point('image-search==0.0.1', 'console_scripts', 'image_search')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2793, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2411, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2417, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.7/dist-packages/image_search/console.py", line 5, in
import _bing
ModuleNotFoundError: No module named '_bing'

@rushilsrivastava
Copy link
Owner

Thanks for the report @GitOffMyLAN, let me investigate this further. I haven't touched this library in over 2-years and I am opting to just completely rewrite it.

@kartikye
Copy link

I have this error too on windows.

@buyi1128
Copy link

buyi1128 commented Aug 7, 2020

ModuleNotFoundError: No module named '_bing', same error happens to me. how to solve it?

@buyi1128
Copy link

buyi1128 commented Aug 7, 2020

This error happened using 'pip install image_search'.
using 'python setup.py install' will success.

@geriskenderi
Copy link

I also get the same error on windows when installing with pip

@onlyrohits
Copy link

Use pip install git+https://github.com/rushilsrivastava/image_search.git

@saitodisse
Copy link

Use pip install git+https://github.com/rushilsrivastava/image_search.git

Thanks @onlyrohits, this worked fine for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants