PyCharm projects: various problems
已回答
- I've created a number of projects and now want to close one of them. I don't see a way to do that. Is that possible?
- When creating a new project I'd like all the modules/libraries to be available by default. Is that possible? As it is, I must either remember to open the details of the new project when I create it and check the box that says to make all site modules available or install each module I want one by one after creating the project. Is there a better way? How about a command to make all modules available to an existing project after it's been created? Why force me to install each one for each new project?
- On creating a new project PyCharn says I haven't specified a Python Interpreter. Then I don't know how to specify one. I always want the same interpreter. Can I set up a default interpreter for all new projects?
请先登录再写评论。
Hi Russ,
1) Did you add multiple projects to the same window? It is possible to close them by right-click in the project tree:
2) You can either select a system-wide interpreter with all desired packages installed or a pre-defined virtualenv with the same packages.
3) PyCharm remembers the last interpreter used to create a project. If it was a system interpreter - it is going to be suggested for the next project, if it was a virtualenv - the new venv in a similar location will be created.
The relevant help page https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html
Hi Pavel,
I haven't found a way to do that. Would you mind giving me more step-by-step instructions.