After you source activate py2 run the conda list command again and check for scikit-learn.
Python Importerror No Module Named Install It WithIf its not listed you can simply install it with conda install scikit-learn.In every conda environment, you have to install packages seperately.
I had to write a command to add my conda environment as a kernel in Jupyter, and from there I was using 0.19.1 instead of the 17 version. Provide details and share your research But avoid Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. In fedora you could use sudo dnf install python3-tkinter for the install. Otherwise you get a ModuleNotFoundError: No module named tkinter. In my case, it was not possible to install tkinter after the Python install with something like pip install tkinter. At that point you can check the tcltk and IDLE checkbox and get the module you need. I tried import tkinter as xyz with upperlower t and k s and all variants without luck. I can swear on anything this was the fix and it was for at least 5 others. On Ubuntu 20.04, I could remove this line and the script worked. Python Importerror No Module Named Windows 10 Specific AndThis is Windows 10 specific and while python is x-platform its not seamless. I had the same issue and all I had to do was input the command as. It also makes it difficult for other developers to easily see what was imported and how: stackoverflow.comquestions2386714why-is-import-bad. While this might be technically correct it doesnt explain why it solves the problem or should be the selected answer. Not the answer youre looking for Browse other questions tagged python tkinter or ask your own question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |