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

Error during weed_detection_env.yaml setup #144

Closed
nitinya9av opened this issue Feb 6, 2024 · 3 comments
Closed

Error during weed_detection_env.yaml setup #144

nitinya9av opened this issue Feb 6, 2024 · 3 comments
Assignees
Labels
notebooks Issues encountered while running the notebooks question Information requested from user

Comments

@nitinya9av
Copy link

Topic

Notebook

Ask away!

When attempting to create a conda environment for the weed_detection Notebook using the command conda env create -f ./weed_detection_env.yaml, an error message is being generated.

ERROR conda.core.link:_execute(945): An error occurred while installing package 'conda-forge::widgetsnbextension-3.5.2-py38h578d9bd_1'.                                                                    
Rolling back transaction: done                                                                                                                                                                             
                                                                                                                                                                                                           
LinkError: post-link script failed for package conda-forge::widgetsnbextension-3.5.2-py38h578d9bd_1                                                                                                        
location of failed script: /home/beats/anaconda3/envs/weed_detection/bin/.widgetsnbextension-post-link.sh                                                                                                  
==> script messages <==                                                                                                                                                                                    
/home/beats/anaconda3/envs/weed_detection/bin/.widgetsnbextension-post-link.sh: line 1: /home/beats/anaconda3/envs/weed_detection/bin/jupyter-nbextension: No such file or directory                       
                                                                                                                                                                                                           
==> script output <==                                                                                                                                                                                      
stdout:                                                                                                                                                                                                    
stderr:                                                                                                                                                                                                    
return code: 127                                                                                                                                                                                           
                                                                                                                                                                                                           
()

Screenshot from 2024-02-06 16-36-35

@nitinya9av nitinya9av added the question Information requested from user label Feb 6, 2024
@github-actions github-actions bot added triage Issues still not triaged by team notebooks Issues encountered while running the notebooks labels Feb 6, 2024
@rafaspadilha
Copy link
Contributor

Hey, @nitinya9av.

Please consider using micromamba instead of conda. This is yet not updated in our documentation, but moving forward micromamba will be the default to install and manage the requirements of our notebooks.

The command for creating the environment should be:

micromamba  env create -f weed_detection_env.yaml  
micromamba activate farmvibes-ai  

Please let us know if this works for you. The updated documentation will be ready by the time of the next release.

(Related to #141 )

@rafaspadilha rafaspadilha removed the triage Issues still not triaged by team label Feb 6, 2024
@rafaspadilha rafaspadilha self-assigned this Feb 6, 2024
@rafaspadilha rafaspadilha added the next-release-fix Issues with a fix planned for the next release label Feb 6, 2024
@nitinya9av
Copy link
Author

Hello @rafaspadilha

I successfully installed Micromamba by executing the command "${SHELL}" <(curl -L micro.mamba.pm/install.sh). Subsequently, I was able to build an environment for the weed_detection notebook using the command micromamba env create -f weed_detection_env.yaml.

@rafaspadilha
Copy link
Contributor

Awesome! That is great to hear, @nitinya9av. Closing this issue for now. Feel free to open a new one if you have more doubts.

@rafaspadilha rafaspadilha removed the next-release-fix Issues with a fix planned for the next release label Feb 8, 2024
farmvibes-ai-cd added a commit that referenced this issue Feb 8, 2024
- [🎉 NEW] We now support remote cluster creation on any Azure Cloud
  Environment, abstracting the requirements of different cloud
  environments and backend services. This means we now support
  deployments in sovereign clouds, such as the [US Government
  Cloud](https://learn.microsoft.com/en-us/azure/azure-government/documentation-government-welcome),
  the [German Cloud](https://learn.microsoft.com/en-us/azure/germany/),
  and the [China Cloud](https://learn.microsoft.com/en-us/azure/china/overview-operations),
  in addition to the Azure Public Cloud.
- [📈 IMPROVEMENT] We upgraded terraform provider to version 3.89.0 to
  support cluster setup through Azure Cloud Shell.
- [⚒️ FIX] We fixed an issue that would cause the local cluster setup to
  fail in case the cluster name had underscores. Related to issue #133.
- [📈 IMPROVEMENT] We revised the notebook dependencies and changed the
  default environment and package manager from Conda to
  [Micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html).
  Environments should build considerably faster and present fewer
  dependency issues. Related to issues #141 and #144.
- [🎉 NEW] We added instructions on setting up the remote cluster using
  Azure Cloud Shell to the [Remote Cluster User
  Guide](https://microsoft.github.io/farmvibes-ai/docfiles/markdown/AKS.html).
- [⚒️ FIX] We fixed a bug that prevented the REST API documentation page
  to be rendered correctly. Related to issue #131.

----

Co-authored-by: Bruno Silva <brunosilva@microsoft.com>
Co-authored-by: Peter Hammond <v-phammond@microsoft.com>
Co-authored-by: Rafael Padilha <rpadilha@microsoft.com>
Co-authored-by: Renato Luiz de Freitas Cunha <renato.cunha@microsoft.com>
Co-authored-by: Rick Gutierrez <ricardgu@microsoft.com>
farmvibes-ai-cd added a commit that referenced this issue Feb 8, 2024
- [🎉 NEW] We now support remote cluster creation on any Azure Cloud
  Environment, abstracting the requirements of different cloud
  environments and backend services. This means we now support
  deployments in sovereign clouds, such as the [US Government
  Cloud](https://learn.microsoft.com/en-us/azure/azure-government/documentation-government-welcome),
  the [German Cloud](https://learn.microsoft.com/en-us/azure/germany/),
  and the [China Cloud](https://learn.microsoft.com/en-us/azure/china/overview-operations),
  in addition to the Azure Public Cloud.
- [📈 IMPROVEMENT] We upgraded terraform provider to version 3.89.0 to
  support cluster setup through Azure Cloud Shell.
- [⚒️ FIX] We fixed an issue that would cause the local cluster setup to
  fail in case the cluster name had underscores. Related to issue #133.
- [📈 IMPROVEMENT] We revised the notebook dependencies and changed the
  default environment and package manager from Conda to
  [Micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html).
  Environments should build considerably faster and present fewer
  dependency issues. Related to issues #141 and #144.
- [🎉 NEW] We added instructions on setting up the remote cluster using
  Azure Cloud Shell to the [Remote Cluster User
  Guide](https://microsoft.github.io/farmvibes-ai/docfiles/markdown/AKS.html).
- [⚒️ FIX] We fixed a bug that prevented the REST API documentation page
  to be rendered correctly. Related to issue #131.

----

Co-authored-by: Bruno Silva <brunosilva@microsoft.com>
Co-authored-by: Peter Hammond <v-phammond@microsoft.com>
Co-authored-by: Rafael Padilha <rpadilha@microsoft.com>
Co-authored-by: Renato Luiz de Freitas Cunha <renato.cunha@microsoft.com>
Co-authored-by: Rick Gutierrez <ricardgu@microsoft.com>
renatolfc added a commit that referenced this issue Feb 8, 2024
…146)

- [🎉 NEW] We now support remote cluster creation on any Azure Cloud
Environment, abstracting the requirements of different cloud
environments and backend services. This means we now support deployments
in sovereign clouds, such as the [US Government
Cloud](https://learn.microsoft.com/en-us/azure/azure-government/documentation-government-welcome),
the [German Cloud](https://learn.microsoft.com/en-us/azure/germany/),
and the [China
Cloud](https://learn.microsoft.com/en-us/azure/china/overview-operations),
in addition to the Azure Public Cloud.
- [📈 IMPROVEMENT] We upgraded terraform provider to version 3.89.0 to
support cluster setup through Azure Cloud Shell.
- [⚒️ FIX] We fixed an issue that would cause the local cluster setup to
fail in case the cluster name had underscores. Related to issue #133.
- [📈 IMPROVEMENT] We revised the notebook dependencies and changed the
default environment and package manager from Conda to
[Micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html).
Environments should build considerably faster and present fewer
dependency issues. Related to issues #141 and #144.
- [🎉 NEW] We added instructions on setting up the remote cluster using
Azure Cloud Shell to the [Remote Cluster User
Guide](https://microsoft.github.io/farmvibes-ai/docfiles/markdown/AKS.html).
- [⚒️ FIX] We fixed a bug that prevented the REST API documentation page
to be rendered correctly. Related to issue #131.

----

Co-authored-by: FarmVibes Release Pipeline <farmvibesaicd@microsoft.com>
Co-authored-by: Bruno Silva <brunosilva@microsoft.com>
Co-authored-by: Peter Hammond <v-phammond@microsoft.com>
Co-authored-by: Rafael Padilha <rpadilha@microsoft.com>
Co-authored-by: Rick Gutierrez <ricardgu@microsoft.com>
farmvibes-ai-cd added a commit that referenced this issue Apr 5, 2024
- [🎉 NEW] We now support remote cluster creation on any Azure Cloud
  Environment, abstracting the requirements of different cloud
  environments and backend services. This means we now support
  deployments in sovereign clouds, such as the [US Government
  Cloud](https://learn.microsoft.com/en-us/azure/azure-government/documentation-government-welcome),
  the [German Cloud](https://learn.microsoft.com/en-us/azure/germany/),
  and the [China Cloud](https://learn.microsoft.com/en-us/azure/china/overview-operations),
  in addition to the Azure Public Cloud.
- [📈 IMPROVEMENT] We upgraded terraform provider to version 3.89.0 to
  support cluster setup through Azure Cloud Shell.
- [⚒️ FIX] We fixed an issue that would cause the local cluster setup to
  fail in case the cluster name had underscores. Related to issue #133.
- [📈 IMPROVEMENT] We revised the notebook dependencies and changed the
  default environment and package manager from Conda to
  [Micromamba](https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html).
  Environments should build considerably faster and present fewer
  dependency issues. Related to issues #141 and #144.
- [🎉 NEW] We added instructions on setting up the remote cluster using
  Azure Cloud Shell to the [Remote Cluster User
  Guide](https://microsoft.github.io/farmvibes-ai/docfiles/markdown/AKS.html).
- [⚒️ FIX] We fixed a bug that prevented the REST API documentation page
  to be rendered correctly. Related to issue #131.

----

Co-authored-by: Bruno Silva <brunosilva@microsoft.com>
Co-authored-by: Peter Hammond <v-phammond@microsoft.com>
Co-authored-by: Rafael Padilha <rpadilha@microsoft.com>
Co-authored-by: Renato Luiz de Freitas Cunha <renato.cunha@microsoft.com>
Co-authored-by: Rick Gutierrez <ricardgu@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notebooks Issues encountered while running the notebooks question Information requested from user
Projects
None yet
Development

No branches or pull requests

2 participants