Support Center > Search Results > SecureKnowledge Details
basic_server.py execution fails on installation of SmartConsole Extension Tailored Safe Offline Version Technical Level
Symptoms
  • Execution of basic_server.py fails:
    "basic_server.py", line 1, in <module> from flask import Flask, request, send_from_directory ModuleNotFoundError: No module named 'flask'"

  • basic_server.py fails: "File "C:\Users\<user>\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\serving.py", line 506, in generate_adhoc_ssl_pair from cryptography import x509 ModuleNotFoundError: No module named 'cryptography'"

Cause

After the basic install of Python 3.9.0 from www.python.org/downloads additional modules are required to be installed before running basic_server.py from Smart_Console_Extension_Tailored_Safe_Offline_Version.zip.


Solution
Note: To view this solution you need to Sign In .