2016-05-11 14 views
0

私はあきらめます。私はPython 2.7を以前のビルド時の1つの場所にインストールしました。 Python 2.7は私には良いことではありません。私は3.xが必要です。 Python 3.4.2はDebianでは正常に動作しますが、DebianではApache 2では動作しません。私はそれを実行してWebアプリケーションを構築する必要があります。Debian Apache 2にPython 3xをインストールできない。WheezyとJessieを試して

GoogleでDebianとUbunto関連のすべてを試しました。何も動作しませんが、すべての変更に伴ってシステムが悪化します。ここでは、最新の出力です:

[email protected]:~# sudo apt-get install -f 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following extra packages will be installed: 
    debconf python-imaging python-pil 
Suggested packages: 
    debconf-doc debconf-utils libterm-readline-gnu-perl libnet-ldap-perl libqtgui4-perl libqtcore4-perl 
    python-pil-doc python-pil-dbg 
The following packages will be upgraded: 
    debconf python-imaging python-pil 
3 upgraded, 0 newly installed, 0 to remove and 1337 not upgraded. 
25 not fully installed or removed. 
Need to get 0 B/564 kB of archives. 
After this operation, 122 kB of additional disk space will be used. 
Do you want to continue? [Y/n] y 
/bin/sh: 1: /usr/bin/apt-listchanges: not found 
Preconfiguring packages ... 
(Reading database ... 144560 files and directories currently installed.) 
Preparing to unpack .../debconf_1.5.59_all.deb ... 
    File "/usr/bin/pyclean", line 63 
    except (IOError, OSError), e: 
          ^
SyntaxError: invalid syntax 
dpkg: warning: subprocess old pre-removal script returned error exit status 1 
dpkg: trying script from the new package instead ... 
    File "/usr/bin/pyclean", line 63 
    except (IOError, OSError), e: 
          ^
SyntaxError: invalid syntax 
dpkg: error processing archive /var/cache/apt/archives/debconf_1.5.59_all.deb (--unpack): 
subprocess new pre-removal script returned error exit status 1 
Traceback (most recent call last): 
    File "/usr/bin/pycompile", line 35, in <module> 
    from debpython.version import SUPPORTED, debsorted, vrepr, \ 
    File "/usr/share/python/debpython/version.py", line 24, in <module> 
    from ConfigParser import SafeConfigParser 
ImportError: No module named 'ConfigParser' 
dpkg: error while cleaning up: 
subprocess installed post-installation script returned error exit status 1 
Errors were encountered while processing: 
/var/cache/apt/archives/debconf_1.5.59_all.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 

私はsudo apt-get install -f を試してみましたし、私はapt-getを $ sudoのapt-getを更新し、Configure 1 -fインストール 須藤はapt-getをクリーン の$ sudoを試してみました。

誰かが任意のDebian上でApache 2を使っているのですか?

btw /usr/bin/apt-listchanges: not foundは私の干渉によるものです。はい、私は干渉し始めており、それは悪いです。

答えて

0

Anaconda Pythonディストリビューションを使ってみましたか?

$ wget http://repo.continuum.io/miniconda/Miniconda-3.5.5-Linux-armv6l.sh 
$ md5sum Miniconda-3.5.5-Linux-armv6l.sh 
2f37cb775ec3e482280a7bd6b97ee501 
$ /bin/bash Miniconda-3.5.5-Linux-armv6l.sh 
+0

ここにスレッドがあります:http://stackoverflow.com/questions/30581316/how-do-i-use-a-conda-このような

何かがこのhelpful articleから、役立つかもしれません物事がうまく終わらないmod-wsgiの環境です。 – Alperian

関連する問題