{"id":21,"date":"2023-05-26T16:38:43","date_gmt":"2023-05-26T13:38:43","guid":{"rendered":"https:\/\/fsaeed.blog\/?p=21"},"modified":"2023-05-26T16:41:02","modified_gmt":"2023-05-26T13:41:02","slug":"python-installation-on-windows-no-admin-rights-no-problem","status":"publish","type":"post","link":"https:\/\/fsaeed.blog\/index.php\/2023\/05\/26\/python-installation-on-windows-no-admin-rights-no-problem\/","title":{"rendered":"Python Installation on Windows: No Admin Rights? No Problem!"},"content":{"rendered":"\n<p>Running into hurdles even before starting your Python journey can be disheartening, especially when the issue is as trivial as not having admin rights on your Windows machine. But don&#8217;t worry, we&#8217;ve got your back. In this post, we&#8217;ll guide you through installing Python on a Windows machine, even without admin rights.<\/p>\n\n\n\n<p><strong>Step 1: Downloading Python<\/strong><br>First, you&#8217;ll need to download the Python installer:<\/p>\n\n\n\n<p>Head over to the <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\">Python&#8217;s official downloads page<\/a>.<br>Find the version you want to install and click on it. As a beginner, it&#8217;s recommended to download the latest version.<br>Remember to choose the version that corresponds to your machine&#8217;s architecture (32-bit or 64-bit).<\/p>\n\n\n\n<p><strong>Step 2: Run the Python Installer<\/strong><br>Once you&#8217;ve downloaded the Python installer, it&#8217;s time to run it:<\/p>\n\n\n\n<p>Locate the Python installer file you just downloaded.<br>Right-click the file and choose &#8220;Run as administrator&#8221;. If you&#8217;re not an admin, a User Account Control dialogue will pop up asking for the admin password. If you can&#8217;t provide this, simply click &#8220;No&#8221;.<br>This will run the installer without admin privileges.<\/p>\n\n\n\n<p><strong>Step 3: Customize Installation<\/strong><br>In the Python setup window, you&#8217;ll see two installation options: &#8220;Install Now&#8221; and &#8220;Customize Installation&#8221;. Since you&#8217;re installing without admin rights, you should select &#8220;Customize Installation&#8221;.<\/p>\n\n\n\n<p><strong>Step 4: Customize Install Location<\/strong><br>This is where you have to be careful. By default, Python is installed in the Program Files folder, a location that requires admin rights. To bypass this, you need to specify a different install location:<\/p>\n\n\n\n<p>In the &#8220;Customize Python&#8221; screen, click &#8220;Next&#8221;.<br>In the next screen titled &#8220;Advanced Options&#8221;, check the box that says &#8220;Install for all users&#8221;. This will grey out and you can&#8217;t change it because you don&#8217;t have admin rights. That&#8217;s okay.<br>In the &#8220;Customize install location&#8221; field, specify a path that doesn&#8217;t require admin rights. This could be a folder in your &#8220;Documents&#8221; or &#8220;Downloads&#8221; or any location where you have write permissions.<br>An example path could look like this: C:\\Users\\YourUsername\\Python39\\<\/p>\n\n\n\n<p><strong>Step 5: Install Python<\/strong><br>With your custom path set, click &#8220;Install&#8221; and the Python installer will begin to install Python in the specified directory.<\/p>\n\n\n\n<p><strong>Step 6: Verify Installation<\/strong><br>To confirm that Python was installed correctly:<\/p>\n\n\n\n<p>Open Command Prompt.<br>Type python &#8211;version and press Enter. This should display the Python version that you just installed.<br>If the Python version doesn&#8217;t appear, don&#8217;t panic. It simply means that Python is not in your system path, a common situation when installing without admin rights. To run Python, you&#8217;ll need to specify the full path of the python.exe file in the Command Prompt. Here&#8217;s how:<\/p>\n\n\n\n<p>Navigate to the location where you installed Python.<br>Open the folder and locate python.exe.<br>In the address bar at the top of the window, you&#8217;ll see the full path of python.exe. Copy this.<br>Go back to Command Prompt and paste this path, then press Enter.<br>This will run Python, proving that your installation was successful!<\/p>\n\n\n\n<p>That&#8217;s it! You&#8217;ve successfully installed Python on your Windows machine without admin rights. Now, you&#8217;re ready to start your Python programming adventure. Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running into hurdles even before starting your Python journey can be disheartening, especially when the issue is as trivial as not having admin rights on your Windows machine. But don&#8217;t worry, we&#8217;ve got your back. In this post, we&#8217;ll guide you through installing Python on a Windows machine, even without admin rights. Step 1: Downloading [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":3,"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/posts\/21\/revisions\/24"}],"wp:attachment":[{"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fsaeed.blog\/index.php\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}