Giter Site home page Giter Site logo

Won't install through pip on OS/X about bcrypt HOT 2 CLOSED

pyca avatar pyca commented on July 21, 2024
Won't install through pip on OS/X

from bcrypt.

Comments (2)

dstufft avatar dstufft commented on July 21, 2024

Two different errors, on Ubuntu you need to isntall the python-dev package in order to get Python.h, on OSX you're hitting hit by pypa/pip#1654.

from bcrypt.

typophil avatar typophil commented on July 21, 2024

Hey,

thanks for the quick reply. Know this to be two different error's, would it have been a cleaner approach, had I put these in two different issues? Just so I know for the future.

For the Ubuntu issue, I got it installed now. BTW, does bcrypto patch my glibc?

For the Mac issue, exporting ARCHFLAGS prior to running will solve this. But, running it as non-root user you should run it as

 → sudo -E pip install bcrypt

-E makes sudo "consider the environment" or rather preserve the environment when switching to the super user context, overriding the env_reset.

This now works for me as well. So thanks again.

from bcrypt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.