ho provato in esecuzione lldb
sul mio Mac e ottenere questo all'avvio:lldb errore pitone
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/System/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Python/lldb/embedded_interpreter.py", line 1, in <module>
import readline
ImportError: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so: no appropriate 64-bit architecture (see "man python" for running in 32-bit mode)
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Ho provato ad aggiungere la variabile d'ambiente VERSIONER_PYTHON_PREFER_32_BIT=yes
ma appare ancora questo errore. Supponevo che lldb stia usando un diverso ambiente Python piuttosto che un host Mac, quindi dove posso apportare le modifiche per far sì che usi la modalità 32 bit? Grazie.
UPDATE:
ho fatto un arch -i386 lldb
e funziona in 32-bit. Per farlo funzionare a 64-bit, ho installato una versione a 64 bit di readline python per OS X, ma ho avuto più problemi con le librerie native Python come termios
e time
. Così ho scaricato il file DMG di installazione Python 2.7.3 64-bit e installato il suo binario; ora lldb funziona a 64 bit, infine, sul mio 10.8 mountain lion. Grazie.
Ho trovato questa domanda dopo aver visto questo errore su 'cordova run ios'. Non sembrava influenzare la build rendendola sul mio dispositivo fisico. – theblang