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

JavaScript npm Basics (retiring) Installing Packages with npm Installing Local Packages

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Cannot install bcrypt, seems python2 hasn't installed. Windows 7

I have python3 isnstalled on my machine. Environment variables setup and I can run npm commands on it.

But I also have python2 files on my system as I try to install bcrypt but it seems that this hasn't worked and python2 isn't installed.

I have the environment variables for Windows 7, python2 set up but I'm baffled as to what to do next.

Helllllp :) Thanks

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 91,253 Points

Bcrypt depends on a version of python between v2.5.0 < 3.0.0 At the time of recording the video.

My version of Python of 3.5.1 on my local machine is Workspaces is 3.5.0 both recorded on 5th May 2016

On Workspaces, I managed a clean install of bycrypt

On my local machine I managed a clean install of express. So the problem seems to be with bcrypt and not with npm