42School / norminette

Official 42 norminette
MIT License
956 stars 140 forks source link

Impossible to use in MacOS 10.13.6 after intallation. #440

Closed sargarse closed 1 year ago

sargarse commented 1 year ago

Describe the bug I install norminette using the commands provided, but when I run it within the corresponding directory the following message appears: -bash: norminette: command not found.

Additional infos

Sasha1022 commented 1 year ago

Hi,

I had the same issue, it's probaly because you didn't make an alias for it. If you try with python3 -m norminette it should work. Now to make an alias you have to add this line alias norminette='python3 -m norminette' at the bottom of the .bashrc file that is in your home directory (maybe you can put it else where in the file but this worked for me) you can access your home directory just by typing cd after you did that, don't forget to execute the command source .bashrc to update the changes I hope it helped, that's what I did on my linux.

sargarse commented 1 year ago

Hi,

Norminette works now! I have created the alias in .zshrc, I did not find .bashrc, but I think the two files are the same. Maybe the problem I have with Francinette is similar.

Thank you so much, I have lost days trying things.

Cheers.