IntelliJ Python plugin & Run classpath

后端 未结 3 2105
挽巷
挽巷 2020-12-14 17:18

I have a project located at /home/myself/workspace/Project1, for which I created an SDK from a Python 2.7.3 Virtualenv I have setup.
This project uses some external code

3条回答
  •  鱼传尺愫
    2020-12-14 17:49

    From Version of 2017.1 adding it has been changed again. There is no project structure in the file menu. Writing current procedure down:

    1. Go To Preference/Settings. File -> Settings (IDE Name -> Preferences for macOS)

    2. Select Build, Execution, Deployment

    1. Select Python Interpreter

    2. Select on drop-down menu of project interpreter and select the path of path of version of Python required for the project.

    1. Click on Apply and wait for few minutes to let IntelliJ index the python packages.

    All error should be gone now and You should be able to see Python used in the project in the list of external libraries.

    Happy Coding.

提交回复
热议问题