Downpour-Bittorrent-Client installieren

811
BloodPhilia

Ich versuche, Downpour ( http://jongsma.org/downpour/#install ) auf meinem neuen Macbook Pro zu installieren . Ich führe den Befehl "pip install Downpour" aus, erhalte aber die Fehlermeldung:

Downloading/unpacking Twisted-Core>=8.2.0 (from Downpour) Could not find any downloads that satisfy the requirement Twisted-Core>=8.2.0 (from Downpour) No distributions at all found for Twisted-Core>=8.2.0 (from Downpour) 

Dann versuche ich, Twisted von selbst zu installieren, indem ich den Befehl " pip install Twisted" ausführe, aber ich erhalte die folgende Fehlermeldung:

Requirement already satisfied (use --upgrade to upgrade): setuptools in /sw/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg (from zope.interface->Twisted) Installing collected packages: Twisted, zope.interface Running setup.py install for Twisted gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.6 -c conftest.c -o conftest.o gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:23: error: sys/epoll.h: No such file or directory building 'twisted.runner.portmap' extension gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.6 -c twisted/runner/portmap.c -o build/temp.macosx-10.6-x86_64-2.6/twisted/runner/portmap.o gcc -L/sw/lib -bundle -L/sw/lib/python2.6/config -lpython2.6 build/temp.macosx-10.6-x86_64-2.6/twisted/runner/portmap.o -o build/lib.macosx-10.6-x86_64-2.6/twisted/runner/portmap.so ld: warning: in /sw/lib/python2.6/config/libpython2.6.dylib, file was built for i386 which is not the architecture being linked (x86_64) Undefined symbols: "_Py_InitModule4_64", referenced from: _initportmap in portmap.o "_PyArg_ParseTuple", referenced from: _portmap_unset in portmap.o _portmap_set in portmap.o "__Py_NoneStruct", referenced from: _portmap_unset in portmap.o _portmap_set in portmap.o ld: symbol(s) not found collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Complete output from command /sw/bin/python2.6 -c "import setuptools;__file__='/Users/ccchen920/.pip/build/Twisted/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-5szycA-record/install-record.txt: running install  running build  running build_py  running egg_info  writing requirements to Twisted.egg-info/requires.txt  writing Twisted.egg-info/PKG-INFO  writing top-level names to Twisted.egg-info/top_level.txt  writing dependency_links to Twisted.egg-info/dependency_links.txt  warning: manifest_maker: standard file '-c' not found  reading manifest file 'Twisted.egg-info/SOURCES.txt'  writing manifest file 'Twisted.egg-info/SOURCES.txt'  running build_ext  gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.6 -c conftest.c -o conftest.o  gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.6 -c conftest.c -o conftest.o  conftest.c:1:23: error: sys/epoll.h: No such file or directory  building 'twisted.runner.portmap' extension  gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/sw/include/python2.6 -c twisted/runner/portmap.c -o build/temp.macosx-10.6-x86_64-2.6/twisted/runner/portmap.o  gcc -L/sw/lib -bundle -L/sw/lib/python2.6/config -lpython2.6 build/temp.macosx-10.6-x86_64-2.6/twisted/runner/portmap.o -o build/lib.macosx-10.6-x86_64-2.6/twisted/runner/portmap.so  ld: warning: in /sw/lib/python2.6/config/libp 
0

1 Antwort auf die Frage

1
Mark

Der Python, den Sie verwenden, ist in / sw. Ich würde davon ausgehen, dass er von Fink stammt, wenn Sie also Twisted von Fink installieren sollten, wobei eines oder mehrere der hier aufgeführten Pakete angezeigt werden

Das Problem, das Sie sehen, ist, dass Python als 32-Bit-Anwendung erstellt wurde und Setuptools versucht, als 64-Bit-Version zu erstellen. Dies legt nahe, dass sie nicht am selben Ort installiert wurden /