问下freebsd安装了python25(ports安装)

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

问下freebsd安装了python25(ports安装)

James liu-2
安装成功,居然说没有python命令

--
regards
j.L
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

Lich_Ray
输入 python2.5 或者 python25 即可,另外注意要重启shell。

在08-1-11,j. L <[hidden email]> 写道:
安装成功,居然说没有python命令

--
regards
j.L
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to   [hidden email]
Detail Info: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://python.cn/mailman/listinfo/python-chinese" target="_blank"> http://python.cn/mailman/listinfo/python-chinese



--
Ray Stinger, nickname Lich_Ray
God is in his heaven, all's right with the world.
-------------------------------------------------
let focus = 'computing' in where:
http://lichray.javaeye.com
let focus = 'computing' in here:
http://lichray.bokeland.com
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

cougar cougar
In reply to this post by James liu-2
rehash
 

cougar2008
2008-01-11

发件人: j.L
发送时间: 2008-01-11 11:59:10
收件人: [hidden email]
抄送:
主题: [python-chinese] 问下freebsd安装了python25(ports安装)
 
安装成功,居然说没有python命令

--
regards
j.L

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

James liu-2
不是rehash问题

而是只能用python2.5,,,

谢谢lich_ray

2008/1/11 cougar2008 <[hidden email]>:
rehash
 

cougar2008
2008-01-11

发件人: j.L
发送时间: 2008-01-11 11:59:10
收件人: [hidden email]
抄送:
主题: [python-chinese] 问下freebsd安装了python25(ports安装)
 
安装成功,居然说没有python命令

--
regards
j.L

_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
regards
j.L
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

Jiahua Huang
In reply to this post by James liu-2
用 root 执行一下
ln -s `which python2.5` /usr/bin/python

注意 ` 是键盘左上角 Tab 键上边的那个

On Jan 11, 2008 11:57 AM, j. L <[hidden email]> wrote:
> 安装成功,居然说没有python命令
>
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

Xin LI-2
In reply to this post by James liu-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

j.L wrote:
> 安装成功,居然说没有python命令

lang/python or lang/python25?

- --
Xin LI <[hidden email]> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHhyoGi+vbBBjt66ARAomVAJ43oQ6iQTiafeq+Jw5q+o1352XVFgCeM0W3
HqtowxZV7nWvkjTl01rbIFI=
=vg3k
-----END PGP SIGNATURE-----
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

Leo Jay
In reply to this post by James liu-2
On Jan 11, 2008 1:39 PM, j. L <[hidden email]> wrote:
> 不是rehash问题
>
> 而是只能用python2.5,,,
>
> 谢谢lich_ray
>

那就ln一个python出来嘛。


--
Best Regards,
Leo Jay
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

James liu-2
In reply to this post by Xin LI-2
python25

临时处理是ln

2008/1/11 Xin LI <[hidden email]>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

j.L wrote:
> 安装成功,居然说没有python命令

lang/python or lang/python25?

- --
Xin LI <[hidden email]>     http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHhyoGi+vbBBjt66ARAomVAJ43oQ6iQTiafeq+Jw5q+o1352XVFgCeM0W3
HqtowxZV7nWvkjTl01rbIFI=
=vg3k
-----END PGP SIGNATURE-----
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese



--
regards
j.L
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

Xin LI-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

j.L wrote:
> python25
>
> 临时处理是ln

你需要安装 lang/python……

- --
Xin LI <[hidden email]> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHiy00i+vbBBjt66ARAitfAJ4m+DX/Ji8HHQ0ZOHpVffyShBEhBQCcC2VF
3o1PwZpi87mktj9cjOCyMIw=
=+I93
-----END PGP SIGNATURE-----
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
Reply | Threaded
Open this post in threaded view
|

Re: 问下freebsd安装了python25(ports安装)

yuting cui
先升级ports...然后再装lang/python
这样才有/usr/local/bin/python
另外...freebsd下...没事别动/usr/bin
第三方的都放在/usr/local里面

2008/1/14, Xin LI <[hidden email]>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> j.L wrote:
> > python25
> >
> > 临时处理是ln
>
> 你需要安装 lang/python……
>
> - --
> Xin LI <[hidden email]>    http://www.delphij.net/
> FreeBSD - The Power to Serve!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
>
> iD8DBQFHiy00i+vbBBjt66ARAitfAJ4m+DX/Ji8HHQ0ZOHpVffyShBEhBQCcC2VF
> 3o1PwZpi87mktj9cjOCyMIw=
> =+I93
> -----END PGP SIGNATURE-----
> _______________________________________________
> python-chinese
> Post: send [hidden email]
> Subscribe: send subscribe to [hidden email]
> Unsubscribe: send unsubscribe to  [hidden email]
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
_______________________________________________
python-chinese
Post: send [hidden email]
Subscribe: send subscribe to [hidden email]
Unsubscribe: send unsubscribe to  [hidden email]
Detail Info: http://python.cn/mailman/listinfo/python-chinese