Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Setting Up a Local Python Environment Installing Python and Python Libraries Locally Review: Setting Up A Local Python Environment

Blair Murphy
Blair Murphy
12,367 Points

I don't want to install mistune system-wide. What flag should I be using above?

pip install ___________ mistune...i've tried, virtualenv, venv, sudo, markdown, etc. I know it's something simple, just can't think of it. Thanks!

1 Answer

William Li
William Li
Courses Plus Student 26,867 Points

Hi, the flag is --user.

pip install --user mistune

You'll find mentioning of this flag at time stamp 1:28 of this lecture video. Hope it helps