torch-points-kernels, which is required to install pyproject.toml-based projects
时间: 2023-08-28 13:17:54 浏览: 187
To install pyproject.toml-based projects like torch-points-kernels, you can use the `poetry` package manager. Poetry is a popular tool for managing dependencies and packaging in Python projects.
Here are the steps to install torch-points-kernels using poetry:
1. First, make sure you have poetry installed. You can install it using pip:
```
$ pip install poetry
```
2. Once poetry is installed, navigate to the directory where the project's pyproject.toml file is located.
3. Use the following command to install the project and its dependencies:
```
$ poetry install
```
Poetry will read the pyproject.toml file, resolve the dependencies, and install them in a virtual environment specific to the project.
4. After the installation is complete, you can activate the virtual environment created by poetry using:
```
$ poetry shell
```
This will activate the virtual environment, allowing you to use the installed packages.
That's it! You should now have torch-points-kernels installed and ready to use within your project.
阅读全文