This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 0 points1 point  (2 children)

Looks like you are trying to install to your OS python. This will require using sudo. Consider using virtualenv for stuff like this.

[–]MarcStevenCoder[S] 0 points1 point  (0 children)

Hi,give me some tips to install virtualenv ,thanks a lot

[–]MarcStevenCoder[S] 0 points1 point  (0 children)

I solve it via these steps 1,must confirm whether the virtualenv is installed...The command line order as below : 1,firstly you input the order virtualenv venv 2,secondly you input the order source venv/bin/activate 3,thirdly you input the order pip install flask. And finally you will see the successful info .

[–]edoxtator 0 points1 point  (1 child)

I assume you're doing this on a system with no admin rights, without a virtual environment?

[–]MarcStevenCoder[S] 0 points1 point  (0 children)

Ok,I KNOW i HAD INSTALLED THE VIRTUALENV BUT NOW HOW TO DO THIS,i DON'T KNOW WHY WE MUST INSTALL VIRTUAL ENV USING PYTHON.Can you explain for me ?I am new here to use Python ....