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 trialDaniel Bowen
8,577 PointsCan't install b-crypt (El Capitan OSX)
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/c/j1gfpgbx4k14tgfy08r559dh0000gn/T/pip-build-oshr1_p/cffi/
I've searched what I can, and my Google-fu has failed me. Any suggestions or ideas?
1 Answer
Daniel Bowen
8,577 PointsAfter fiddling with it for a day and seeing messages of nothing but "Reinstall OSX", which is entirely unreasonable to ever have to do just because of one mistake, I manually downloaded the 2.7.10 Python from python.org. I installed it, manually copied the framework from Library/Frameworks to System/Library/Frameworks.
I destroyed my original virtualenv, created a new one, resintalled all of flask and its dependencies, and everything installed fine. Just wanted this out there for anyone else who might have this issue.
Daniel Bowen
8,577 PointsDaniel Bowen
8,577 PointsAfter hours of messing with it, I've narrowed it down to a problem with my python installation. XCode also currently doesn't work. I think it has to do with Python having been updated, but I've no idea how to get it back to the original version of 2.7 that El Capitan came with. I'm still pretty new to Mac, been developing on Windows exclusively for a long time.