[PYTHON] A story stuck with the installation of the machine learning library JAX

I heard that a machine learning library called JAX can be used from python, so I installed it It is a memo of the place where it got stuck at the time of installation

I tried to install JAX using pip

pip install jax jaxlib

First of all, here is the error:

ValueError: jaxlib is version 0.1.23, but this version of jax requires version 0.1.37.

The solution is written at the bottom of the error message, so do it obediently.

pip install --upgrade pip
pip install --upgrade jax jaxlib

Click here for the next error:

AttributeError: module 'numpy' has no attribute 'histogram_bin_edges'

It seems that there is a numpy error from the error message, so upgrade numpy.

pip install --upgrade numpy

Click here for the last error:

ModuleNotFoundError: No module named 'numpy.testing.decorators'

Looking at the top of the error message, it seems that it is a scipy error instead of numpy, so upgrade scipy.

pip install --upgrade scipy

It worked

Recommended Posts

A story stuck with the installation of the machine learning library JAX
Installation of TensorFlow, a machine learning library from Google
A story about machine learning with Kyasuket
The story of doing deep learning with TPU
Predict the gender of Twitter users with machine learning
Summary of the basic flow of machine learning with Python
Record of the first machine learning challenge with Keras
Predicting the goal time of a full marathon with machine learning-③: Visualizing data with Python-
The story of making a question box bot with discord.py
The story of writing a program
[Machine learning] Check the performance of the classifier with handwritten character data
The story of making a standard driver for db with python.
Get the URL of a JIRA ticket created with the jira-python library
The story of making a module that skips mail with python
The story of blackjack A processing (python)
A story that visualizes the present of Qiita with Qiita API + Elasticsearch + Kibana
The story of a Parking Sensor in 10 minutes with GrovePi + Starter Kit
The story of making a university 100 yen breakfast LINE bot with Python
The story of having a hard time introducing OpenCV with M1 MAC
A story about automating online mahjong (Mahjong Soul) with OpenCV and machine learning
The story of making a sound camera with Touch Designer and ReSpeaker
A beginner of machine learning tried to predict Arima Kinen with python
I made a GAN with Keras, so I made a video of the learning process.
I tried to visualize the model with the low-code machine learning library "PyCaret"
Machine learning memo of a fledgling engineer Part 1
A story about simple machine learning using TensorFlow
The story of low learning costs for Python
[Python3] A story stuck with time zone conversion
See the behavior of drunkenness with reinforcement learning
Python & Machine Learning Study Memo ②: Introduction of Library
A story stuck with handling Python binary data
The story of making a lie news generator
About the development contents of machine learning (Example)
Machine learning memo of a fledgling engineer Part 2
Get a glimpse of machine learning in Python
The story of making a mel icon generator
A story about data analysis by machine learning
Install the machine learning library TensorFlow on fedora23
Build a Python machine learning environment with a container
The story that fits in with pip installation
Free version of DataRobot! ?? Introduction to "PyCaret", a library that automates machine learning
A story about achieving a horse racing recovery rate of over 100% through machine learning
The story of making a web application that records extensive reading with Django
The story of Django creating a library that might be a little more useful
The story of the learning method that acquired LinuC Level 1 with only ping -t
Implementation of a model that predicts the exchange rate (dollar-yen rate) by machine learning
Align the number of samples between classes of data for machine learning with Python
I tried to understand the learning function of neural networks carefully without using a machine learning library (first half).
The story of launching a Minecraft server from Discord
Key points of "Machine learning with Azure ML Studio"
A story about predicting exchange rates with Deep Learning
The story of stopping the production service with the hostname command
A quick introduction to the neural machine translation library
Run a machine learning pipeline with Cloud Dataflow (Python)
The story of replacing Nvidia GTX 1650 with Linux Mint 20.1.
The first step of machine learning ~ For those who want to implement with python ~
The story of sharing the pyenv environment with multiple users
Impressions of taking the Udacity Machine Learning Engineer Nano-degree
Take a screenshot of the LCD with Python-LEGO Mindstorms
About testing in the implementation of machine learning models
The story of making a music generation neural network