Giter Club home page Giter Club logo

Comments (9)

Falldog avatar Falldog commented on June 16, 2024

I think you installed pyconcrete as site-packages, it will generate pyconcrete.pth in your site-packages, python will default load all *.pth at launch. So your main.py execute by default python executable, it will load pyconcrete.pth and then import pyconcrete automatically.

from pyconcrete.

animebing avatar animebing commented on June 16, 2024

@Falldog Thank you for your quick reply, what should I do if I don't want this characteristic, may remove 'pyconcrete.pth'?

from pyconcrete.

Falldog avatar Falldog commented on June 16, 2024

You should follow the README https://github.com/Falldog/pyconcrete#partial-encrypted-pyconcrete-as-lib, install pyconcrete as local library rather than global package

You can uninstall pyconcrete or delete pyconcrete.pth to revise current environment

from pyconcrete.

animebing avatar animebing commented on June 16, 2024

@Falldog I have deleted pyconcrete.pth and it works, maybe I should install it as a local library. I really appreciate your kind and quick reply.

from pyconcrete.

animebing avatar animebing commented on June 16, 2024

@Falldog I am going to install pyconcrete in a shell script, but I don't want to input the passphrase during the process, so whether I can just simply add --install-option="--passphrase=<your passphrase>" after python setup.py install, thanks.

from pyconcrete.

Falldog avatar Falldog commented on June 16, 2024

@animebing for current pyconcreate installation behavior not allow setup passphrase after installation. Please make your shell script to use credentials mechanism to install pyconcrete.

for your reference: https://unix.stackexchange.com/questions/212329/hiding-password-in-shell-scripts

from pyconcrete.

animebing avatar animebing commented on June 16, 2024

from pyconcrete.

Falldog avatar Falldog commented on June 16, 2024

Well noted
Please give it a try

python setup.py install --passphrase=<your passphrase>

from pyconcrete.

animebing avatar animebing commented on June 16, 2024

@Falldog it works, thanks.

from pyconcrete.

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.