简体   繁体   中英

PyCharm won't create configuration to run

For the last 2 days PyCharm won't create the configuration setting to run my Python files and I have to create them manually to run my codes.

Before that PyCharm created those configuration setting for me, and all I had to do was just press Shift + F10 .

Any ideas?

If you're using Linux or Mac, I've seen a similar (not the same) issue where the app (in this case PyCharm) was installed with root user via sudo and then the executed as normal user, that then won't have permissions to create/change the configuration files, which in PyCharm's case is the .idea folder in your project folder.

If this was previously working, maybe an update to PyCharm while you were running as root may cause the same issue (folder root becomes the owner of the folder and normal user can't change it).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM