BrainJS install error - SOLVED

Опубликовано: 21 Ноябрь 2024
на канале: devTom
127
5

I recently had issues installing BrainJS in to a project, where I encountered a long list of npm errors , warnings and deprecated packages and because of this BrainJS would not install.

If you’re having the same problem, then there’s a good chance that it stems from the missing distutils module, which used to be included in Python by default, but was removed from version 3.12.

Luckily, there’s a fix for this, and I’m going to demonstrate it now on a fresh React App.

Feel free to install this in any type of project you're working on, but if you need a refresher on how to set up a fresh React App, then check out my other video titled "Creating a React App with Vite".

If you want to copy and paste the commands used, then here they are:

python -m ensurepip --upgrade
python -m pip install setuptools
npm install brain.js


Thanks for watching, hope this helps. If so, please don't forget to like and subscribe!


На этой странице сайта вы можете посмотреть видео онлайн BrainJS install error - SOLVED длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь devTom 21 Ноябрь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 127 раз и оно понравилось 5 зрителям. Приятного просмотра!