ModuleNotFoundError: No module named 'Qualtrics' - python-3.x

I am trying to follow the example available in
https://github.com/dwallach1/Qualtrics_API
Once I do the following
!pip install Qualtrics
It gives me the following
ERROR: Could not find a version that satisfies the requirement Qualtrics (from versions: none)
ERROR: No matching distribution found for Qualtrics
Then I follow the webpage provided
import Qualtrics
It gives me
ModuleNotFoundError: No module named 'Qualtrics'
Have anyone tried it before?

You should be importing this file
https://github.com/dwallach1/Qualtrics_API/blob/master/src/qualtrics.py
and you should not be installing it from pip
If you want to use a pip package, do have the python package below, check it out!
pip install py-qualtrics-api
https://pypi.org/project/py-qualtrics-api/

Related

ERROR: Could not find a version that satisfies the requirement blpapi

I'm trying to install blpapi (python 3.7.3) using the steps described in the Bloomberg API library (https://www.bloomberg.com/professional/support/api-library/)
I installed the C++ API (also from the Bloom API library) and copy pasted blpapi3_32.dll and blpapi3_64.dll to their specific folder (C:\blp\DAPI). Basically I just followed the steps described in this page : https://medium.com/#johann_78792/getting-started-with-bloombergs-python-desktop-api-5fd083b4193a
when I excute the command :
python -m pip install --index-url=https://bcms.bloomberg.com/pip/simple/ blpapi
I get the error below:
ERROR : Could not find a version that satisfies the requirement blpapi
ERROR : No matching distribution found for blpapi
If I'm right, the python version shouldn't be the problem and I upgraded the PIP to the latest version,
I also tried installing blpapi using
python -m pip install blpapi
I get blpapi-0.0.0 installed successfully (which could be found in Pypi.org), however python doesn't import it giving me this error
ImportError: No module named blpapi
Any idea of how I can manage these errors would be great.
I would use the conda package manager which greatly simplifies things. There are many gotchyas, when trying to pip install blpapi, as can be seen here, here, here and here. Via conda this can be done with
conda install -c conda-forge blpapi

speech Recoginition in python

$ pip install speechRecoginition
Collecting speechRecoginition
ERROR: Could not find a version that satisfies the requirement speechRecoginition (from versions: none)
ERROR: No matching distribution found for speechRecoginition
You spell Recognition wrong and added an i. Therefore, pip cannot find a package with a misspelled name. try:
pip install -U speechRecognition
raise AttributeError("Could not find PyAudio; check installation")
AttributeError: Could not find PyAudio; check installation
how I install PyAudio

ModuleNotFoundError: No module named 'cv2.ximgproc

When I am running the command from cv2.ximgproc import guidedFilter, I am getting an error: ModuleNotFoundError: No module named 'cv2.ximgproc'
I searched the Internet for possible reasons, and I found out that I should run a command pip install opencv--contrib-python on the terminal, which I did. Even after doing that, I am getting the same error.
Please note that I am not very good at programming and technical stuff, so please explain in simple terms. I have a mac, and I am using Anaconda for writing my codes.
You need to uninstall the regular opencv package first.
First uninstall both regular opencv as well as contrib package:
pip uninstall opencv-python
pip uninstall opencv-contrib-python
Then install the contrib package:
pip install opencv-contrib-python
You can refer to this post for more information:
Module 'cv2.cv2' has no attribute 'ximgproc'
I have written a python script as follows:
from cv2.ximgproc import guidedFilter
print("hello")
Initially it was giving me the same error : 'ModuleNotFoundError: No module named 'cv2.ximgproc'. But then i ran the command "pip install opencv--contrib-python" and after that it prints "hello" i.e it is detecting the ximgproc module.
please check the below screenshot.
Check once the installation of opencv--contrib module. There is some problem at that stage.

ModuleNotFoundError: No module named 'telethon'

I have installed telethon using the following code:
sudo pip3 install telethon
I tried to reinstall it and get the following message:
Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.7/site-packages (from rsa->telethon) (0.4.5)
But when i use it in my code:
from telethon import TelegramClient
It shows the following error:
ModuleNotFoundError: No module named 'telethon'
Where should i look to rectify this error ?
You probably have both Python 2 and Python 3 installed. Just like you do pip3, you should do python3 and not python alone.

not able to install a python package

I am trying to install a module in python but it is throwing me below error. I dont understand. I am also not able to find wheel file for this module.
Anyone else imported this module ?
Module Name :generatengrams
pip install generatengrams
from generatengrams import ngrammatch
Getting below error:
Could not find a version that satisfies the requirement generatengrams (from versions: )
No matching distribution found for generatengrams
pip install ngram
Check Python ngram. PyPI

Resources