I have my laptop to be the latest MBP with M1 chip. Weird errors popped out while I was trying to install the auto-sklearn package for my machine. I wonder is that package compatible with M1 chip or is there any method that I am able to get it installed on my machine?
I've had the same error as you on a M1 MacBook Air and solved it by doing:
brew install swig
brew install swig is indeed required like #pmadruga said. Here is the official installation guide on MacOS.
Related
I'm using the Macbook Pro with the M1 chip. I have recently installed the R for the arm64 architecture from this link (R-4.1.0-arm64.pkg) and the RStudio from the daily builds (version 1.5.194).
With this installation, I was able to install almost all libraries in R and also to connect the tensorflow from a python installation (I followed these instructions).
Now I tried to install the Torch library for R (using the command install_torch() after installing the package from CRAN) and I'm having the following error:
Error in cpp_lantern_init(install_path()) :
/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/torch/deps/liblantern.dylib - dlopen(/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/torch/deps/liblantern.dylib, 10): no suitable image found. Did find:
/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/torch/deps/liblantern.dylib: mach-o, but wrong architecture
Did anyone have this problem and was able to solve it?
I want to install Fluent Bit on macOS Catalina. All the resources available are for Ubuntu and Windows.
I followed this guide for Ubuntu [1].
Can anyone guide me on this?
[1] https://docs.fluentbit.io/manual/installation/linux/debian
I doubt that you can install those debian packages on macOS. But you can surely build from the source. There is a link on official documentation on how to build and install from source.
But from my experience you better get an understanding of possible errors that might come if you just try to download and install. Have a look at this post about pre-requisites. Once you have add those dependencies, surely you can build and installed on a macOS.
If you really want to install a package version on Mac, use it with homebrew.
You can install Fluent Bit on Mac with homebrew:
brew install fluent-bit
In my experience, on Mac it is very unstable and when I've attempted to do something simple like tailing logs you'll get lots of crashes.
does anyone know how I could install MariaDB 5.5 server with Homebrew on Mac OS? I've tried running brew install mariadb#5.5 but it doesn’t work.
You can also Try Building it from source!
you can use Homebrew to build MariaDB from source.Its helpful if you want to use a different version of the server or enable some different capabilities that are not included in the bottle package or if you are having issues with the bottle package.
To build MariaDB Server with these engines, you must first install boost and judy.
And please can you be specific about the errors you encountered.
You might want to check this site:
I am trying to install iPDC on a Centos unix laptop.
I am getting a make error when I attempt to install the programme - I have attached a screenshot of my problem.
The command run is sudo make install and I am attempting to install as the root user.
Your installed GTK version is probably too old to support this software. GtkBuilder (a component within GTK) showed up at version 2.12. To find out what version you have, run pkg-config --modversion gtk+-2.0 at the command line. But that version has been around for quite some time. What version Centos are you running? I assume 5, which is quite old.
Upgrading GTK can be tricky, as most of your desktop software relies on it. If you're in for an adventure, the "easiest" would be to upgrade your Centos OS (to 6.x). You might be able to compile a more recent GTK from source and keep it separate from your system GTK, but that will take some patience.
It seems that GTK is not installed.
Try something like: yum install gtk2 or yum install gtk2-devel
After installing Mavericks on my Mac, I'm not able to run Rattle anymore.
Because of compatibility issues between RStudio and 10.9 (http://www.r-bloggers.com/rstudio-and-os-x-10-9-mavericks/), I installed v 0.98.433 of RStudio and R 3.0.2
Tried to launch Rattle the normal way: none.
I tried in a different way:
I manually launched xQuartz to install GTK+
via R-Studio I installed RGtg2 and Cairo
Installed Rattle, launched it and I got 1 sec message from Rattle, before it disappeared, crashing R session.
I then tried going back to R 2.15.3 (using RSwitch), doing same procedure.
Rattle starts with no ricognizable character and a bunch of related error messages on the RStudio console, from Pango.
Problem is it is looking for a directory .../pango/1.6.0 that does not exist (I have /1.8.0).
Is there any one who came out with a working combination of R/RStudio/Rattle on Mavericks?
I have a course I'm going to teach on data mining next semester and I introduced Rattle as the core tool, but I need it running.
Going back to previous Mac OS is not an option, because students may have the latest version.
Any help would be highly appreciated
I believe that the problem is with the GTK2 and Cairo modules. After building a few packages from source, rattle works for me...
I have had difficulties with Cairo/GTK2 since Mountain Lion. I got crashes using Simon's binary packages for these. Note that I updated my system to Mavericks, so I have not tried this on a clean install... I also have Homebrew installed for building programs from source. I use the ATT binary installer for R (thanks, Simon) for most packages but build a few packages from source. There were some hiccups and I spent a lot of time searching with Google. Here is what I did:
One needs XCode and the Xcode command line tools installed. After you install XCode, you need to run
sudo xcode-select --install
to install the command line tools. Then install Homebrew according to directions from the web site... Install gtk+ and cairo with their dependencies with:
brew install gtk+ cairo
And wait quite a while for everything to build....
The first problem I had is that I couldn't build any R packages from source because of this error:
make: llvm-gcc-4.2: No such file or directory
Google to the rescue...
I needed to change two lines in Makeconf in /Library/Frameworks/R.framework/Resources/etc to
CC=clang
CXX=clang++
Note: the R Mac Tools page now says this should be:
CC=/usr/local/clang4/bin/clang
CXX=/usr/local/clang4/bin/clang++
LDFLAGS=-L/usr/local/clang4/lib
Then download the source packages for RGtk2, Cairo, and cairoDevice. I do all the work in my ~/bld directory with:
cd ~/bld
export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:/Library/Frameworks/GTK+.framework/Versions/Current/Resources/lib/pkgconfig:$PKG_CONFIG_PATH
R CMD install RGtk2_2.20.25.tar.gz
R CMD install Cairo_1.5-2.tar.gz
R CMD install cairoDevice_2.19.tar.gz
Hope this helps.