Hello i cant install colorama in my project

Hello i wanted to run a project but it asked me to install colorama and it doenst work it says

ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: ‘/nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/lib/python3.9/site-packages/colorama’

Welcome, @ErwinHost.
Well, it looks like the permission to do this is denied. I am no Python expert but I figured out I could do it like this:
(link: https://replit.com/@doxr/BigScentedRotation)
I did pip install colorama in the Shell and then ran this code in main.py

from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(Style.DIM + 'and in dim text')
print(Style.RESET_ALL)
print('back to normal now')
# I got this from pypi

and I didn’t get any errors. Can you link your repl?

Edit: I don’t know what lang this project is in. I am just guessing this is Python,

1 Like

Nitro-Generator by AviDaddy - Replit this the replit

its not my replit btw
i just want to use it

1 Like

it is python its coded in python

@ErwinHost This seems to be in… bash? IDK, but one thing is for sure: this is not a Python repl. That could be why you can’t download colorama.

I had an idea: download all the files and upload them in a proper Python project. It… works, in terms of downloading colorama. Your project seems to be a free nitro generator thingy and 1. there’s a big chance it’s a scam/lie and 2. I don’t know the position that Replit stands here. I don’t really know so I’ll just give you the repl link: https://replit.com/@doxr/follow-me?v=1

go to shell and then do pip install colorama if doesnt work make different repl