Pycharm unable to find files in project- windows to linux

Answered

Hi

I have been writing a project in pycharm on windows. The project folders have been marked as source and exists on an ntfs partition.

When I boot into linux (Mint 18), mount the ntfs drive and then run code that points to another project file- import is unable to find the relevant file in the project folder.

is this a pycharm issue? or is this a disk issue?

How can I fix this so I can use my windows and linux installations interchangeably?

0
2 comments

PyCharm should have fast access to the files (project configuration xml files, project working files and settings files). Having them on network or mounted drives is not officially supported and may cause some unexpected behaviour. In such case, consider configuring remote host access (create and edit project on local drive and upload it to remote place on demand or automatically on save) https://www.jetbrains.com/help/pycharm/2016.3/deployment-working-with-web-servers.html.

1
Avatar
Permanently deleted user

Thanks for your response Anna, I should have replied to my own thread earlier.

I have introduced a workaround to my code by importing the os module.

It's still worth knowing that there isn't any simple setting in the IDE to support this though.

0

Please sign in to leave a comment.