Skip to content

Document why installation cannot occur to user directory #323

Open

Description

Global installations are generally bad practice and have a high probability of conflicting with other software. The README mentions:

Note: Please install iotedgehubdev to root on Linux/macOS (Don't use '--user' option in the 'pip install' command).

Please elaborate on the reasons for this - iotedgehubdev should support user installation, or better yet, a more sandboxed environments like a pyenv/virtualenv.

Activity

  1. smcd253 commented on Mar 29, 2021

    @smcd253
    Contributor

    Hi Stewart Adam (@stewartadam) ,

    Thanks for your question.

    Can you further explain your scenario and what benefit you would gain from being able to install by user?

    As for virtual environments, this is quite possible (it's how I always run this tool so I can have multiple versions on the same machine). However, please keep in mind that you can only run one instance of iotedgehubdev at a time.

  2. stewartadam commented on Mar 29, 2021

    @stewartadam
    Author

    Thanks Spencer McDonough (@smcd253)! Per our IM conversation - virtualenvs/pyenvs can make it a lot easier to reduce the potential for conflicts with for developers working across multiple OSs and different Python projects. Glad to hear that localized installation is supported - we'll work towards giving this a try and seeing how VS Code reacts.

  3. smcd253 commented on Mar 30, 2021

    @smcd253
    Contributor

    Stewart Adam (@stewartadam) thanks for your feedback!
    We'll look into updating the documentation.

  4. mhshami01 commented on Mar 23, 2022

    @mhshami01
    Contributor

    Hello Stewart Adam (@stewartadam),

    Thank you for your contribution. Starting with v0.14.14, installation will be to user's directory. Running as sudo or system is no longer required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions