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

importing modules that reference qgis project #3

Closed
anastassiavybornova opened this issue Oct 12, 2023 · 2 comments
Closed

importing modules that reference qgis project #3

anastassiavybornova opened this issue Oct 12, 2023 · 2 comments

Comments

@anastassiavybornova
Copy link
Owner

doesn't work currently for plot_func.py functions that reference the qgis project homepath (currently we run the the plot_func.py script from within the qgis script); same for eval

try with sys.path.append() to see if it solves this problem

check with our scripts that currently execute the modules instead of importing them, try to import them, fingers crossed

@anastassiavybornova
Copy link
Owner Author

and check for

pip install . -e

alternatives

@anastassiavybornova
Copy link
Owner Author

#5

  • it's ok to run exec() for our purposes

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

1 participant