rish-16 / gpt2client

✍🏻 gpt2-client: Easy-to-use TensorFlow Wrapper for GPT-2 117M, 345M, 774M, and 1.5B Transformer Models 🤖 📝
MIT License
372 stars 74 forks source link

Cannot install due to wrapt errors #3

Closed NirantK closed 5 years ago

NirantK commented 5 years ago

Here is the partial stacktrace for your reference:

Installing collected packages: astor, keras-preprocessing, keras-applications, absl-py, setuptools, tensorboard, tensorflow-estimator, termcolor, gast, google-pasta, wrapt, tensorflow, toposort, gpt-2-simple, gpt2-client
  Found existing installation: setuptools 40.8.0
    Uninstalling setuptools-40.8.0:
      Successfully uninstalled setuptools-40.8.0
  Found existing installation: wrapt 1.10.11
Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

I have reproduced this issue with Py3.7 Anaconda on both Mac and Linux (Debian 9.9)

rish-16 commented 5 years ago

Thanks for the heads-up. I'll see what I can do about it. This bug never came up during unit testing

itszac commented 5 years ago

@NirantK see this tensorflow issue. It has several suggestions for fixing the issue.

NirantK commented 5 years ago

That worked. Thanks.