Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installation on Mac M1 taking forever #206

Closed
vahuja4 opened this issue Sep 22, 2021 · 7 comments
Closed

Installation on Mac M1 taking forever #206

vahuja4 opened this issue Sep 22, 2021 · 7 comments
Assignees
Labels
needs-review The problem described requires deeper analysis.

Comments

@vahuja4
Copy link

vahuja4 commented Sep 22, 2021

The title states it. My internet speed is 30 Mbps download, so that is not the problem. It is just taking forever to install make-sense on my Mac M1.

@github-actions
Copy link

👋 Hello @vahuja4, thank you for your interest in make-sense - free to use online tool for labelling photos! 🏷️

🐞 Bug reports

If you noticed that make-sense is not working properly, please provide us with as much information as possible. To make your life easier, we have prepared a bug report template containing all the relevant details. We know, we ask for a lot... However, please believe that knowing all that extra information - like the type of browser you use or the version of node you have installed - really helps us to solve your problems faster and more efficiently. 😉

💬 Get in touch

If you've been trying to contact us but for some reason we haven't responded to your issue yet, don't hesitate to get back to us on Gitter or Twitter.

💻 Local setup

# clone repository
git clone https://github.com/SkalskiP/make-sense.git

# navigate to main dir
cd make-sense

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm start

To ensure proper functionality of the application locally, an npm 6.x.x and node.js v12.x.x versions are required. More information about this problem is available in the #16 issue.

@SkalskiP SkalskiP self-assigned this Sep 22, 2021
@SkalskiP SkalskiP added bug Something isn't working needs-review The problem described requires deeper analysis. and removed bug Something isn't working labels Sep 22, 2021
@SkalskiP
Copy link
Owner

Hi @vahuja4👋 ! I'm really sorry to hear that. Unfortunately, I'm not using Mac M1. But I'll try to reach out to my friends and try to run some tests.

@rasyidf
Copy link
Contributor

rasyidf commented Sep 23, 2021

It might be because of tensorflow.js need to compile into binary.

i found some tricky step in stackoverflow

Steps to use it with tfjs-node in mac m1

@SkalskiP
Copy link
Owner

@vahuja4 could you take a look at the solution proposed by @rasyidf?

@jzhang-bgl
Copy link

Error when installing, using Apple M1 MacBook pro. Seems to relate to Tensorflow?

_npm notice 
npm notice New minor version of npm available! 8.3.1 -> 8.6.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.6.0
npm notice Run npm install -g npm@8.6.0 to update!
npm notice 
npm ERR! code 1
npm ERR! path /Users/jzhang/Documents/Projects/make-sense/node_modules/@tensorflow/tfjs-node
npm ERR! command failed
npm ERR! command sh -c node scripts/install.js
npm ERR! CPU-darwin-3.9.0.tar.gz
npm ERR! * Downloading libtensorflow
npm ERR! /Users/jzhang/Documents/Projects/make-sense/node_modules/@tensorflow/tfjs-node/scripts/install.js:103
npm ERR!     throw new Error(`Unsupported system: ${libType}-${platform}-${os.arch()}`);
npm ERR!           ^
npm ERR! 
npm ERR! Error: Unsupported system: cpu-darwin-arm64
npm ERR!     at getPlatformLibtensorflowUri (/Users/jzhang/Documents/Projects/make-sense/node_modules/@tensorflow/tfjs-node/scripts/install.js:103:11)
npm ERR!     at downloadLibtensorflow (/Users/jzhang/Documents/Projects/make-sense/node_modules/@tensorflow/tfjs-node/scripts/install.js:136:15)
npm ERR!     at async run (/Users/jzhang/Documents/Projects/make-sense/node_modules/@tensorflow/tfjs-node/scripts/install.js:205:5)_

@SkalskiP
Copy link
Owner

Hello, @jack-bgl 👋 ! Unfortunately, I do not have M1 MacBook Pro at my disposal, but I'm happy to cooperate with you in fixing that issue. First of all, did you try the solution proposed by @rasyidf above?

@SkalskiP
Copy link
Owner

SkalskiP commented Nov 8, 2022

Hi @vahuja4, @jack-bgl and @rasyidf I have MacBook with M1 now. I installed make-sense locally without any problems. For that reason I'm closing this issue. If similar problems will happen once again in the future we will of course reopen :)

@SkalskiP SkalskiP closed this as completed Nov 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
needs-review The problem described requires deeper analysis.
Projects
None yet
Development

No branches or pull requests

4 participants