I'm new to stack overflow. I was wondering if anybody knew if there was a .msi package for a python interpreter for python 3.5, I'm teaching a basic python class and wanted to be prepared for when it starts in a few weeks. There is a .msi packaged interpreter for 2.7 python on the official python.org downloads page but not 3.5 it seems. I am trying to use the interpreter in the community PyCharm IDE because I'm assuming most of the students will be using windows, not Linux (like I'm using). Any help would be greatly appreciated. Thank you in advance.
After Python 3.4.4 was released python.org stopped providing MSI installers for their Windows releases. Web-based, exectuable, and zipped installers are now provided for both 32-bit and 64-bit Windows releases. I'm not sure what the reason for this switch was, but an exectuable will install Python just fine. You can find Python 3.5.2 Windows executable installer at the bottom of this page.
All Python installs come with a Python interpreter. Make sure you select to add Python to your PATH during the install process. After Python finishes installing, open a Command Prompt, and type python to access the Python interpreter.
Related
I was trying to create Python executables on Windows 10 Pro (latest) so was upgrading to the latest packages but it's changed.
I've just gotten rid of Python 3.6 and reinstalled Python 3.9. I then went and installed PythonWin for it using the following (there no longer seems to be what was a standard install package):
**pip install pywin32**
Python is on the start menu but, unlike earlier installs, the new way of installing PythonWin this doesn't seem to give me any kind of way to run the program. Surely it should create some kind of shortcut on the start menu?
Any advice on this would be most helpful.
James
SOLVED!
While I still have no idea why a Start Menu shortcut wasn't installed, I have found the executable that runs PythonWin.
It was located in the following folder:
"C:\Users<MyUserID>\AppData\Local\Programs\Python\Python39\Lib\site-packages\pythonwin"
Thanks :)
I am quite new to programming. Unlike any other issue I've had so far, this one I don't seem to be able to find an answer for anywhere on the web.
My VScode is displaying its current interpreter as python 3.8.5. The actual version is 3.9.5 and I cannot find out why is it so.
Now, I upgraded my python version from 3.8.5 to 3.9.5 via terminal weeks ago, however, packages installed into global enviroment would't import till the moment I actually manually installed the newest 3.9 version and deleted 3.8 from app folder. After that, I am able to call my packages, however, my VSCode still displays the old version and does not offer me 3.9 interpreter.
There must be something I'm missing.
Thanks for reading.
It appears that I'm still using Python 3.8.6 even though the Microsoft store version of python says the 3.9 update was released and that I have it installed. How can I use the new version from the Microsoft store? I tried reinstalling multiple times and tried installing from the python website before but I ran into a problem where I couldn't install libraries for some reason.
to fix this, do the following
Go to Python's official website, download the latest version of python 3.9.
delete the .vscode folder and restart your editor.
select your python version in the drop down menu as 3.9.
Warning: python 3.9 will not work on Windows 7 and below
I tried this process in my computer:
Download python3.9. I checked "Add Python3.9 to PATH" before installation:
It automatically adds python3.9 to the environment variables of the system:
Open the python interpreter in VSCode:
It is recommended that you enter "where python" in the cmd window to check whether python3.9 is available. In addition, please use the latest version of VSCode and Python extensions.(2020.10.332292344)
I am trying to install Python 3.6.9 and am having problems.
First I downloaded Python-3.6.9-tgz, then extracted it to get Python-3.6.9.tar, then extracted that to get a folder called Python-3.6.9
This has setup.py in it. So on windows 10 I opened the command prompt and navigated to that folder and typed: setup.py install. This opens up visual studio that I already have and does nothing. Please let me know if I need to do something else.
I tried to add environmental variables but nothing has worked.
First of all: You should really just download Python 3.7.4. Python 3.7 is backwards compatible with Python 3.6.
The Python 3.6.9 release is a security-only release primarily aimed at Long-term-support Linux distributions that must continue to support 3.6.x packages. As such no binary installers are provided, and Windows users are instead expected to have upgraded to 3.7 already.
If you still feel you want to compile Python 3.6.9, then the README.rst file includes installation instructions for Unix, Linux, BSD, macOS, and Cygwin, and for Windows points you to a dedicated file:
On Windows, see PCbuild/readme.txt.
which can be found online at https://github.com/python/cpython/blob/v3.6.9/PCbuild/readme.txt. The same directory holds a batch script designed to make building Python easier on Windows. From the above documentation:
Building Python using the build.bat script
In this directory you can find build.bat, a script designed to make
building Python on Windows simpler. This script will use the env.bat
script to detect one of Visual Studio 2015, 2013, 2012, or 2010, any of
which may be used to build Python, though only Visual Studio 2015 is
officially supported.
By default, build.bat will build Python in Release configuration for
the 32-bit Win32 platform. It accepts several arguments to change
this behavior, try build.bat -h to learn more.
The setup.py script is used indirectly by the build process. Don't run it yourself.
I am trying to convert a python script to an executable file.
I have tried cxFreeze and py2exe, but both told me that Python27 are not in the registry. I found several other questions that tell me to go to regedit and find the python folder, but it is not there. I tried going to HKEY_CURRENT_USER/Software and Python27 was not there.
Do I need to add it there to run the installer for cxFreeze or py2exe or is there another way?
Tools like PyInstaller package python scripts with the python run-time interpreter into standalone Windows applications. Installation of python (2.7.x) and all required python libraries is a prerequisite.
My suggestion is to install the latest Python 2.7 from this location: https://www.python.org/downloads/release/python-2710/. Make sure to choose the correct architecture, apparently 32-bit is the easiest to get working.
I fixed the issue. Apparently I accidentally installed 32-bit Python on a 64-bit machine. So I have to use the 32-bit installer because it installs the registry key in a different place. Thanks for the help anyways.