Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Setting Up a Local Python Environment Installing Python and Python Libraries Locally Using virtualenv

Haider Khan
Haider Khan
3,081 Points

When I try to add the venv path variable it gives me a "bash... permission denied" to that directory. How do I fix this?

I get a:

~bash: /Users/UserName/Library/Python/3.4/bin/virtualenv: permission denied

error when trying to create the path variable what can I do to fix this?

kevin cleary
kevin cleary
4,690 Points

Hi Haider,

My name is Kevin. I'm having the same issue as you. I'm wondering, if and how you got around this issue. Thanks.

1 Answer

Jeremy Fisk
Jeremy Fisk
7,768 Points

I am running windows 8.1 and installed Python 3.4 directly to the C drive (i.e. C/Python34 and NOT IN /Users/UserName/Library) and subsuquently added C:\Python34\ to my path variable and now successfully have venv installed on my system

You might try reinstalling in the above manner ..