zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.36k stars 6.35k forks source link

Python 3.10.12 venv install failure in Ubuntu 22.04 #68580

Closed rrozario1968 closed 6 months ago

rrozario1968 commented 6 months ago

Python_venv_Install_failure

github-actions[bot] commented 6 months ago

Hi @rrozario1968! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

JPHutchins commented 6 months ago

Hi @rrozario1968, I believe that venv is already installed in all recent distributions of python. Please proceed with the command to create a venv:

python3 -m venv .venv

Note here that I named the venv .venv.

If that is working for you then please close this ticket.

Cheers, JP

kartben commented 6 months ago

What install instructions are you following? I would recommend you follow the getting started instructions to the letter, in this case it would have you install python3-venv, which I think should get you past the error your having by trying to force a specific version.

henrikbrixandersen commented 6 months ago

What install instructions are you following? I would recommend you follow the getting started instructions to the letter, in this case it would have you install python3-venv, which I think should get you past the error your having by trying to force a specific version.

I can confirm that following the getting started instructions and using sudo apt-get install python3-venv succeeds on Ubuntu 22.04.

@rrozario1968 Please reopen this issue with further details if this does not work for you.

rrozario1968 commented 6 months ago

Hi, I tried it in different ways but it would not install venv. I tried to follow the guide word for word and it did not work. Best Regards, Robert

From: Benjamin Cabé @.> Sent: Tuesday, February 6, 2024 12:06 AM To: zephyrproject-rtos/zephyr @.> Cc: Rozario Robert (CSS SMD AMR SIS TM) @.>; Mention @.> Subject: Re: [zephyrproject-rtos/zephyr] Phython 3.10.12 venv install failure in Ubuntu 22.04 (Issue #68580)

Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx.

What install instructions are you following? I would recommend you follow the getting started instructions to the letter, in this case it would have you install python3-venv, which I think should get you past the error your having by trying to force a specific version.

— Reply to this email directly, view it on GitHubhttps://github.com/zephyrproject-rtos/zephyr/issues/68580#issuecomment-1928974166, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2NWJMLO2DZAORDVMP6BZJ3YSHP7FAVCNFSM6AAAAABC3AWUOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRYHE3TIMJWGY. You are receiving this because you were mentioned.Message ID: @.**@.>>

kartben commented 6 months ago

As mentioned, please share more details (and actual text, not screenshots, please) if you want help. It is virtually impossible to troubleshoot your problem if all we know is that "[you] tried it in different ways but it would not install". Thanks!