Questions tagged [apple-m1]

NOTICE: Questions using this tag must be related to programming, your question will risk being closed otherwise. Do not use if you are discussing software or operating system subjects. If you need support you can try https://apple.stackexchange.com.

Apple M1 is an ARM based system on a chip designed by Apple Inc.

2791 questions
1
vote
0 answers

How to uninstall PHP 7.3 after build-from-source using Homebrew on Mac OS 11

I need to run a php application that was built on php 7.3. Now that php 7.3 is no longer supported, I was unable to install using homebrew without including the --build-from-source option. I went ahead and attempted to build php 7.3 from source…
1
vote
4 answers

Sequel::DatabaseConnectionError: ODBC::Error: 01000 (0) [unixODBC][Driver Manager]Can't open lib 'libSnowflake.dylib'

I am trying to connect to a snowflake database to a rails app. I followed the necessary instructions found at https://docs.snowflake.com/en/user-guide/odbc.html. After installing unixodbc and configuring the drivers. I try to run the server from my…
1
vote
1 answer

How to fix error: 'tensorflow.compat.v2.__internal__' has no attribute 'register_call_context_function'

Ive looked everywhere for an answer for the last week, but nothing works. I have an M1 Mac that I want to start using for reinforcement learning. I've followed some tutorials on how to get TensorFlow and Keras installed on an M1 Mac. These are the…
Unks
  • 128
  • 7
1
vote
1 answer

I have problem running android emulator on M1 mac

I'm not able to get an Android app to launch in the Emulator on an M1 Mac. I've very carefully followed instructions for setting up an arm-based emulator but when I run it shows > A failure occurred while executing…
1
vote
1 answer

error running npm install on mac bigsur M1

When I run npm install on my project, I get npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: .....@10.1.3 npm ERR! Found: @angular/forms@11.2.14 npm ERR! node_modules/@angular/forms npm…
solar apricot
  • 353
  • 2
  • 5
  • 24
1
vote
0 answers

NativeScript Development Environment at MacBook m1

I am trying to set up the development environment on a new MacBook Air (with m1 CPU). I follow the setup instructions from the official website. When I run the 'ns doctor ios' all seems to be fine, however when I run the 'ns run ios' I am getting…
A Damian
  • 91
  • 1
  • 8
1
vote
1 answer

TensorFlow 2.5 Mac M1 - Installing problem compatibility with NumPy library / Conda env

I have a huge problem creating a conda environment with the new Tensorflow 2.5 optimized for M1 (Macbook pro-2020). I followed those steps: install miniforge3 optimized for arm64 processor from https://github.com/conda-forge/miniforge then create a…
Antonio
  • 31
  • 2
1
vote
0 answers

Wordpress Docker Image, PHP Fatal error: Out of memory

I m getting above error while i upload the image in the form which is more than 2MB. My Docker file FROM amd64/wordpress:latest COPY . /var/www/html COPY /config-staging /var/www/html COPY php.ini /usr/local/etc/php COPY php.ini…
Krutik Parikh
  • 11
  • 1
  • 1
1
vote
2 answers

zsh: illegal hardware instruction npm run start-server

Goal : To build a Node.js web server for a training and classification model on the server-side using TensorFlow.js I am trying to do this tutorial to learn TensorFlow.js. Expected results : Server should run locally on an appropriate port like…
Sujay
  • 570
  • 3
  • 8
  • 24
1
vote
0 answers

Sending "reload" to all React Native apps failed IOS

i'm using mac mini M1 i getting error on live reload run app on iPhoneX(14.7.1), when i reload app from device debug menu it will be reloaded on reload click but when i press R in terminal showing warning warn No apps connected. Sending "reload" to…
Pirta Matharu
  • 267
  • 1
  • 5
  • 22
1
vote
0 answers

Keras CNN does not work on M1 MacBooks - NSRangeException - NSArrayM objectAtIndexedSubscript: Index 0 beyond bounds for empty array

I was trying to test out ResNet for my new M1 MacBook Pro - with Apple's new tensorflow version 2.4.0-rc0 and Numpy version 1.21.1 - with the following code: import tensorflow as tf from tensorflow import keras import numpy as np from…
1
vote
1 answer

Why postgresql@11 service failed instantly after i installed with brew on macos?

I've encountered problem about brew services on postgresql@11 right now. After i reinstalled (from this blog) postgresql@11 it instantly gives an error on brew services. Then i ran this brew services restart -vvv postgresql@11 it returns this…
Caner Taşan
  • 21
  • 1
  • 4
1
vote
1 answer

Not able to start redis server on Mac M1

I am using a Macbook Pro M1 and I am trying to start my server through Intellij and getting this error. Please help Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisServer' defined in class…
jamie jacob
  • 19
  • 1
  • 6
1
vote
1 answer

M1 + CLion +CMake hit an error when using glfw glew headfile

I've read a similar answer, which solved the problem caused by different chip architecture. But it seems totally different from the problem here. ====================[ Build | OpenGLTest | Debug…
1
vote
1 answer

How to install PyTorch natively on Apple M1 with Miniforge?

I'd like to run PyTorch natively on my M1 MacBook Air. I followed these instructions which say to start with brew install miniforge brew info miniforge confirms that I installed the osx-arm64 version, so that's fine. Then I did conda create --name…
Dirk
  • 2,335
  • 24
  • 36
1 2 3
99
100