(base) C:\Users\联想>Python Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. Failed calling sys.__interactivehook__ Traceback (most recent call last): ? File "C:\ProgramData\Anaconda3\lib\site.py", line 440, in register_readline ? ? readline.read_history_file(history) ? File "C:\ProgramData\Anaconda3\lib\site-packages\pyreadline\rlmain.py", line 165, in read_history_file ? ? self.mode._history.read_history_file(filename) ? File "C:\ProgramData\Anaconda3\lib\site-packages\pyreadline\lineeditor\history.py", line 82, in read_history_file ? ? for line in open(filename, 'r'): UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 89: illegal multibyte sequence >>> import tensorflow as tf 2021-08-20 22:00:25.545138: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2021-08-20 22:00:25.545250: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. >>> tf.__version__ '2.6.0' >>> tf.__path__ ['C:\\Users\\联想\\AppData\\Roaming\\Python\\Python38\\site-packages\\keras\\api\\_v2', 'C:\\Users\\联想\\AppData\\Roaming\\Python\\Python38\\site-packages\\tensorflow_estimator\\python\\estimator\\api\\_v2', 'C:\\Users\\联想\\AppData\\Roaming\\Python\\Python38\\site-packages\\tensorboard\\summary\\_tf', 'C:\\Users\\联想\\AppData\\Roaming\\Python\\Python38\\site-packages\\tensorflow', 'C:\\Users\\联想\\AppData\\Roaming\\Python\\Python38\\site-packages\\tensorflow\\_api\\v2'] >>>
|