Pycharm
2018-06-06 本文已影响8人
Dong_Chen
- Updating in the same line!
/home/dong/anaconda3/envs/tf-gpu/lib/python3.5/site-packages/keras/utils/generic_utils.py
- Updating in the same line!
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')
- 创建桌面快捷方式: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
- 创建桌面快捷方式:http://m.blog.csdn.net/article/details?id=52827888
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;
- 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