2014-02-07 2 views
0

그래서 python3.3.2를 소스에서 쉽게 설치할 수 있습니다. 3.3과 그 (것)들을 좋게 작동하는 얻는 것을 시도하고있다, 그러나 나는 서버의 한에있는 문제점이 있고있다. 우분투에서 난 그냥 이렇게 :easy_install이 올바른 경로에 설치되지 않았습니까?

# Install easy_install for python 3.3.2 
cd /tmp/ 
wget https://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz 
tar xzvf distribute-0.6.49.tar.gz 
cd distribute-0.6.49 
sudo python3 setup.py build 
sudo python3 setup.py install 

그리고 나서 출력에 뭔가 이상한 볼 수 있습니다 :

# Install python 3.3.2 
cd /tmp/ 
wget http://www.python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2 
tar xvf Python-3.3.2.tar.bz2 
cd Python-3.3.2/ 
./configure --prefix=/usr/ 
make 
make test 
sudo make install 

는 파이썬이 작동하도록하기 위해 ...이 후, 괜찮

을 ...

Extracting distribute-0.6.49-py3.3.egg to /usr/bin/lib/python3.3/site-packages 
distribute 0.6.49 is already the active version in easy-install.pth 
Installing easy_install script to /usr/bin/bin 
Installing easy_install-3.3 script to /usr/bin/bin 

...

왜 easy_install이/usr/bin/bin에 위치합니까? ???? WTH ??

sudo easy_install-3.3 gunicorn 
Searching for gunicorn 
Best match: gunicorn 18.0 
Processing gunicorn-18.0-py3.3.egg 
gunicorn 18.0 is already the active version in easy-install.pth 
Installing gunicorn_django script to /usr/bin/bin 
Installing gunicorn script to /usr/bin/bin 
Installing gunicorn_paster script to /usr/bin/bin 

Using /usr/bin/lib/python3.3/site-packages/gunicorn-18.0-py3.3.egg 
Processing dependencies for gunicorn 
Finished processing dependencies for gunicorn 

있지만 :

또한, 나는 easy_install을 사용하여 설치 모든 것을 거기에 간다

을 python3하는 easy_install을-3.3 두 점을 는/usr/빈에 예상대로 및 !

확실하게 모든 바이너리가 있지만 PATH에 연결할 수 없습니다 ... 내 PATH 환경 변수를 편집하고 싶지 않습니다 ... 무슨 일이 일어나고 있는지에 대한 아이디어가 있습니까?

+0

당신은'which python3'을 (를) 할 수 있습니까? – poke

+0

예상대로/usr/bin/python3에 있습니다. – mimoralea

답변

관련 문제