'scikit-learn not showing up on Location

So, I use Spyder for running my codes. Recently I had to use scikit-learn, which doesn't come with Spyder. So what I did was:

  1. pip install scikit-learn (on terminal)
  2. python -m pip show scikit-learn (on terminal) which showed me the Location [terminal snapshot]
  3. when I go to said Location, scikit-learn is nowhere to be found, hence I can't copy it into Spyder files. [terminal snapshot]

I have tried to copy it with: scp -r /Users/Keni/.pyenv/versions/3.7.3/lib/python3.7/site-packages/scikit-learn /Applications/Spyder.app/Contents/Resources/lib/python3.9 but of course I get No such file or directory.

How is it possible that it shows the location, but once I access the location, it is not there? I've tried uninstalling it, re-installing it, forced no binary installation. I think IT IS installed, every time I try to pip install it I get Requirement already satisfied. I don't know what to do.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source