Skip to content
Minsing Log
Go back

English Edition

ModuleNotFoundError: No module named 'modAL' Unfair nonsense

Programming & CS

Problem

After having Modal Cloud install everything in requirement txt, a ridiculous issue suddenly occurred

Solution

Solution 1

The packages seem to be conflicting, so uninstall them and install them again

pip uninstall modal
pip3 uninstall modAL-python
pip install modal
pip3 install modAL-python

Solution 2

Check whether the virtual environment is connected—the interpreter

Solution 3

It is a Python interpreter issue. Remove all Python files and interpreters installed via brew

sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.12
sudo rm -f /usr/local/bin/python3.12
sudo rm -f /usr/local/bin/pip3.12

Follow the journey

Get new posts by email.

Short, honest notes on building, startups, learning, failures, and retrospectives, for readers who follow the journey rather than pass through from search.

The newsletter is coming soon. Until then, follow via RSS or email me to get notified.


Share this post:

Comments

Sign in with GitHub to leave a comment.


Previous Post
Error When Validating GPT Analysis with a JSON Schema
Next Post
Explaining OpenAI Async Processing: The GOAT