Пыталась скачать через pip/pip3, также скачивала unixODBC и iODBC
(venv) [dir]# pip3 --proxy install pyodbc
Requirement already satisfied: pyodbc in ./lib64/python3.6/site-packages (4.0.30)
(venv) [dir]# flask run
Но при запуске flask пишет, что такого модуля нет.
* Serving Flask app "run.py"
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Usage: flask run [OPTIONS]
Error: While importing "run", an ImportError was raised:
Traceback (most recent call last):
File "/var/www/html/kpi_bases/lib/python3.6/site-packages/flask/cli.py", line 240, in locate_app
__import__(module_name)
File "/var/www/путь/run.py", line 3, in <module>
from app import app
File "/var/www/путь/app.py", line 10, in <module>
import pyodbc
ModuleNotFoundError: No module named 'pyodbc'
В чем может быть ошибка?