> Source: [sk170306](https://support.checkpoint.com/results/sk/sk170306)

# sk170306 - basic_server.py execution fails on installation of SmartConsole Extension Tailored Safe Offline Version

| Property | Value |
|----------|-------|
| Solution ID | sk170306 |
| Date Created | 2020-11-02 |
| Last Modified | 2021-04-15 |
| Technical Level | Advanced |
| Products | SmartConsole |
| Versions | R82.10, R82.20, R82, R81.20 |

## 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](https://www.python.org/downloads "Python") additional modules are required to be installed before running **basic_server.py** from Smart_Console_Extension_Tailored_Safe_Offline_Version.zip.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
