Skip to content

ModuleNotFoundError even after upgrading and force-reinstall #265

Answered by lucasgautheron
alecristia asked this question in Q&A
Discussion options

You must be logged in to vote

Try pip install pyannote.metrics ? not sure why it won't install by itself
EDIT: oh I get it; you need python >= 3.7 (pyannote metrics may have issues with older versions of python)

But I suggest you use python 3.8 at least.
Maybe you should delete your venv and create it again:

# delete the environment
deactivate
rm -rf ~/ChildProjectVenv
conda activate base

# make sure your version of python is recent enough (3.8+)
python3 --version

# recreate the environment
python3 -m venv ~/ChildProjectVenv
source ~/ChildProjectVenv/bin/activate
pip install --upgrade pip
pip3 install ChildProject

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alecristia
Comment options

alecristia Aug 20, 2021
Maintainer Author

Answer selected by alecristia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants