Sorry, I started this post and I was away for several days, my wife came on vacation and among other things anyway…
I’ve been there for several days within what time has allowed me and I discovered several things that solved my problem with both Eclipse and VSCode:
With Eclipse:
After you install PyDev the first thing you need to do is go to Windows-Preferences-Interpreters-Python Interpreters and select the python interpreter.
What is the problem here?
If you select Choose from list
he will show you the default python binaries:
After selecting one of them automatically he select the main libraries
Acepting this configuration we find a problem, the problem occur when we start downloading packages using pip
command WITHOUT sudo bc is not recomendable, so when we download any package example:
pip install mysql-connector
He will install that packages under your home directory:
/home/isudovm/.local/lib/python3.11/site-packages
If you notice the previous full path name was /usr/bin/python3.10
and this one is /home/isudovm/.local/lib/python3.11/site-packages
and it won’t work when you run your code.
Solution:
Select New-Browse for python/pypy and manually select /usr/bin/python3.11
Select proceed anyways after selecting /usr/bin/python3.11
And tha’s it. Works for me!
With VSCode:
You need to create first a venv if you dont know what is, google it.
After making some test I realize that when I create this venv from my terminal I dont know why didnt work, but when I create the venv using the VSCode directly then works.

After create the venv using VSCode activate the venv from the VSCode terminal and then use pip command to download the package you need and for me worked!
If any have any doubt please let me know.