I have installed pyodbc inside my virtual environment(venv). However when I try to import this package it throws ModuleNotFoundError: No module named 'pyodbc'.
Below is the screenshot of what happen when I run pip install pyodbc
also, I can see pyodbc is installed on venv with the output of pip freeze. Please help me resolve this issue so that I can use pyodbc module in my virtual environment.
Related
I keep getting the error ModuleNotFoundError: No module named 'featuretools' in Jupyter Notebook. However, it looks like it has been successfully installed when I install it in the terminal. I have tried installing it with pip install featuretools==0.27.0, pip -m install featuretools, and conda install -c conda-forge featuretools==0.27.0. I would appreciate suggestions on how to proceed.
It sounds like the featuretools library and the jupyter notebook library are installed in different python environments. Perhaps check out this question:
Unable to import a module from Python notebook in Jupyter
Ensuring the jupyter notebook library is installed in your expected environment may resolve this
I am working on a jupyter notebook, and I need to install a package "xgboost" that was not in the conda environment that the notebook was running.
After installed, I tried to do
import xgboost
and got the error
ModuleNotFoundError: No module named 'xgboost'
You can see that the package was installed already while still got this error.
My python verion is python3.8 and I am using macbook. Any help would be appreciated!
Here is an example of what errors I get
ModuleNotFoundError: No module named 'websocket'
ModuleNotFoundError: No module named 'talib'
These packages have been installed using Homebrew for talib and pip install Websocket-client & pip install websocket.
Thanks.
i run pip install openpyxl in cmd, and it installs successfully then i go in IDLE Shell and run import openpyxl
i get the error
ModuleNotFoundError: No module named 'openpyxl'
i don't know what's the problem here to recheck it i install another module pip install requests now when i call it in IDLE import requests i get the same error again
This error might be due to the reason that i have multiple virtual envs installed on my machine which i basically installed after following some udemy courses but i have no idea how those env work, the envs are installed on anaconda.
My Python Version is 3.9.1 and i am on windows 10
I am fairly new to python and I am trying to write a script that would read and write to a mysql table. I have installed mysql-connector on python3 and I got the script working yesterday. It successfully read and wrote data to mysql. When I ran it today, this error came up. ModuleNotFoundError: No module named 'mysql'
I already checked the following things:
mysql-connector is installed
I don't have any user-defined module named mysql
not running on virtualenv
Does someone have any idea on what is happening?
check if mysql-connector is installed: python -m pip freeze. It is probably not listed. You can install it with:
pip install mysql-connector
or
python -m pip install mysql-connector