Skip to content

Commit 4c9ab61

Browse files
committed
dpcs: rm some instances of "sudo pip" recommendations
we should not recommend users to invoke pip with sudo
1 parent 95b8af3 commit 4c9ab61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/deterministic-build/find_restricted_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
try:
55
import requests
66
except ImportError as e:
7-
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
7+
sys.exit(f"Error: {str(e)}. Try 'python3 -m pip install <module-name>'")
88

99
def is_dependency_edge_blacklisted(*, parent_pkg: str, dep: str) -> bool:
1010
"""Sometimes a package declares a hard dependency

electrum/gui/qml/qeapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def doNotify(self, wallet_name, message):
171171
)
172172
notification.notify('Electrum', message, app_icon=icon, app_name='Electrum')
173173
except ImportError:
174-
self.logger.warning('Notification: needs plyer; `sudo python3 -m pip install plyer`')
174+
self.logger.warning('Notification: needs plyer; `python3 -m pip install plyer`')
175175
except Exception as e:
176176
self.logger.error(repr(e))
177177

0 commit comments

Comments
 (0)