-
Notifications
You must be signed in to change notification settings - Fork 67
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
[QUESTION] How to use conda? #69
Comments
I am not familiar with conda, but from the docs you posted it seems that the result of the (source-shell (sh-str conda activate)) |
Unfortunately it doesn't work, it uses custom bash functions it seems ...
It'd be good to add automatic bash-to-closh script conversion to the
roadmap?
…On Thu, Mar 29, 2018 at 6:03 PM, Jakub Dundalek ***@***.***> wrote:
I am not familiar with conda, but from the docs you posted it seems that
the result of the conda activate is the thing that needs to be sourced.
So this might do the trick:
(source-shell (sh-str conda activate))
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#69 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Aii--nuG8qC37KcBC8pTtNemenIm8H9Nks5tjOLAgaJpZM4S_Vyi>
.
|
I see, I overlooked some details. Maybe try: (source-shell "bash" "/Users/evar/anaconda/etc/profile.d/conda.sh")
(source-shell "conda activate") |
@NightMachinary Were you able to run conda with those last commands? |
No, it returns errors:
…On Sat, Apr 14, 2018 at 3:55 PM, Jakub Dundalek ***@***.***> wrote:
@NightMachinary <https://github.com/NightMachinary> Were you able to run
conda with those last commands?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Aii--lz0krPnvJp6lkvsLW1mAV0g96TVks5todykgaJpZM4S_Vyi>
.
|
Could you provide the error output? |
@dundalek Oh, I had included an image of the error but it was lost during the mail to github conversion it seems. Here you go: |
@NightMachinary I just tried conda in a VM, and I think I got it now:
Thanks for your patience. |
Thanks! This seems to work properly.
…On Sun, Apr 15, 2018 at 7:41 PM, Jakub Dundalek ***@***.***> wrote:
@NightMachinary <https://github.com/NightMachinary> I just tried conda in
a VM, and I think I got it now:
(source-shell ". ~/anaconda/etc/profile.d/conda.sh; conda activate")
Thanks for your patience.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#69 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Aii--kJkaOKNTpB0eOxAZe0pMYH3C2WXks5to2MjgaJpZM4S_Vyi>
.
|
Cool! |
Conda uses a .sh script to start itself up, and running that script via
source-shell
does no good.The text was updated successfully, but these errors were encountered: