Click here to Skip to main content
15,848,758 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: C:\Users\Alexander Abraham\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip

What I have tried:

I am trying to run this code
from spellchecker import spellchecker

but i am getting an error and notice
<pre>[notice] A new release of pip available: 22.2.2 -> 22.3.1
[notice] To update, run: C:\Users\Alexander 

i am not able to understand
Updated 25-Nov-22 1:43am
Richard MacCutchan 25-Nov-22 7:53am    
I assume you are trying to use pyspellchecker · PyPI[^]. If so you need to spell the module name correctly. If that is not the case then you need to explain what you have installed.
ALEXANDER ABRAHAM 2022 26-Nov-22 3:22am    
pip install pyspellchecker
I ran this pip command on the terminal
and I got the out put
PS C:\Python\New python> pip install pyspellchecker
Requirement already satisfied: pyspellchecker in c:\users\alexander abraham\appdata\local\programs\python\python310\lib\site-packages (0.7.0)

but when I run the code
''from spellchecker import spellchecker'' still it thorows the error saying no module found
as per documentation when they do their getting the result

1 solution

Read the error message, it's pretty clear and even tells you what to do: go to a folder, and run a program with a specific command line.
C:\Users\Alexander Abraham\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip

So copy the whole command, run up a dos prompt, change to the folder, paste the command, and press ENTER.

Now, do please explain why you can't work that out from the - very explicit - instructions your computer gave you and that you copy'n'pasted here? Because I'm at a loss to know ...
Share this answer
ALEXANDER ABRAHAM 2022 25-Nov-22 6:53am    
Hi actually i am new to programming, I went to the specific folder and i am not able to understand how to run there
ALEXANDER ABRAHAM 2022 25-Nov-22 7:00am    
Hi i did copied the command and ran on the prompt window it ran but still it's showing error
raceback (most recent call last):
File "c:\Python\New python\Correct Spellings", line 2, in <module>
from spellchecker import spellchecker
ModuleNotFoundError: No module named 'spellchecker'
OriginalGriff 25-Nov-22 7:05am    
That's a different error altogether!
Read it.
It tells you what the problem is. "ModuleNotFoundError: No module named 'spellchecker'"
How do you expect people who have no access to your system to fix that for you?
ALEXANDER ABRAHAM 2022 25-Nov-22 7:09am    
sorry for that how should i go ahead
I have tried installing pip install pyspellchecker on the terminal it ran sucessfully
but when i run this command 'from spellchecker import Spellchecker' it throws me the error
the same as mentioned earlier
OriginalGriff 25-Nov-22 7:51am    
And where did you install it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900