I uninstalled and reinstalled anaconda. I still am having problems. I have installed python 3.10 on my computer c:\py310 folder prior to the anaconda install. Anaconda is now referencing this folder for modules and there is no reference to the anaconda installation which is running python 3.9. none of the applications work when clicked on the start menu in windows. the folder for anaconda is f:\anaconda\kev. All of the documentation says that I can keep python 3.10 but I can not get anaconda to work any ideas?
File “C:\Python310\lib\io.py”, line 54, in
ImportError: cannot import name ‘text_encoding’ from ‘io’ (unknown location) this is the trace back error.
Hi, I get the cannot find module import error. And it does not connect to anything in the anaconda folder. Basically, nothing works even though it is installed. To get around this problem in windows. I installed anaconda in linux/Ubuntu. I am running it in wsl.
First of all, thank you for your help. I uninstalled and then reinstalled anaconda like you said. I am still getting the same error. So, I decided to install anaconda in Linux using wsl and it works. I still don’t know why I could not get the windows installation to work.
The terminal opens and I get the import error. It is trying to use my python 3.10 install. I replied to you as well via email. I installed anaconda in wsl using ubuntu and this works. I am totally confused as to why I can’t get it to work in windows.
thanks again for your help,
Yeah, I agree with @ktsh.tanaka.2020 - it is probably either that your PYTHONPATH is set to the other installation - or it is set to the other installation in your windows registry. So, even with anaconda installed, even with the Anaconda Prompt - that other installation is taking preference.
I’m glad to hear you do have it working with WSL!