简体   繁体   中英

pydev: cannot set correct libraries

pydev 8.0.1
python version used by pydev is 3.7.4 (platform.python_version())
Which is wrong. My installed version is 3.8.5.
When I click on "choose from list" in eclipse preferences -> pydev -> Interpreters -> Python Interpreters it shows only Python 3.7 libraries. No way to setup the correct 3.8 libraries.
"echo pythonpath" in command line gives usr/lib/python3.8
I put "38" in "String substitution variables" for "PY"
I am blocked. Any clue someone?
Thanks

In this case, click for Browse for python/pypy exe and select the actual Python 3.8 executable you want to work with.

在此处输入图片说明

ie: Choose from list uses some heuristics to find the installed versions of python in your machine, but in this case it seems it's not finding it (but that should be ok since you can manually choose any other python executable).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM