/*****************************************************************************
* pycharm Working directory error
* 说明:
* 今天在使用pycharm进行autoGenSystem工具软件时总是得不到正确的目录,最后
* 通过获取当前路径,发现当前路径:是"E:\Python\HardwareManager";不是"E:\
* Python\AutoGenSystem";于是找到问题所在,需要调整工作目录。
*
* 2016-1-1 深圳 南山平山村 曾剑锋
****************************************************************************/ 一、获取当前目录路径来确定问题:
print os.getcwd() 二、修改如下工作目录:
相关文章
- 11-20git提交报错:The file will have its original line endings in your working directory
- 11-20(诊断)处理错误fatal error: Python.h: No such file or directory
- 11-20Pycharm报错:Error:failed to find libmagic. Check your installation
- 11-20解决 odoo.py: error: option --addons-path: The addons-path 'local-addons/' does not seem to a be a valid Addons Directory!
- 11-20<command-line>:0:12: fatal error: curses.h: No such file or directory 报错解决方法
- 11-20Error:Execution failed for task ':app:clean'. > Unable to delete directory: ***/app/build/generated/***
- 11-20fatal error: openssl/sha.h: No such file or directory 解决方案
- 11-20fatal error: dynlink_nvcuvid.h: No such file or directory
- 11-20【Git远程协作】Pull Request成功,并解决报错error: cannot spawn sh: No such file or directory
- 11-20Git报错 error: cannot spawn more: No such file or directory