I have installed a package named hypixel for my discord bot using
pip install python. It finished installing without any errors. At the top of my script I have
import hypixel. But when I try and run it I get this error:
File "D:\Documents\Discord Bot\Addicts Discord Bot\bot.py", line 1, in <module> import hypixel ModuleNotFoundError: No module named 'hypixel'
I am not sure if this is too relevant but my pip isn't the latest version and I get an error when I try and update it.
Instead of using pip install python, use pip install hypixel. Then try to import it in your code using import hypixel.
In your question you say you used
pip install python, did you mean to say
pip install hypixel?
Also if you use python3 but have python3 installed make sure you use
You can install this with
sudo apt-get install python3-pip (assuming you use a debian based distro). Then use
sudo pip3 install hypixel