Skip to content

Commit 535ddb0

Browse files
author
Yosif Yosifov
committed
Improve the info for python 'six' package checks in the doctor
1 parent 8964535 commit 535ddb0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/services/doctor-service.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,13 @@ class DoctorService implements IDoctorService {
223223
let sixPackagesFoundCount = parseInt(queryForSixPackage);
224224
if (sixPackagesFoundCount === 0) {
225225
hasInvalidPackages = true;
226-
this.$logger.error("Python 'six' package not found. Please install it by running 'pip install six' from the terminal.");
226+
this.$logger.warn("The Python 'six' package not found.");
227+
this.$logger.out("This package is required by the Debugger library (LLDB) for iOS. You can install it by running 'pip install six' from the terminal.");
227228
}
228229
} catch (error) {
229-
this.$logger.error("Cannot retrieve python installed packages. Please, make sure you have both 'python' and 'pip' installed.");
230+
this.$logger.warn("Couldn't retrieve installed python packages.");
231+
this.$logger.out("We cannot verify your python installation is setup correctly. Please, make sure you have both 'python' and 'pip' installed.");
232+
this.$logger.trace(`Error while validating Python packages. Error is: ${error.message}`);
230233
}
231234
}
232235
return hasInvalidPackages;

0 commit comments

Comments
 (0)