के साथ विफल रहा है मैं अपने मैक ओएस एक्स 10.7.3 (शेर) पर Orange स्थापित करने की कोशिश कर रहा हूं और मुझे या तो पीपी या स्रोत से निर्माण।ऑरेंज इंस्टॉल नहीं कर सकता: "त्रुटि: आदेश 'clang' निकास स्थिति 1"
error: command 'gcc-4.0' failed with exit status 1
मैं Xcode 4 है, जो जीसीसी 4.2.1 के साथ आता है: सबसे पहले, मैं एक त्रुटि है कि पढ़ रही थी। इसलिए मैं 64-bit/32-bit Python 2.7.3 स्थापित है, जो जीसीसी 4.2 में बनाया गया है मैं भी का उपयोग कर संकलक विकल्प को ओवरराइड करने की कोशिश की:।
export CC=gcc-4.2
लेकिन यह कोई दूसरी त्रुटि का उत्पादन:
gcc-4.2 not found, using clang instead
...
error: command 'clang' failed with exit status 1
यहाँ पूर्ण लॉग है:
$ python setup.py build
running build
running build_py
copying Orange/version.py -> build/lib.macosx-10.6-intel-2.7/Orange
running build_ext
gcc-4.2 not found, using clang instead
building 'Orange.orange' extension
running pyxtract for Orange.orange
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python ../pyxtract/defvectors.py
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python ../pyxtract/pyprops.py -n orange
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python ../pyxtract/pyxtract.py -m -n orange lib_kernel.cpp lib_components.cpp lib_preprocess.cpp lib_learner.cpp lib_io.cpp lib_vectors.cpp cls_example.cpp cls_value.cpp cls_orange.cpp cls_misc.cpp functions.cpp orange.cpp
Parsing lib_kernel.cpp
Parsing lib_components.cpp
Parsing lib_preprocess.cpp
Parsing lib_learner.cpp
Parsing lib_io.cpp
Parsing lib_vectors.cpp
Parsing cls_example.cpp
Parsing cls_value.cpp
Parsing cls_orange.cpp
Parsing cls_misc.cpp
Parsing functions.cpp
Parsing orange.cpp
Warning: class 'PearsonCorrelation' will not be picklable
Warning: class 'ItemsetNodeProxy' will not be picklable
clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -INone -Isource/include -Isource/orange/liblinear -Isource/orange/ppp -Isource/orange/px -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c source/orange/assoc.cpp -o build/temp.macosx-10.6-intel-2.7/source/orange/assoc.o -fPIC -fpermissive -fno-common -w -DDARWIN -DORANGE_EXPORTS
clang: warning: argument unused during compilation: '-fpermissive'
In file included from source/orange/assoc.cpp:25:
In file included from source/orange/random.hpp:26:
In file included from source/orange/root.hpp:25:
source/orange/garbage.hpp:221:9: error: use of undeclared identifier 'raiseError'
raiseError("bad cast from %s to %s", typeid(U).name(), typeid(T).name());
^
source/orange/garbage.hpp:253:7: error: use of undeclared identifier 'raiseError'
raiseError("Orange internal error: NULL pointer to '%s'", TYPENAME(typeid(T)));
^
source/orange/garbage.hpp:261:7: error: use of undeclared identifier 'raiseError'
raiseError("Orange internal error: NULL pointer to '%s'", TYPENAME(typeid(T)));
^
source/orange/garbage.hpp:301:7: error: use of undeclared identifier 'raiseError'
raiseError("Orange internal error: NULL pointer to '%s'", TYPENAME(typeid(T)));
^
source/orange/garbage.hpp:312:7: error: use of undeclared identifier 'raiseError'
raiseError("Orange internal error: NULL pointer to '%s'", TYPENAME(typeid(T)));
^
In file included from source/orange/assoc.cpp:27:
source/orange/examplegen.hpp:143:38: error: expected member name or ';' after declaration specifiers
TExampleIterator::TExampleIterator(const TExampleIterator &other);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
source/orange/examplegen.hpp:143:38: error: expected ')'
source/orange/examplegen.hpp:143:37: note: to match this '('
TExampleIterator::TExampleIterator(const TExampleIterator &other);
^
source/orange/assoc.cpp:33:1: error: explicit specialization of 'st_classDescription' after instantiation
DEFINE_TOrangeVector_classDescription(PAssociationRule, "TAssociationRules", true, ORANGE_API)
^
source/orange/orvector.hpp:105:57: note: expanded from macro 'DEFINE_TOrangeVector_classDescription'
TClassDescription TOrangeVector< _TYPE, _WRAPPED >::st_classDescription = { _NAME, &typeid(TOrangeVector< _TYPE, _WRAPPED >), &TOrange::st_classDescription, TOrange_properties, TOrange_components };
^
source/orange/ppp/assoc.ppp:111:72: note: implicit instantiation first required here
{"rules", "association rules", &typeid(POrange), &TAssociationRules::st_classDescription, offsetof(TAssociationClassifier, rules), false, false, 0},
^
8 errors generated.
error: command 'clang' failed with exit status 1
वहां एक त्रुटि संदेश है - समस्या क्या है? –
समस्या यह है कि मैं ऑरेंज इंस्टॉल नहीं कर सकता क्योंकि मुझे उपर्युक्त त्रुटि –
मिल रही है मेरे पास ऑरेंज के साथ बहुत सारे बग्गी इंस्टॉल अनुभव हैं। मुझे कभी भी संगत लग रहा था। यही कारण है कि मैं सिर्फ scikits.learn, scikits.image, scikits.timeseries, और scikits.statsmodels का उपयोग करें। देखने लायक हो सकता है। – ely