简体   繁体   中英

Error in installation of 'tensorflow' library in pycharm version 2020.1

I have python version 3.8 with pip 20.1.1 version i am installing tensorflow library for python to work in pycharm 2020.1 But i am getting this error after it is installed fully:

安装库时出错的图像

Please help me in resolving my error I am using this command to install:

Python -m pip install tensorflow

Error is:

ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\\Users\\Nabia\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python38\\site-packages\\tensorflow_estimator\\python\\estimator\\canned\\linear_optimizer\\python\\utils\\__pycache__\\sharded_mutable_dense_hashtable.cpython-38.pyc'

check this tread here . It's a common problem for windows os with long file paths, disable the MAX_PATH limitation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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