AttributeError: module 'skimage.feature' has no attribute 'multiscale_basic_features' - scikit-image

everyone, anydody had the same problem?
AttributeError: module 'skimage.feature' has no attribute 'multiscale_basic_features'

You probably need to update your scikit-image version, e.g. pip install -U scikit-image or conda update scikit-image.

Related

module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' when running any pip command

I am encountering an error module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' when running any pip command on ubuntu v20. A solution here is suggesting upgrading pip3 install pyOpenSSL --upgrade yet for my case this is not possible since running any pip command instantly fails with the above error. Is there a way to resolve this? Kindly assist

unable to load torchaudio even after installing

I'm trying to use torchaudio but I'm unable to import it. I have installed it and it is also visible through the pip list.
<ipython-input-6-4cf0a64f61c0> in <module>
----> 1 import torchaudio
ModuleNotFoundError: No module named 'torchaudio'
pytorch-lightning 1.2.0
torch 1.10.1
torchaudio 0.10.1
torchvision 0.11.2
WARNING: You are using pip version 21.1.2; however, version 21.3.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
Since you are using linux and CPU, you should consider uninstalling every pytorch related packages and re-install them via:
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
as shown here.
I was stuck with the same error. Tried a lot of ways to install and use torchaudio.
This was worked for me (after uninstalling existing torchaudio):
import os
!git clone https://github.com/pytorch/audio.git
os.chdir("audio")
!git checkout 632ea67
!python setup.py install

No module named 'seaborn' even though its installed - windows (jupyter)

I get this error on Jupyter
ModuleNotFoundError: No module named 'seaborn'
but when I install it on the anaconda prompt I get this -
please help me :)
Please confirm which pip and which python version is used
python --version
python -m pip install seaborn
pip3 may be pointing to an old or different python installation.

I am facing an issue in installation of some modules in PyCharm macOs

When I try to pip install scikit-learn my IDE(PyCharm) shows an error "No module named 'Cython'"
And also with matplotlib it says could not find suitabe distribution for Requirement.parse('numpy>=1.11')
I am a beginner and I don't know how to tackle this can someone please help ?
Run first:
pip install Cython
then install scikit-learn:
pip install -U scikit-learn

Getting "ImportError: No Module named yaml" error

Computer: MacBook Pro mid 2012, running El Capitan 10.11.4
Python version 2.7.10
I've been trying to install ansible from source, and I've run these two commands (following the steps on ansibles documentation):
git clone git://github.com/ansible/ansible.git --recursive
cd ./ansible
and then ran this
source ./hacking/env-setup
I've also already installed these packages
sudo pip install paramiko PyYAML Jinja2 httplib2 six
However, if I try and run ansible by typing it in the terminal, I get the following error.
Traceback (most recent call last):
File "/Users/[myusr]/rock/ansible/bin/ansible", line 81, in <module>
from ansible.cli.adhoc import AdHocCLI as mycli
File "/Users/[myusr]/rock/ansible/lib/ansible/cli/__init__.py", line 27, in <module>
import yaml
ImportError: No module named yaml
What should be done here?
Do you have yaml module installed? If not, try installing yaml using the following command:
sudo pip install pyyaml
Had the same issue. Got past it using #FranMowinckel's answer.
First I typed:
pip --version
it outputted python 3. But, when I tried:
sudo python -m pip install pyyaml
I got an error saying:
Error: No module named pip
So, finally running:
sudo easy_install pip
everything worked fine.
Go back and run:
sudo python -m pip install pyyaml
(you may have to run this with all the other modules as well)
Now you should finally be able to run your initial command which failed.
For python 3.6 you can install it with
pip3 install pyyaml
if there is a problem in importing, do
pip3 uninstall pyyaml
and then install it again:
pip3 install pyyaml
#bigdata2's answer is correct but it might also happen that there's a conflict with python 3. So, check pip version (pip --version) and if it outputs python 3 then:
sudo python -m pip install pyyaml
So it gets installed for the same version as python.
I had this problem because I installed it with
sudo pip install pyyaml --upgrade
instead of
sudo -H pip install pyyaml --upgrade
Uninstalling and re-installing pyyaml fixed the problem for me.
This should work:
sudo pip install pyyaml
Try this
pip install ruamel.yaml

Resources