|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Can the default python be changed to a newer version?
I'd like the system to use python32 in the place of python27. I am aware that a lot of applications are dependent upon py27.
|
|
|||
If you want to break a lot of things, go for it.. at least on OpenBSD, there is no executable named "python".
The system administrator can create a link either python2.6 or whatever other version happens to be installed. Any particular reason why calling python3 manually isn't what you want? anyone on your system would probably assume it to be linked to python2. |
|
|||
I hosed the install and was thinking, "What do I need to do for the next install not to choke?"
Everything kept defaulting to python24 and not 27. Running Code:
make upgrade-site-packages |
|
||||
You can change it by setting the correct variables for it.
In my experience trying to maintain a dual 2.7/3.1 environment, you do NOT want to use Python 3.x on FreeBSD as the default until it is made that way in ports. Things will break eventually, because not everything supports Python 3.x!
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Basically, I need to follow the advice in the post I linked and replace 2.6 with 2.7, right?
Alright. Now, what about creating site-packages for versions 27, 31, and 32 ? Trying not to replicate the last install's mistakes. |
|
||||
More or less yes, but B/P to have migrains
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BSD's and the newer Video Drivers | shep | General Hardware | 3 | 26th March 2011 12:14 PM |
Python 2.7 released | J65nko | News | 0 | 6th July 2010 07:24 PM |
Ports Version associated with FreeBSD version | rtwingfield | FreeBSD Ports and Packages | 4 | 7th June 2010 11:00 PM |
Release of Python 2.6.5 and 3.1.2 | J65nko | News | 0 | 22nd March 2010 09:31 PM |
apache with python | deadeyes | FreeBSD Ports and Packages | 1 | 27th August 2009 01:31 PM |