title: Using PYCHARM professonal with WSL2 as python interpreter: does not have access to some packages
body: <p>I have python working on WSL2 along with ubuntu20.04. I then installed miniconda and  then,  also installed all common data package, such as: tensorflow, pandas, scikit-learn, matplotlib, sqlalchemy, seaborn pip git</p>
  <p>Everything is working fine.</p>
  <p>I also have PYCHARM professional installed and as a python interpreter, I am using WSL2(ubuntu20.04). When I try to run the same code that rans fine from WSL2 terminal, PYCHARM complains about unresolved reference to &quot;sklearn&quot; and offers to download that package.  Two questions:</p>
  <p>i.  Should not PYCHARM has access to whatever packages are available from WSL2/Ubuntu20.04 terminal, as I am using WSL2 as the PYTHON interpreter?</p>
  <p>ii. If I let PYCHARM download package regardless, would not it create duplicate packages that could be possibly different versions?</p>
  <pre><code># import the necessary packages
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.preprocessing import LabelEncoder
  from sklearn.model_selection import train_test_split
  from sklearn.metrics import classification_report
  </code></pre>
  <p>I am also attaching python interpreter screenshot to show that I a doing it correctly.<a href="https://i.stack.imgur.com/CbHyg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CbHyg.png" alt="enter image description here" /></a></p>
  <p>UPDATE:
  based on @batuhand suggestion, I would like to try using the virtual enviroment. However, the problem is that WSL interpreter is not available.</p>
  <p>When I choose WSL interpreter, then \usr\bin\python3 is available.
  <a href="https://i.stack.imgur.com/RX64E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RX64E.png" alt="enter image description here" /></a></p>
  <p>When I choose virtual environment, \usr\bin\python is not available.
  <a href="https://i.stack.imgur.com/eriWn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eriWn.png" alt="enter image description here" /></a></p>
  <p>So, it seems that I can not follow @batuhand 's suggestion.</p>