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

Remove install of packages with pip #139

Closed
Jannik-Schilling opened this issue May 29, 2023 · 1 comment
Closed

Remove install of packages with pip #139

Jannik-Schilling opened this issue May 29, 2023 · 1 comment

Comments

@Jannik-Schilling
Copy link

[Some kind of disclaimer]: I didn´t try this myself. Someone reported an issue with this plugin on the QGIS telegram group, while trying to install the plugin on a Linux platform.

The line
subprocess.call([get_qgis_python_path(), “-m”, “pip”, “install”, “ptvsd”])
from this part led to an FileNotFoundError. As you can see here, installing depencies with pip has been discussed many times. Therefore, the requirements for publishing a plugin (see https://plugins.qgis.org/publish/), say: "If the plugin has an external dependency, this needs to be clearly stated in the About metadata field; you can include a short guide to install Python libs as needed"

@KatKatKateryna
Copy link
Contributor

Good point! We will need to work this out before removing Experimental flag.

Since the latest release all dependencies are being installed to a custom folder, therefore not affecting user's Python setup, and the reported issue seems to be using the outdated plugin version

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