Python 2.7.2 Note: A newer bugfix release, 2.7.3, is currently. Its use is recommended over Python 2.7.2. Python 2.7.2 was released on June 11th, 2011. The Python 2.7 series is scheduled to be the last major version in the 2.x series before 2.x moves into an extended maintenance period. The 2.7 series contains many of the features that were first released in Python 3.1. Improvements in this release include: • An ordered dictionary type • New unittest features including test skipping, new assert methods, and test discovery • A much faster io module • Automatic numbering of fields in the str.format() method • Float repr improvements backported from 3.x • Tile support for Tkinter • A backport of the memoryview object from 3.x • Set literals • Set and dictionary comprehensions • Dictionary views • New syntax for nested with statements • The sysconfig module See these resources for further information: • •. • • Report bugs. I tried to install python dateutil for my django tastypie but unsuccessful. Installing python dateutil. How to install python-dateutil on Windows? Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. Windows x86 MSI Installer (2.7.0). I think that the essence of this question is how to install Python and be able to use it from the command line. The steps below show how to get all that working. Check that you didn't miss anything: • From download appropriate Python 2.7.6 Windows Installer. (If that link doesn't work, check ) • Run the file • Select install for all users or install just for me, click Next • You'll see it installs under the C: Python27 folder, click Next • Click Next again for the 'Customize Python' step • Click Finish • Open Control Panel, then System • Click 'Advanced system settings' on the left • Click the 'Environment Variables' button • Under 'System variables' click the variable called 'Path' then the 'Edit.' (This will set it for all users, you could instead choose to edit the User variables to just set python as a command prompt command for the current user) • Without deleting any other text, add C: Python27; (include the semi-colon) to the beginning of the 'Variable value' and click OK. • Click OK on the 'Environment Variables' window. Open a new command prompt window type python, you will have python running in the command prompt. Note: command prompt windows open prior to setting the Environment Variable will not have the python command available. How to install Python / Pip on Windows Steps • Visit the official Python download page and grab the Windows installer for the latest version of Python 3. Python.org/downloads/ • Run the installer. Be sure to check the option to add Python to your PATH while installing. • Open PowerShell as admin by right clicking on the PowerShell icon and selecting ‘Run as Admin’ • To solve permission issues, run the following command: Set-ExecutionPolicy Unrestricted • Next, set the system’s PATH variable to include directories that include Python components and packages we’ll add later. To do this: C: Python35-32;C: Python35-32 Lib site-packages;C: Python35-32 Scripts • download the bootstrap scripts for easy_install and pip from ez_setup.py get-pip.py • Save both the files in Python Installed folder Go to Python folder and run following: Python ez_setup.py Python get-pip.py • To create a Virtual Environment, use the following commands: cd c: python pip install virtualenv virtualenv test. Test Scripts activate.ps1 pip install IPython ipython3 Now You can install any Python package with pip That’s it!!
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2018
Categories |