You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document why installation cannot occur to user directory #323
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.
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.
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.
Activity
smcd253 commentedon Mar 29, 2021
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.
stewartadam commentedon Mar 29, 2021
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.
smcd253 commentedon Mar 30, 2021
Stewart Adam (@stewartadam) thanks for your feedback!
We'll look into updating the documentation.
mhshami01 commentedon Mar 23, 2022
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.