try pyasn1-modules as well
This commit is contained in:
parent
20060a1177
commit
f635c5110c
2
electrum
2
electrum
@ -95,7 +95,7 @@ def print_help(parser):
|
|||||||
parser.print_help()
|
parser.print_help()
|
||||||
print_msg("Type 'electrum help <command>' to see the help for a specific command")
|
print_msg("Type 'electrum help <command>' to see the help for a specific command")
|
||||||
print_msg("Type 'electrum --help' to see the list of options")
|
print_msg("Type 'electrum --help' to see the list of options")
|
||||||
run_command(known_commands['help'])
|
#run_command(known_commands['help'])
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,11 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
sys.exit("Error: pyasn1 does not seem to be installed. Try 'sudo pip install pyasn1'")
|
sys.exit("Error: pyasn1 does not seem to be installed. Try 'sudo pip install pyasn1'")
|
||||||
|
|
||||||
|
try:
|
||||||
|
import pyasn1_modules
|
||||||
|
except ImportError:
|
||||||
|
sys.exit("Error: pyasn1 does not seem to be installed. Try 'sudo pip install pyasn1-modules'")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import tlslite
|
import tlslite
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user