Avatar ·

rustup स्थापित करने के बाद "No default toolchain configured" लिखता है: क्या करें?

नमस्ते, साथियों! मैं Rust में नया हूँ और environment सेट करने की कोशिश कर रहा हूँ। Ubuntu पर कमांड के माध्यम से rustup स्थापित किया: ```bash curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` स्थापना के बाद terminal को पुनः लोड किया, version जाँचा: ```bash rustc --version ``` और यह error मिली: ``` error: no default toolchain configured; run `rustup default stable` ``` `rustup default stable` चलाने की कोशिश की, लेकिन मिलता है: ``` error: no default toolchain configured ``` यहाँ `rustup show` का आउटपुट है: ``` Default host: x86_64-unknown-linux-gnu rustup home: /home/user/.rustup installed toolchains -------------------- active toolchain ---------------- ``` खाली! कुछ भी स्थापित नहीं है। मैंने `~/.bashrc` में paths जाँचे — वहाँ `source $HOME/.cargo/env` मौजूद है। `rustup-init` के माध्यम से rustup को पुनः स्थापित करने की कोशिश की — कोई बदलाव नहीं। मैं क्या गलत कर रहा हूँ? rustup default toolchain क्यों स्थापित नहीं करता? क्या समस्या access permissions या पुराने version में है? कृपया मदद करें, दूसरे दिन से परेशान हूँ।