![]() ![]() ![]() ![]() unlink ( src ) PermissionError : Permission denied : '/usr/lib/python3/dist-packages/_pycache_/' move ( old, new ) File "/usr/lib/python3.5/shutil.py", line 553, in move Renames ( path, new_path ) File "/usr/local/lib/python3.5/dist-packages/pip/utils/_init_.py", line 267, in renames remove ( auto_confirm ) File "/usr/local/lib/python3.5/dist-packages/pip/req/req_uninstall.py", line 115, in remove uninstall ( auto_confirm = True ) File "/usr/local/lib/python3.5/dist-packages/pip/req/req_install.py", line 754, in uninstall prefix_path, File "/usr/local/lib/python3.5/dist-packages/pip/req/req_set.py", line 778, in install run ( options, args ) File "/usr/local/lib/python3.5/dist-packages/pip/commands/install.py", line 342, in run rename ( src, real_dst ) PermissionError : Permission denied : '/usr/lib/python3/dist-packages/_pycache_/' -> '/tmp/pip-45miiuxw-uninstall/usr/lib/python3/dist-packages/_pycache_/' During handling of the above exception, another exception occurred : Traceback ( most recent call last ): File "/usr/local/lib/python3.5/dist-packages/pip/basecommand.py", line 215, in main 3 : Exception : Traceback ( most recent call last ): File "/usr/lib/python3.5/shutil.py", line 538, in move whl Installing collected packages : pyparsing, pydot Found existing installation : pyparsing 2.0. 4 ( from pydot ) Using cached pyparsing - 2.2. jadi bagaimana cara menginstal pydot? - learning - virtual - machine :~ $ pip install pydot Collecting pydot Collecting pyparsing >= 2.1. Saya noob di ubuntu dan saya tidak mengerti apa yang harus saya lakukan. Tapi saya tahu mendapatkan kesalahan ini. Saya googled sedikit kemudian menemukan bahwa saya dapat menginstal pydot dengan kode tersebut pip install pydot. You must install pydot and graphviz for ` pydotprint ` to work. You must install pydot' ImportError : Failed to import pydot. File "/usr/local/lib/python3.5/dist-packages/keras/utils/vis_utils.py", line 17, in _check_pydot raise ImportError ( 'Failed to import pydot. Saya menggunakan python 3.5 dan ubuntu 16.04 LTS 64 bit. ![]() Saya menjalankan kode yang membutuhkan pydot dan graphviz. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |