PyCharm projects: various problems

已回答
  1. 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?

  2. 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?

  3. 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?
0

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

0

Hi Pavel,

Thanks for your quick reply.
 
1) When I right-click a project I get a menu that doesn't include Remove From View as your image shows.  See image.
 
Picture1.png
2) You write that "2) You can either select a system-wide interpreter with all desired packages installed or a pre-defined virtualenv with the same packages."

I haven't found a way to do that. Would you mind giving me more step-by-step instructions.
 
3) The help page tells me how to configure an interpreter. I would prefer having an environment with all installed packages that is always selected by default so that PyCharm doesn't ask me to configure anything. Is that possible? How do I tell PyCharm to use the current environment as the default environment?
 
Thanks.
 
-- Russ
0

请先登录再写评论。