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

Issue with : python -m venv venv command #28

Open
LuminareMorning opened this issue Nov 11, 2024 · 13 comments
Open

Issue with : python -m venv venv command #28

LuminareMorning opened this issue Nov 11, 2024 · 13 comments

Comments

@LuminareMorning
Copy link

Hi, i installed Pyton 3.13 and i checked " add python to path ", yet when i use this command it simply telling me " pyton was not found ", help pls !
CWindowsSystem32cmd exe

@iseeface
Copy link

that's because python is not detected on your system.
Try checking "Edit the system environment variables" > "Environment Variables" > in User variables for YourSystemName, click "Path" and check whether python is detected
image

@LuminareMorning
Copy link
Author

that's because python is not detected on your system. Try checking "Edit the system environment variables" > "Environment Variables" > in User variables for YourSystemName, click "Path" and check whether python is detected image

Hi, thx for ur answer and i have this :
PrtScr capture

@iseeface
Copy link

that's because python is not detected on your system. Try checking "Edit the system environment variables" > "Environment Variables" > in User variables for YourSystemName, click "Path" and check whether python is detected image

Hi, thx for ur answer and i have this : PrtScr capture

so, python should have been detected and can be used, is it?

@LuminareMorning
Copy link
Author

I absolutly have no idea to be honest of why it doesn't work and what i should do T-T

@iseeface
Copy link

I absolutly have no idea to be honest of why it doesn't work and what i should do T-T

i can only give advice to you..
did you install python via the website installer or Microsoft Store?
if you installed via Microsoft Store, you have to uninstall it, and install via the installer website.

if you have previously installed it via the installer website, it means you have to reinstall or change the Python version, lower version or higher version.

@LuminareMorning
Copy link
Author

I absolutly have no idea to be honest of why it doesn't work and what i should do T-T

i can only give advice to you.. did you install python via the website installer or Microsoft Store? if you installed via Microsoft Store, you have to uninstall it, and install via the installer website.

if you have previously installed it via the installer website, it means you have to reinstall or change the Python version, lower version or higher version.

I installed it using the website and taking the newer version, i wanted to try a past version but no idea of how to install it since there is no tutorial on the website and they don't provide an installer

@iseeface
Copy link

I absolutly have no idea to be honest of why it doesn't work and what i should do T-T

i can only give advice to you.. did you install python via the website installer or Microsoft Store? if you installed via Microsoft Store, you have to uninstall it, and install via the installer website.
if you have previously installed it via the installer website, it means you have to reinstall or change the Python version, lower version or higher version.

I installed it using the website and taking the newer version, i wanted to try a past version but no idea of how to install it since there is no tutorial on the website and they don't provide an installer

it have, theres .exe on official website, see this https://www.python.org/downloads/

@LuminareMorning
Copy link
Author

There is no exes, there is two zipfiles and i don't understand the difference between the two and which one to chose, there is only exe for the latest version which i have

@iseeface
Copy link

There is no exes, there is two zipfiles and i don't understand the difference between the two and which one to chose, there is only exe for the latest version which i have

try this, this version same with mine
https://www.python.org/downloads/release/python-3119/

it was release on 2 april 2024

why some version doesnt have exe?
because a python version that only provides source code indicates that it has reached the end of its life cycle and is only receiving security updates. The absence of a binary installer (.exe) is due to development focus shifting to newer versions of Python, as well as a reduced burden in releasing support for certain operating systems. Users of this version are expected to be able to download the source code and build it manually if necessary.

@LuminareMorning
Copy link
Author

Thx for the help but i think the issue is just my laptop, that version doesn't work either, still the same message

@myumichi
Copy link

myumichi commented Jan 6, 2025

found the solution, do a complete uninstall of python, run the installer as admin and make sure you have something along the lines of "run installer as admin" and "add to PATH" checked. then restart powershell and it should work. note that there won't be any output when python -m venv venv finishes, just continue the steps as per usual

@ch3rrywine
Copy link

找到解决方案,完全卸载 python,以管理员身份运行安装程序,并确保选中“以管理员身份运行安装程序”和“添加到 PATH”之类的操作。然后重新启动 powershell,它应该可以工作。请注意,python -m venv venv完成后不会有任何输出,只需按常规继续执行步骤即可

thank u

@LuminareMorning
Copy link
Author

found the solution, do a complete uninstall of python, run the installer as admin and make sure you have something along the lines of "run installer as admin" and "add to PATH" checked. then restart powershell and it should work. note that there won't be any output when python -m venv venv finishes, just continue the steps as per usual

Hi, Thx but still have the same issue, i gave up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants