IntelliJ Python plugin & Run classpath

后端 未结 3 2098
挽巷
挽巷 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:50

    In IntelliJ 14 it's a little different, you are modules/eggs like so:

    • Go to File -> Project Structure
    • Now select Modules and then "Dependencies" tab
    • Click the "+" icon and select "Library"
    • Click "New Library" and select Java (I know it's weird...)
    • Now choose multiple modules / egg and "OK".
    • Select "Classes" from categories.
    • Give your new library a name, "My Python not Java Library"
    • And finally click "Add Selected"

提交回复
热议问题