Pycharm

    1. Updating in the same line!
      /home/dong/anaconda3/envs/tf-gpu/lib/python3.5/site-packages/keras/utils/generic_utils.py
            prev_total_width = self.total_width
            if self._dynamic_display:
                # sys.stdout.write('\b' * prev_total_width)
                sys.stdout.write('\r')
            else:
                sys.stdout.write('\r')
    1. 创建桌面快捷方式:http://m.blog.csdn.net/article/details?id=52827888
      在Ubuntu下,每次都要找到 pycharm.sh所在的文件夹,执行./pycharm.sh,非常麻烦。最好能创建一个快捷方式. Ubuntu的快捷方式都放在/usr/share/applications,首先在该目录下创建一Pycharm.desktop
      You may need full permission to create a folder.
      get the permission of a folder
      sudo chmod a+rwx /szDirectoryName
      touch /path/to/file for an empty file
      $ sudo gedit /usr/share/applications/Pycharm.desktop

Adding the following code

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec="/usr/local/pycharm-community-2017.1/bin/pycharm.sh" # Path to your file
Icon=/usr/local/pycharm-community-2017.1/bin/pycharm.png
Terminal=false
Type=Application
Categories=Application;
    1. pycharm ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
      https://github.com/tensorflow/tensorflow/issues/7522
      method: sudo chmod a+r /usr/lib/x86_64-linux-gnu/libcudnn*(work)
      method2: sudo ldconfig /usr/local/cuda/lib64
      method3: https://github.com/tensorflow/tensorflow/issues/9530 (work)

你可能感兴趣的:(Pycharm)