Traceback (most recent call last):
File "<ipython-input-2-b085e7ba8941>", line 1, in <module>
from utils import log_progress
ModuleNotFoundError: No module named 'utils'
What is the pip command to install this module?
This is how you can install any python packages :
pip install <package_name>
for your case it would be
pip install utils
Related
I'm trying to install Odoo 15.0 on mac (python 3.7) when i come to run the command:
pip3 install -r requirements.txt
I got this error message:
Traceback (most recent call last):
File "/usr/local/opt/python#3.7/bin/pip3", line 10, in <module>
from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'
Try installing this lib manually, using :
pip install importlib-metadata
or
pip3 install importlib-metadata
I'm trying to install pyperclip on Python 3.8.6 on Windows 10, and after typing
pip3 install pyperclip
in cmd it tells me that pyperclip has been successfully installed, but when I then try import pyperclip on they Python shell I get the following error message:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pyperclip
ModuleNotFoundError: No module named 'pyperclip'
I've tried uninstalling and reinstalling pyperclip using pip, and also installing an older version of the package (1.8.0) but the error persists.
Thanks for your help!
I have installed Opencv on AWS ec2-instance using pip3 install opencv-python but while importing cv2 it throws an error
import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib64/python3.7/site-packages/cv2/__init__.py", line 5, in
<module>
from .cv2 import *
ImportError: libSM.so.6: cannot open shared object file: No such file or
directory`
I have also tried to download some modules using below command to solve the issue but it also not working
sudo yum install -y libsm6 libxext6 libxrender-dev`
sudo yum install libXtst
I am trying to install keras using python setup.py install but I am getting an error like this:
Traceback (most recent call last):
File setup.py, line 1, in
from setuptools import setup
ImportError: No module named 'setuptools'
What should I do?
Install setuptools for your system / distro / python version.
https://packaging.python.org/tutorials/installing-packages/#install-pip-setuptools-and-wheel
i am trying to install through windows power shell and i get this error
C:\Users-\desktop\dist\twitter-1.10.0> python setup.py install
Traceback (most recent call last):
File "setup.py", line 1, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
PS C:\Users-\desktop\dist\twitter-1.10.0>
any help is appreciated.
As the Traceback says, you have no setuptools module installed. You can download it here and install it invoking python ez_setup.py from the directory where you have downloaded the file.