Am 08.09.25 um 00:01 schrieb Stephen Sacks via QGIS-User:
Here's what I did:1. Windows key + R gets me to a Run window and then CMD gets me to a command prompt.2. chdir c:\osgeo4w gets me to the OSGeo4W folder. 3. Separately, I tried each of the following four commands: c. qgis b. qgis --profile my-new-profile c. qgis-ltr --profile my-new-profile d. qgis --nopluginsIn each case the response is: 'qgis' is not recognized as an internal or external command, operable program or batch file.
Don't open a regular command prompt! You need to explicitly open the OSGeo4W shell. This shell will set the needed environment variables to be able to successfully launch QGIS. You'll find the OSGeo4W shell either in the start menu and/or on the desktop in the OSGeo4W folder.
Shall I re-install QGIS 3.40 ?Since you've mentioned that you've changed some Python scripts, yes.
Backup your profile from: > C:\Users\<your_user_name>\AppData\Roaming\QGIS\QGIS3\profiles ,uninstall everything, after uninstalling remove the C:\OSGeo4W folder, download the most recent installer and reinstall. If you need to run QGIS or other OSGeo4W software from the command line, always use the OSGeo4W shell!
Best regards -- Tobias A Schula Forestry Expert [email protected]
OpenPGP_0x3B6BA2B3E91776FA.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ QGIS-User mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
