简体   繁体   English

如何使用和安装错误来解决这个 TensorFlow?

[英]How can I solve this Tensorflow using and installing Error?

I had used tensorflow before this time.Now,tensorflow is installed but it cannot be imported.Moreover,it cannot be installed again.What happened in tensorflow?I searched many solutions for this error but I cannot find.When tensorflow is installed with pip,this error appears.我之前使用过tensorflow。现在,tensorflow已安装但无法导入。此外,它无法再次安装。tensorflow发生了什么?我搜索了很多解决方案来解决这个错误,但我找不到。当用pip安装tensorflow时,出现此错误。

Unable to create process using 'C:\Users\hp\Anaconda3\envs\tf-gpu\python.exe C:\Users\hp\Anaconda3\envs\tf-gpu\Scripts\pip-script.py install tensorfow'

And when it is installed with anaconda,it can be installed,but cannot be imported,"ModuleNotFoundError: No module named 'tensorflow'".How can I solve this trouble to reuse tensorflow without reinstalling anaconda ,please help me.Thanks a lot in advance!!而当它与anaconda一起安装时,它可以安装,但无法导入,“ModuleNotFoundError: No module named 'tensorflow'”。如何解决这个麻烦重用tensorflow而不重新安装anaconda,请帮助我。非常感谢进步!!

You can uninstall and reinstall the pip:您可以卸载并重新安装 pip:

python -m pip uninstall pip

python -m pip install --upgrade pip

or update pip:或更新点子:

python -m pip install -upgrade pip

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM