Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document why installation cannot occur to user directory #323

Open
stewartadam opened this issue Mar 28, 2021 · 4 comments
Open

Document why installation cannot occur to user directory #323

stewartadam opened this issue Mar 28, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@stewartadam
Copy link

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.

@smcd253
Copy link
Contributor

smcd253 commented Mar 29, 2021

Hi @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
Copy link
Author

Thanks @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
Copy link
Contributor

smcd253 commented Mar 30, 2021

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

@smcd253 smcd253 self-assigned this Mar 30, 2021
@smcd253 smcd253 added the enhancement New feature or request label Mar 30, 2021
@mhshami01
Copy link
Contributor

Hello @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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants