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

Install with conda #43

Closed
mngauthier opened this issue Jun 5, 2020 · 3 comments
Closed

Install with conda #43

mngauthier opened this issue Jun 5, 2020 · 3 comments

Comments

@mngauthier
Copy link

I created a conda environment 'toto' (with conda version 4.8.3) in which I installed Python 3.7, alinea.astk alinea.caribu openalea.lpy openalea.mtg from the channels conda-forge and fredboudon.

Then, I installed adel. Adel's installation created the following file in my conda environment envs\toto\etc\conda\activate.d\openalea.bat.
This file seems to have been created by openalea/deploy/environ_var.py
The batch is called when activating my environment toto, leading to the following message.

(base) C:\Users\mngauthier\Documents\Marion_These\WheatFspm\adel>conda activate toto
C:\Users\mngauthier\Documents\Marion_These\WheatFspm\adel>############ Configuration ############
'############' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
-z était inattendu.
C:\Users\mngauthier\Documents\Marion_These\WheatFspm\adel>if [ -z "$PATH" ]; then
C:\Users\mngauthier\Documents\Marion_These\WheatFspm\adel>

The consequence is that I can not activate my environment.
However, deleting 'etc\conda\activate.d\openalea.bat` solved the issue.

@rbarillot
Copy link

Additional information: I did the same in my windows machine also but the openalea.bat file is not created and I can therefore activate and use my conda env

@mngauthier
Copy link
Author

FYI: I did the same today on another computer (without former install of conda, opeanalea and adel) and I got the same error. I solved it by the same method.

@mlabadie
Copy link

I the same error in windows with miniconda 3 and can be solve by the same method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants