Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,17 @@ GPU accelerated Neural networks in JavaScript for Browsers and Node.js

## Installation and Usage

### NPM
> [!CAUTION]
> Before installing brain.js, you must install `setuptools` with administrative privileges.
> Since Python 3.12, the `distutils` module has been removed from the standard library. Many tools that previously depended on `distutils` now rely on `setuptools` instead.
> To proceed, open PowerShell as Administrator and run the following command:
> ```ps
> pip install setuptools
>```
> After successful installation, you can continue with the installation of brain.js.
> [According to this GitHub Issue](https://github.com/BrainJS/brain.js/issues/930), this step resolves the installation error caused by missing `distutils`.

### NPM
If you can install `brain.js` with [npm](http://npmjs.org):

```bash
Expand Down