# Autotrain space building - runtime error

**URL:** <https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056>\
**Category:** 🤗AutoTrain\
**Created:** [November 21, 2023, 9:23pm UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056 "2023-11-21T21:23:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoshkeen](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/yoshkeen/32/21689_2.png) [@Yoshkeen](https://discuss.huggingface.co/u/Yoshkeen)\
**Post date:** [November 21, 2023, 9:23pm UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056/1 "2023-11-21T21:23:02Z")

</div>

It used to work fine, but today I keep getting this error when building AutoTrain space. Do you know what is happening here? I have done couple of factory rebuilds, but no luck.

```auto
===== Application Startup at 2023-11-21 21:12:20 =====

==========
== CUDA ==
==========

CUDA Version 12.1.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

*************************
 **DEPRECATION NOTICE!**
 *************************
THIS IMAGE IS DEPRECATED and is scheduled for DELETION.
    https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/support-policy.md

> INFO Installing latest xformers
> INFO Successfully installed latest xformers
Traceback (most recent call last):
  File "/app/env/bin/autotrain", line 33, in <module>
    sys.exit(load_entry_point('autotrain-advanced', 'console_scripts', 'autotrain')())
  File "/app/src/autotrain/cli/autotrain.py", line 48, in main
    command.run()
  File "/app/src/autotrain/cli/run_app.py", line 57, in run
    from ..apps.main import main
  File "/app/src/autotrain/apps/main.py", line 1, in <module>
    import gradio as gr
ModuleNotFoundError: No module named 'gradio'
ERROR conda.cli.main_run:execute(49): `conda run /bin/bash -c autotrain setup && autotrain app --port 7860` failed. (See above for error)

```

---

<div class="post-metadata">

**Author:** ![Mikehoncho123](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@Mikehoncho123](https://discuss.huggingface.co/u/Mikehoncho123)\
**Post date:** [November 21, 2023, 10:30pm UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056/2 "2023-11-21T22:30:15Z")

</div>

I’m having the same issue

---

<div class="post-metadata">

**Author:** ![Prallson](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@Prallson](https://discuss.huggingface.co/u/Prallson)\
**Post date:** [November 21, 2023, 11:55pm UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056/3 "2023-11-21T23:55:29Z")

</div>

Hey! I also get the error.

---

<div class="post-metadata">

**Author:** ![abhishek](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abhishek/32/32360_2.png) [@abhishek](https://discuss.huggingface.co/u/abhishek)\
**Post date:** [November 22, 2023, 6:26am UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056/4 "2023-11-22T06:26:26Z")

</div>

sorry for the inconvenience. pushed a fixed now. build takes ~20mins. after that, it should be fine again.

---

<div class="post-metadata">

**Author:** ![sam79](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@sam79](https://discuss.huggingface.co/u/sam79)\
**Post date:** [November 22, 2023, 6:34am UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056/5 "2023-11-22T06:34:02Z")

</div>

I’m facing the same issue.

---

<div class="post-metadata">

**Author:** ![abhishek](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abhishek/32/32360_2.png) [@abhishek](https://discuss.huggingface.co/u/abhishek)\
**Post date:** [November 22, 2023, 7:57am UTC](https://discuss.huggingface.co/t/autotrain-space-building-runtime-error/63056/6 "2023-11-22T07:57:52Z")

</div>

issue has been fixed!
