5 Replies Latest reply on May 16, 2018 10:19 PM by Intel Corporation

    pip error after upgrading, and memory error




      I tried to train a keras model, yet received the error "swig/python detected a memory leak of type 'int64_t *', no destructor found."

      After some research, I found I needed to install/upgrade the tensorflow-gpu package, yet received a memory error.

      Next, I updated pip to version 10.0.1, yet now whenever I attempt to run anything with pip (e.g. pip install tensorflow-gpu --user),

      I receive the error:


      [u13690@c009 ~]$ pip install tensorflow-gpu --user

      Traceback (most recent call last):

        File "/glob/intel-python/python3/bin/pip", line 6, in <module>


      AttributeError: module 'pip' has no attribute 'main'


      I'm unable to downgrade pip (the command pip install pip=9.0.1 throws an error as well).


      Would anyone have any advice on how to proceed?


      Thank you, I would very much appreciate any help.