cd Python-2.5.5
./configure --prefix=/usr/local/python2.5
make
make test
sudo make install
sudo ln -s /usr/local/python2.5/bin/python /usr/bin/python2.5
**
は、私は、Python 2.6が既にインストールされたObuntu上のpython 2.5をダウンロードするには、上記の手順を追いました。
ファイルを変更して、次のコマンドでインストールしようとしましたが、エラーが発生しました。私が間違いをどこにしているのか教えてください。
[email protected]:~/Desktop/cherrypy$ python setup.py install
running install
running build
running build_py
copying cherrypy/lib/cptools.py -> build/lib.linux-i686-2.6/cherrypy/lib
error: could not delete 'build/lib.linux-i686-2.6/cherrypy/lib/cptools.py': Permission denied
それは私にこのエラーが発生しますinstall-私はDのPython 2.5 setup.pyを使用します。
[email protected]:~/Desktop/cherrypy$ python2.5 setup.py install
running install
running build
running build_py
creating build/lib
error: could not create 'build/lib': Permission denied
私は窓を使用してアプリケーションとしてUbuntuを使用しています。
はい、私がルートディレクトリに移動しようとすると、私は行かせません。「許可が拒否されました」と表示されます。どのように私はそれを取り除くのですか? – user1492832