pip install --user --upgrade tensorflow-gpu

加参数–user