tobegit3hub / simple_tensorflow_serving

Generic and easy-to-use serving service for machine learning models

Home Page:https://stfs.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"...distribution was not found..."

windowshopr opened this issue · comments

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!