Open grjd opened 3 years ago
URL is not exist. ${VERSION} is variable!
@grjd
1.1 Install Homebrew Type in your terminal (not in rosetta environment):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Then add homebrew's path to the variable path:
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/bcghostpc/.zprofile eval $(/opt/homebrew/bin/brew shellenv)
1.2 Install libjpeg
brew install libjpeg
1.3 Install Matplotlib
In the virtual environment, type:
pip install matplotlib
Type in terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/apple/tensorflow_macos/master/scripts/download_and_install.sh)"
then name your virtual environment's folder
In your virtual environment, type:
pip install cython
git clone https://github.com/pandas-dev/pandas.git
cd pandas
python3 setup.py install
In your virtual environment, type:
pip install notebook
Then go to lib/python3.8/site-packages/ipykernel
Edit the eventloops.py
file using nano eventloops.py
In the _use_appnope() function, edit the return line as follows:
return sys.platform == 'darwin' and V(platform.mac_ver()[0]) >= V('10.9') and platform.mac_ver()[2] != 'arm64'
About Installing Different Modules You can install any module using pip inside Virtual Environment:
pip install <moduleName>
About Virtual Environment
You can create a virtual environment by:
python3 -m venv <name>
After creating the environment, you can activate the environment by:
source <name>/bin/activate
To exit the environment, type:
deactivate
Hi Im trying to install tensorflow (that works) in a machine with
Big Sur 11.2.2 Python 3.9.2
I run tthe curl command and get the error bellow
curl -fLO https://github.com/apple/tensorflow_macos/releases/download/v0.1alpha2/tensorflow_macos-${VERSION}.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found