Why do I get an 'SDK seems invalid' error when setting up my Project Interpreter in PyCharm?

前端 未结 9 1745
生来不讨喜
生来不讨喜 2021-01-17 07:35

\"enter

I try to set up project interpteter Python 3.5 in Pycharm and get an SDK error

9条回答
  •  一整个雨季
    2021-01-17 08:10

    A fix for this issue, is tell to the global var named-> LD_LIBRARY_PATH to include the new python libraries compiled. Let's assume that you have just download python, extracted it & installed; assume that you have downloaded the 3.6.4 version

    For include the library, you have to edit your .bashrc file. (This file is quite interesting, have a look ;) ). This file is an "hidden file" placed in your home: nano ~/.bashrc is a quite easy text editor. Go at the end of the file and append this command, replacing your path of new python export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/whoami/Downloads/Python-3.6.4

    CTRL+X for save file.

    For load the new file:

    source ~/.bashrc

提交回复
热议问题