Pycharm is throwing error when using relative paths?

已回答

Pycharm is throwing IO error when used the relative path in the code. Are there any project settings to override this?

error: An error occurred trying to read the file  ./share/config/config.json

actual path:  /home/satyaadityabaratam/PycharmProjects/ Project_name / share/config/config.json

current file directory in which error came -   /home/satyaadityabaratam/PycharmProjects/ Project_name /Folder1 /storage/StorageManager.py

0

Hi,

Please attach a screenshot showing the problem and a screenshot with Project Structure.

0

请先登录再写评论。