kyutai-labs / moshi

Apache License 2.0
2.12k stars 122 forks source link

Cannot install moshi-mlx on M3 Max #66

Open Chuhao994 opened 14 hours ago

Chuhao994 commented 14 hours ago

Backend impacted

The MLX implementation

Operating system

Mac OS X

Hardware

Metal with MLX

Description

Hello,

I'm encountering some issues while attempting to install Moshi MLX and would greatly appreciate your advice.

Initially, I executed the following command in the terminal:

pip install moshi_mlx

However, the installation process failed, indicating that I needed to install the Rust toolchain. Following the instructions provided, I then ran this command to install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Unfortunately, during the Rust installation process, I encountered the error as screenshot.

Given these circumstances, could you please provide guidance on how to resolve this issue? My ultimate goal is to successfully install Moshi MLX along with all its required dependencies.

Thx

2024-09-19 16 59 31

Extra information

2024-09-19 16 59 31

Environment

Fill in the following information on your system.

If the backend impacted is PyTorch:

If the backend is MLX:

gianpaj commented 8 hours ago

the permission issue is with RustUp. Not moshi try these solutions https://stackoverflow.com/questions/45899815/could-not-write-to-bash-profile-when-installing-rust-on-macos-sierra

adefossez commented 8 hours ago

I'm pretty sure ChatGPT could help you debug this one. Seems like you don't have the permissions to edit your own .bash_profile, which is quite strange. if you do

ls -lht ~/.bash*

what does it show ?

haqatak commented 6 hours ago

have you tried to use python 3.12?