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

"...distribution was not found..." #52

Open
windowshopr opened this issue May 23, 2019 · 0 comments
Open

"...distribution was not found..." #52

windowshopr opened this issue May 23, 2019 · 0 comments

Comments

@windowshopr
Copy link

Having another issue. I'm really trying to get a project up and running:

https://github.com/llSourcell/Make_Money_with_Tensorflow_2.0

...and am having nothing but problems so far, and maybe it's just because I'm not understanding, but I hope you can help again.

I've done a pip uninstall simple_tensorflow_serving to start fresh. I installed Bazel and re-built simple_tensorflow_serving from source on my Windows 10 machine. I try to run the suggested command again and now I receive this traceback:

C:\Users\windowshopr\Desktop\Python_Scripts\simple_tensorflow_serving-master>simple_tensorflow_serving --model_base_path="./models/tensorflow_template_application_model"

Traceback (most recent call last):
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\Scripts\simple_tensorflow_serving-script.py", line 6, in <module>
    from pkg_resources import load_entry_point
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 3126, in <module>
    @_call_aside
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 581, in _build_master
    ws.require(__requires__)
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 898, in require
    needed = self.resolve(parse_requirements(requirements))
  File "C:\Users\windowshopr\AppData\Local\Programs\Python\Python36\lib\site-packages\pkg_resources\__init__.py", line 784, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'simple-tensorflow-serving' distribution was not found and is required by the application

Any ideas on this one? Thanks!

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