Pycharm says no module named and cannot import

Asked 2 years ago, Updated 2 years ago, 86 views

The pycharm says no module named and cannot import.
I try to import sklearn and lightgbm, but I can't.

Spyder can now copy the package from site-package in python 36 to site-package in Anaconda, but pycharm still has an error.
(Can't I put in both?)

I specified python in anaconda in Edit configuration, but it didn't work.

Thank you for your understanding.

64bit for Win10.

python anaconda

2022-09-30 14:47

1 Answers

File>Settings>Project>Project Interpreter shows which libraries have been installed.Please check if this path is the intended one.

Enter a description of the image here


2022-09-30 14:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.