install-scenic
यह क्या करती है
यह स्किल Scenic इंस्टॉल करती है, जो ट्रैफ़िक टेस्ट परिदृश्य लिखने का टूल है, ताकि वह आपके CARLA सिमुलेटर के साथ काम करे। यह उन लोगों के लिए है जो Scenic परिदृश्य लिखना या चलाना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप CARLA के लिए Scenic परिदृश्य लिखना शुरू करना चाहते हैं।
- ✓जब आपके पास CARLA का Python क्लाइंट पहले से है और Scenic को उसके साथ काम करवाना है।
- ✓जब इंस्टॉल के बाद कोई Scenic परिदृश्य मॉडल या ब्लूप्रिंट एरर के साथ फ़ेल हो।
Skill का लिंक
https://github.com/carla-simulator/carla/blob/ue58-dev/Skills/setup/install-scenic/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप Scenic इंस्टॉल कर सकते हैं, ताकि मैं अपने CARLA सिमुलेटर के लिए ट्रैफ़िक परिदृश्य लिख सकूँ, और जाँच सकें कि वह मेरे सेटअप में काम करता है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट Scenic को उसी Python सेटअप में इंस्टॉल करता है जिसमें CARLA क्लाइंट है, क्योंकि दोनों साथ काम करने चाहिए। वह चाहे तो उदाहरण परिदृश्य भी डाउनलोड कर सकता है, फिर जाँचता है कि Scenic कमांड, क्लाइंट और संस्करण तालिकाएँ मेल खाती हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Install Scenic
Paths.
scripts/…andreferences/…below are relative to the directory holding this SKILL.md. Your working directory is the user's project, not that directory, so prefix them with its absolute path or the command is not found.
Scenic is pure Python — there is nothing to build and pip install scenic is
the whole install. Two things make it go wrong anyway, and neither reports an
install error:
- The
scenicCLI and thecarlaclient must be in ONE interpreter. Scenic loads the client itself when a scenario names the CARLA model. Split them and the failure arrives mid-run as a model import error, not at install time. - Scenic's blueprint tables are keyed on the CARLA client version. With no table for that version, every vehicle and prop category resolves empty and every scenario fails at sample time with "no blueprints recorded".
So the install order is client first, Scenic second, into the same
interpreter. install_scenic.py refuses to install into an interpreter with no
client unless you pass --force.
Instructions
Progress:
- [ ] Step 1: Check prerequisites (bash scripts/check_env.sh)
- [ ] Step 2: Pick the interpreter — the one that has the CARLA client
- [ ] Step 3: See the plan for this machine
- [ ] Step 4: Install (and clone examples if they are wanted)
- [ ] Step 5: Verify, and record `SCENIC_ROOT` and `PYTHON` with `set_config`
Step 1-3: What is here, and what to do about it
PYTHON=/path/to/venv/bin/python bash scripts/check_env.sh
python3 scripts/install_scenic.py detect # interpreter, Scenic, client, tables
python3 scripts/install_scenic.py plan # the exact commands, and why
Every subcommand takes --python to act on another interpreter:
python3 scripts/install_scenic.py --python ~/.venvs/carla/bin/python detect
detect is the one to read first. It prints which CARLA versions the installed
Scenic has blueprint tables for, and flags a CLI that belongs to a different
environment than the interpreter — the pyenv-shim trap, which otherwise surfaces
much later as a confusing model import failure.
Step 4: Install
# into the interpreter that has the client
python3 scripts/install_scenic.py install
# a specific version
python3 scripts/install_scenic.py install --version 3.1.1
# also clone upstream for the example scenarios and map assets
python3 scripts/install_scenic.py install --clone ~/Scenic
The wheel ships world models only — no example scenarios and no map assets.
--clone is how you get examples/ and assets/maps/CARLA/*.xodr. Skip it if
you are running a ScenarioRunner checkout's own scenarios, which carry their own
copies under srunner/scenic/.
install runs verify when it finishes.
Step 5: Verify and export
python3 scripts/install_scenic.py verify
Checks the five things that actually matter, and exits non-zero on any:
| Check | Why it matters |
|---|---|
scenic importable |
the install worked |
| CLI belongs to this interpreter | otherwise a run uses a different Scenic |
carla client present |
Scenic loads it for the CARLA model |
carla is the extension, not a directory |
a directory named carla on sys.path imports as an empty namespace package |
| blueprint table for this client version | otherwise every category is empty |
scenic.simulators.carla.simulator imports |
the real binding between Scenic and the client |
Then export the root, which is what the scenic skill group is gated on:
export SCENIC_ROOT=~/Scenic # a checkout, for examples
# or, for a pip-only install, the installed package directory:
export SCENIC_ROOT=$(python3 -c 'import os,scenic;print(os.path.dirname(scenic.__file__))')
Running and authoring scenarios is out of scope here — see [[run-scenic-scenario]] and [[create-scenic-scenario]].
Recording the path
An export lasts until the shell exits. Persist SCENIC_ROOT and PYTHON instead, so the
next session — and list_skills — still knows where this went:
set_config({"SCENIC_ROOT": "<the checkout or package dir>",
"PYTHON": "<the interpreter Scenic went into>"})
Without it the group this just enabled keeps reporting available: false,
and the next skill re-detects from scratch. CARLA_ROOT is the only CARLA
path to record: set_config derives the engine-specific variable itself.
Examples
**Example 1: "install Sce
अक्सर पूछे जाने वाले सवाल
Scenic और CARLA क्लाइंट एक ही Python में क्यों होने चाहिए?
Scenic CARLA क्लाइंट को खुद लोड करता है, इसलिए अलग इंस्टॉल होने पर रन के बीच में एरर आती हैं।
क्या इसके लिए उदाहरण चाहिए?
नहीं, पर स्किल वे उदाहरण परिदृश्य डाउनलोड कर सकती है जो पैकेज में शामिल नहीं होते।
संस्करण मेल न खाने से क्या होता है?
Scenic वाहनों की सूची क्लाइंट के संस्करण से लेता है, इसलिए गलत मेल से परिदृश्य के लिए कोई कार उपलब्ध न हो।
जानकारी
लेखक का मूल विवरण
Installs Scenic, the probabilistic scenario description language, for the CARLA in use — pip installing it into the same interpreter that holds the CARLA client, optionally cloning the upstream repo for the example scenarios the wheel does not ship, and verifying that the `scenic` CLI, the client and Scenic's version-keyed blueprint table all agree. Use when the user asks to "install Scenic", "set up Scenic", "download Scenic", "pip install scenic", wants to run `.scenic` files, or has a Scenic whose model import or blueprint lookup fails.
repo: carla-simulator/carla
लोकप्रियता
- GitHub स्टार
- 15k
- रैंकिंग में स्थान
- #11120
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
create-leaderboard-route
15kयह आपके एजेंट को CARLA Leaderboard की रूट फ़ाइल बनाने में मदद करती है, जिसमें वेपॉइंट और सीन ट्रिगर कैमरे से लगाए जाते हैं।
package-leaderboard-agent
15kयह आपके एजेंट को CARLA Leaderboard के लिए Docker इमेज बनाने में मदद करती है, और जाँचती है कि इमेज में एजेंट सही लोड होता है।
read-leaderboard-results
15kयह आपके एजेंट को CARLA Leaderboard की नतीजा फ़ाइल पढ़कर हर रूट का स्कोर समझाने और दूसरे नियम संस्करण में फिर से स्कोर करने में मदद करती है।
run-leaderboard-evaluation
15kयह आपके एजेंट को रूट के सेट पर CARLA Leaderboard मूल्यांकन चलाने में मदद करती है, शुरू करने से पहले सेटअप जाँचकर और चेकपॉइंट सेव करके।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।