Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues seen when trying to set up PyCharm debugging on Windows #719

Open
greshje opened this issue Nov 29, 2021 · 1 comment
Open

Issues seen when trying to set up PyCharm debugging on Windows #719

greshje opened this issue Nov 29, 2021 · 1 comment

Comments

@greshje
Copy link

greshje commented Nov 29, 2021

I needed to make several modifications to the setting up PyCharm debugging instructions posted at https://anonlink-entity-service.readthedocs.io/en/stable/debugging.html to get it to work in my environment. I've worked most of them out and will post here after confirming and documenting. However, I have not been able to resolve one issue yet. Basically, I have not been able to configure the virtual environment for the anonlink-entity-service without moving the entityservice folder from <project_root>/backend/entityservice to <project_root>/entityservice.

More details are here:
https://stackoverflow.com/questions/70147842/how-to-fix-problem-with-working-directory-import-root-with-docker-virtual-enviro

Current environment is:
Python version is 3.9.7
Docker version is Docker Desktop 4-0-1
PyCharm version is 2021.2.3 (Professional Edition)
I'm running on Windows.

@NACHC-CAD
Copy link

The import/path problem can be fixed in PyCharm by right clicking on the folder and then selecting "Mark Directory As --> Sources Root"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants