Manage packages in Python interpreter settings To delete an installed package, click More next to the package version and select Delete Package. Click the link to upgrade the package to the latest version. If a newer version of the package is available, a link with the current version and the newest version is displayed next to the package name. Specify a path to the package directory or an archive ( zip or whl). Select Install as editable (-e) if you want to install the package in the editable mode (for example, setuptools develop mode).Ĭlick the Add Package link on the Python Packages toolbar and select From Disk. For more information about supported path formats, refer to pip documentation. Specify a path to the target git repository. Install packages from Version Control SystemĬlick the Add Package link on the Python Packages toolbar and select From Version Control. If you want to install Python packages from a repository that requires HTTP authorization, click Basic HTTP and type the repository URL and the login credentials. If no authorization is required, for example, in the case of a local repository, type the repository URL and click OK. In the Python Packages Repositories dialog, click Add. To specify a custom repository, for example devpi or a private PyPi server, click Settings next to the search field. If a popup with an error message appears, refer to the Troubleshooting guide for a solution. Then click the Install with pip or Install with conda button. Select the package and then do one of the following:Ĭlick Install next to the package name and choose the version.Įxpand the list of the available versions and select the version. If the current Python interpreter is a conda virtual environment, the packages available in the conda package repository are also displayed. Start typing the package name in the search field of the Python Packages tool window. You can preview the package documentation in the documentation area, or click the Documentation link and open it in a browser. Use the search field to filter the list of the available packages. The Python Packages tool window shows installed packages and the packages available in the PyPI and conda package repositories. At any time you can open it using the main menu: View | Tool Windows | Python Packages. This tool window is enabled by default, and you can open it by clicking Python Packages on the left. The Python Packages tool window provides the quickest and neat way to preview and install packages for the currently selected Python interpreter. Manage packages in the Python Packages tool window In P圜harm, you can preview and manage packages in the Python Packages tool window and in the Python interpreter settings. For conda environments you can use the conda package manager. By default, P圜harm uses pip to manage project packages. It means that each project has its own set of packages, which is considered a best practice for Python dependency management. P圜harm provides methods for installing, uninstalling, and upgrading Python packages for a particular Python interpreter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |