We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get this error when I run make run
make run
/usr/bin/python3 run.py -c test.yaml -s "" -o "INFO" run.py:35: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. base_param = list(yaml.load_all(stream))[0] run.py:38: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. driver_param = list(yaml.load_all(stream))[0] run.py:47: YAMLLoadWarning: calling yaml.load_all() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. for method in method_config: [INFO] Script: methods/mlpy/pca.py Traceback (most recent call last): File "run.py", line 115, in <module> run(args.config, args.lib, args.methods, args.loglevel) File "run.py", line 70, in run module = Loader.ImportModuleFromPath(values["script"]) File "/home/ahmed/Desktop/benchmarks/util/util.py", line 54, in ImportModuleFromPath module = imp.load_module(modName, *tup) File "/usr/lib/python3.6/imp.py", line 235, in load_module return load_source(name, filename, file) File "/usr/lib/python3.6/imp.py", line 172, in load_source module = _load(spec) File "<frozen importlib._bootstrap>", line 684, in _load File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "methods/mlpy/pca.py", line 18, in <module> import mlpy ModuleNotFoundError: No module named 'mlpy' Makefile:159: recipe for target '.run' failed make: *** [.run] Error 1 ``` Also whenever I try and install mlpy using pip3 I get this error message ``` (base) ahmed@ahmed-Lenovo-ideapad-520-15IKB:~/Desktop/benchmarks$ pip3 install mlpy Collecting mlpy Using cached https://files.pythonhosted.org/packages/93/3c/be8ccff2aa3e5ce3b922cff026aadc62d3a671168e42616b1e0b8eccba12/mlpy-0.1.0.tar.gz Collecting numpy>=1.6.2 (from mlpy) Using cached https://files.pythonhosted.org/packages/07/08/a549ba8b061005bb629b76adc000f3caaaf881028b963c2e18f811c6edc1/numpy-1.18.2-cp36-cp36m-manylinux1_x86_64.whl Collecting scipy>=0.11 (from mlpy) Using cached https://files.pythonhosted.org/packages/dc/29/162476fd44203116e7980cfbd9352eef9db37c49445d1fec35509022f6aa/scipy-1.4.1-cp36-cp36m-manylinux1_x86_64.whl Collecting matplotlib (from mlpy) Downloading https://files.pythonhosted.org/packages/93/4b/52da6b1523d5139d04e02d9e26ceda6146b48f2a4e5d2abfdf1c7bac8c40/matplotlib-3.2.1-cp36-cp36m-manylinux1_x86_64.whl (12.4MB) 100% |████████████████████████████████| 12.4MB 145kB/s Collecting scikit-learn (from mlpy) Using cached https://files.pythonhosted.org/packages/5e/d8/312e03adf4c78663e17d802fe2440072376fee46cada1404f1727ed77a32/scikit_learn-0.22.2.post1-cp36-cp36m-manylinux1_x86_64.whl Collecting six>=1.9.0 (from mlpy) Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->mlpy) Using cached https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl Collecting cycler>=0.10 (from matplotlib->mlpy) Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl Collecting python-dateutil>=2.1 (from matplotlib->mlpy) Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl Collecting kiwisolver>=1.0.1 (from matplotlib->mlpy) Using cached https://files.pythonhosted.org/packages/f8/a1/5742b56282449b1c0968197f63eae486eca2c35dcd334bab75ad524e0de1/kiwisolver-1.1.0-cp36-cp36m-manylinux1_x86_64.whl Collecting joblib>=0.11 (from scikit-learn->mlpy) Using cached https://files.pythonhosted.org/packages/28/5c/cf6a2b65a321c4a209efcdf64c2689efae2cb62661f8f6f4bb28547cf1bf/joblib-0.14.1-py2.py3-none-any.whl Collecting setuptools (from kiwisolver>=1.0.1->matplotlib->mlpy) Using cached https://files.pythonhosted.org/packages/70/b8/b23170ddda9f07c3444d49accde49f2b92f97bb2f2ebc312618ef12e4bd6/setuptools-46.0.0-py3-none-any.whl Building wheels for collected packages: mlpy Running setup.py bdist_wheel for mlpy ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6tdvjugp/mlpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpik6xwqw9pip-wheel- --python-tag cp36: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/mlpy copying mlpy/__init__.py -> build/lib.linux-x86_64-3.6/mlpy running egg_info writing mlpy.egg-info/PKG-INFO writing dependency_links to mlpy.egg-info/dependency_links.txt writing requirements to mlpy.egg-info/requires.txt writing top-level names to mlpy.egg-info/top_level.txt reading manifest file 'mlpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.sdf' found under directory 'mlpy/libs' warning: no previously-included files matching '*.sln' found under directory 'mlpy/libs' warning: no previously-included files matching '*.suo' found under directory 'mlpy/libs' warning: no previously-included files matching '*.exp' found under directory 'mlpy/libs' warning: no previously-included files matching '*.ilk' found under directory 'mlpy/libs' warning: no previously-included files matching '*.lib' found under directory 'mlpy/libs' warning: no previously-included files matching '*pdb' found under directory 'mlpy/libs' warning: no previously-included files matching '__pycache__' found under directory '*' no previously-included directories found matching 'mlpy/libs/classifier/classifier' no previously-included directories found matching 'mlpy/libs/hmmc/hmmc' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/generated' writing manifest file 'mlpy.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/fsm.py -> build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/modules.py -> build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/world.py -> build/lib.linux-x86_64-3.6/mlpy/agents creating build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/array.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/datasets.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/datastructs.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/io.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/misc.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/plotting.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary creating build/lib.linux-x86_64-3.6/mlpy/cluster copying mlpy/cluster/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/cluster copying mlpy/cluster/vq.py -> build/lib.linux-x86_64-3.6/mlpy/cluster creating build/lib.linux-x86_64-3.6/mlpy/constants copying mlpy/constants/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/constants copying mlpy/constants/_constants.py -> build/lib.linux-x86_64-3.6/mlpy/constants creating build/lib.linux-x86_64-3.6/mlpy/environments copying mlpy/environments/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/environments copying mlpy/environments/gridworld.py -> build/lib.linux-x86_64-3.6/mlpy/environments copying mlpy/environments/nao.py -> build/lib.linux-x86_64-3.6/mlpy/environments creating build/lib.linux-x86_64-3.6/mlpy/environments/webots creating build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers creating build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers/serverc copying mlpy/environments/webots/controllers/serverc/serverc.py -> build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers/serverc creating build/lib.linux-x86_64-3.6/mlpy/experiments copying mlpy/experiments/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/experiments copying mlpy/experiments/task.py -> build/lib.linux-x86_64-3.6/mlpy/experiments creating build/lib.linux-x86_64-3.6/mlpy/knowledgerep copying mlpy/knowledgerep/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep creating build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/engine.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/features.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/methods.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/similarity.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr creating build/lib.linux-x86_64-3.6/mlpy/learners copying mlpy/learners/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners creating build/lib.linux-x86_64-3.6/mlpy/learners/offline copying mlpy/learners/offline/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners/offline copying mlpy/learners/offline/irl.py -> build/lib.linux-x86_64-3.6/mlpy/learners/offline creating build/lib.linux-x86_64-3.6/mlpy/learners/online copying mlpy/learners/online/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners/online copying mlpy/learners/online/rl.py -> build/lib.linux-x86_64-3.6/mlpy/learners/online creating build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/classifier.pyd -> build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/hmmc.pyd -> build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/noconflict.py -> build/lib.linux-x86_64-3.6/mlpy/libs creating build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/array_helper.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/array_helper.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/c45tree.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/c45tree.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier_module.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier_module.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/coord.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/coord.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/random.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/random.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier creating build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmm.c -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmm.h -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmmc_module.c -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmmc_module.h -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc creating build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/distrib.py -> build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/stateaction.py -> build/lib.linux-x86_64-3.6/mlpy/mdp creating build/lib.linux-x86_64-3.6/mlpy/mdp/continuous copying mlpy/mdp/continuous/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/mdp/continuous copying mlpy/mdp/continuous/casml.py -> build/lib.linux-x86_64-3.6/mlpy/mdp/continuous creating build/lib.linux-x86_64-3.6/mlpy/modules copying mlpy/modules/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/modules copying mlpy/modules/patterns.py -> build/lib.linux-x86_64-3.6/mlpy/modules creating build/lib.linux-x86_64-3.6/mlpy/optimize copying mlpy/optimize/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/optimize copying mlpy/optimize/algorithms.py -> build/lib.linux-x86_64-3.6/mlpy/optimize copying mlpy/optimize/utils.py -> build/lib.linux-x86_64-3.6/mlpy/optimize creating build/lib.linux-x86_64-3.6/mlpy/planners copying mlpy/planners/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/planners copying mlpy/planners/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/planners creating build/lib.linux-x86_64-3.6/mlpy/planners/explorers copying mlpy/planners/explorers/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/planners/explorers copying mlpy/planners/explorers/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/planners/explorers creating build/lib.linux-x86_64-3.6/mlpy/search copying mlpy/search/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/search copying mlpy/search/informed.py -> build/lib.linux-x86_64-3.6/mlpy/search creating build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_conditional.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_discrete.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_multivariate.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_stats.py -> build/lib.linux-x86_64-3.6/mlpy/stats creating build/lib.linux-x86_64-3.6/mlpy/stats/dbn copying mlpy/stats/dbn/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats/dbn copying mlpy/stats/dbn/hmm.py -> build/lib.linux-x86_64-3.6/mlpy/stats/dbn creating build/lib.linux-x86_64-3.6/mlpy/stats/models copying mlpy/stats/models/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models copying mlpy/stats/models/_basic.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models copying mlpy/stats/models/mixture.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models creating build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/configuration.py -> build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/log.py -> build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/misc.py -> build/lib.linux-x86_64-3.6/mlpy/tools running build_ext building 'classifier' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/mlpy creating build/temp.linux-x86_64-3.6/mlpy/libs creating build/temp.linux-x86_64-3.6/mlpy/libs/classifier x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/ahmed/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c mlpy/libs/classifier/classifier_module.cc -o build/temp.linux-x86_64-3.6/mlpy/libs/classifier/classifier_module.o mlpy/libs/classifier/classifier_module.cc: In function ‘PyObject* initclassifier()’: mlpy/libs/classifier/classifier_module.cc:33:7: error: ‘Py_InitModule3’ was not declared in this scope m = Py_InitModule3("classifier", ClassifierMethods, "Classification module"); ^~~~~~~~~~~~~~ mlpy/libs/classifier/classifier_module.cc:33:7: note: suggested alternative: ‘Py_Initialize’ m = Py_InitModule3("classifier", ClassifierMethods, "Classification module"); ^~~~~~~~~~~~~~ Py_Initialize mlpy/libs/classifier/classifier_module.cc:34:18: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] if (m == NULL) return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:37:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:42:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:48:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:53:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:58:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:63:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:68:2: warning: control reaches end of non-void function [-Wreturn-type] } ^ error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for mlpy Running setup.py clean for mlpy Failed to build mlpy Installing collected packages: numpy, scipy, pyparsing, six, cycler, python-dateutil, setuptools, kiwisolver, matplotlib, joblib, scikit-learn, mlpy Running setup.py install for mlpy ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6tdvjugp/mlpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-jwzm9k94-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/mlpy copying mlpy/__init__.py -> build/lib.linux-x86_64-3.6/mlpy running egg_info writing mlpy.egg-info/PKG-INFO writing dependency_links to mlpy.egg-info/dependency_links.txt writing requirements to mlpy.egg-info/requires.txt writing top-level names to mlpy.egg-info/top_level.txt reading manifest file 'mlpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.sdf' found under directory 'mlpy/libs' warning: no previously-included files matching '*.sln' found under directory 'mlpy/libs' warning: no previously-included files matching '*.suo' found under directory 'mlpy/libs' warning: no previously-included files matching '*.exp' found under directory 'mlpy/libs' warning: no previously-included files matching '*.ilk' found under directory 'mlpy/libs' warning: no previously-included files matching '*.lib' found under directory 'mlpy/libs' warning: no previously-included files matching '*pdb' found under directory 'mlpy/libs' warning: no previously-included files matching '__pycache__' found under directory '*' no previously-included directories found matching 'mlpy/libs/classifier/classifier' no previously-included directories found matching 'mlpy/libs/hmmc/hmmc' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/generated' writing manifest file 'mlpy.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/fsm.py -> build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/modules.py -> build/lib.linux-x86_64-3.6/mlpy/agents copying mlpy/agents/world.py -> build/lib.linux-x86_64-3.6/mlpy/agents creating build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/array.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/datasets.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/datastructs.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/io.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/misc.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary copying mlpy/auxiliary/plotting.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary creating build/lib.linux-x86_64-3.6/mlpy/cluster copying mlpy/cluster/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/cluster copying mlpy/cluster/vq.py -> build/lib.linux-x86_64-3.6/mlpy/cluster creating build/lib.linux-x86_64-3.6/mlpy/constants copying mlpy/constants/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/constants copying mlpy/constants/_constants.py -> build/lib.linux-x86_64-3.6/mlpy/constants creating build/lib.linux-x86_64-3.6/mlpy/environments copying mlpy/environments/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/environments copying mlpy/environments/gridworld.py -> build/lib.linux-x86_64-3.6/mlpy/environments copying mlpy/environments/nao.py -> build/lib.linux-x86_64-3.6/mlpy/environments creating build/lib.linux-x86_64-3.6/mlpy/environments/webots creating build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers creating build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers/serverc copying mlpy/environments/webots/controllers/serverc/serverc.py -> build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers/serverc creating build/lib.linux-x86_64-3.6/mlpy/experiments copying mlpy/experiments/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/experiments copying mlpy/experiments/task.py -> build/lib.linux-x86_64-3.6/mlpy/experiments creating build/lib.linux-x86_64-3.6/mlpy/knowledgerep copying mlpy/knowledgerep/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep creating build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/engine.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/features.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/methods.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr copying mlpy/knowledgerep/cbr/similarity.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr creating build/lib.linux-x86_64-3.6/mlpy/learners copying mlpy/learners/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners creating build/lib.linux-x86_64-3.6/mlpy/learners/offline copying mlpy/learners/offline/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners/offline copying mlpy/learners/offline/irl.py -> build/lib.linux-x86_64-3.6/mlpy/learners/offline creating build/lib.linux-x86_64-3.6/mlpy/learners/online copying mlpy/learners/online/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners/online copying mlpy/learners/online/rl.py -> build/lib.linux-x86_64-3.6/mlpy/learners/online creating build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/classifier.pyd -> build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/hmmc.pyd -> build/lib.linux-x86_64-3.6/mlpy/libs copying mlpy/libs/noconflict.py -> build/lib.linux-x86_64-3.6/mlpy/libs creating build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/array_helper.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/array_helper.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/c45tree.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/c45tree.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier_module.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/classifier_module.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/coord.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/coord.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/random.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier copying mlpy/libs/classifier/random.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier creating build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmm.c -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmm.h -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmmc_module.c -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc copying mlpy/libs/hmmc/hmmc_module.h -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc creating build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/distrib.py -> build/lib.linux-x86_64-3.6/mlpy/mdp copying mlpy/mdp/stateaction.py -> build/lib.linux-x86_64-3.6/mlpy/mdp creating build/lib.linux-x86_64-3.6/mlpy/mdp/continuous copying mlpy/mdp/continuous/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/mdp/continuous copying mlpy/mdp/continuous/casml.py -> build/lib.linux-x86_64-3.6/mlpy/mdp/continuous creating build/lib.linux-x86_64-3.6/mlpy/modules copying mlpy/modules/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/modules copying mlpy/modules/patterns.py -> build/lib.linux-x86_64-3.6/mlpy/modules creating build/lib.linux-x86_64-3.6/mlpy/optimize copying mlpy/optimize/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/optimize copying mlpy/optimize/algorithms.py -> build/lib.linux-x86_64-3.6/mlpy/optimize copying mlpy/optimize/utils.py -> build/lib.linux-x86_64-3.6/mlpy/optimize creating build/lib.linux-x86_64-3.6/mlpy/planners copying mlpy/planners/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/planners copying mlpy/planners/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/planners creating build/lib.linux-x86_64-3.6/mlpy/planners/explorers copying mlpy/planners/explorers/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/planners/explorers copying mlpy/planners/explorers/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/planners/explorers creating build/lib.linux-x86_64-3.6/mlpy/search copying mlpy/search/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/search copying mlpy/search/informed.py -> build/lib.linux-x86_64-3.6/mlpy/search creating build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_conditional.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_discrete.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_multivariate.py -> build/lib.linux-x86_64-3.6/mlpy/stats copying mlpy/stats/_stats.py -> build/lib.linux-x86_64-3.6/mlpy/stats creating build/lib.linux-x86_64-3.6/mlpy/stats/dbn copying mlpy/stats/dbn/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats/dbn copying mlpy/stats/dbn/hmm.py -> build/lib.linux-x86_64-3.6/mlpy/stats/dbn creating build/lib.linux-x86_64-3.6/mlpy/stats/models copying mlpy/stats/models/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models copying mlpy/stats/models/_basic.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models copying mlpy/stats/models/mixture.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models creating build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/configuration.py -> build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/log.py -> build/lib.linux-x86_64-3.6/mlpy/tools copying mlpy/tools/misc.py -> build/lib.linux-x86_64-3.6/mlpy/tools running build_ext building 'classifier' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/mlpy creating build/temp.linux-x86_64-3.6/mlpy/libs creating build/temp.linux-x86_64-3.6/mlpy/libs/classifier x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/ahmed/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c mlpy/libs/classifier/classifier_module.cc -o build/temp.linux-x86_64-3.6/mlpy/libs/classifier/classifier_module.o mlpy/libs/classifier/classifier_module.cc: In function ‘PyObject* initclassifier()’: mlpy/libs/classifier/classifier_module.cc:33:7: error: ‘Py_InitModule3’ was not declared in this scope m = Py_InitModule3("classifier", ClassifierMethods, "Classification module"); ^~~~~~~~~~~~~~ mlpy/libs/classifier/classifier_module.cc:33:7: note: suggested alternative: ‘Py_Initialize’ m = Py_InitModule3("classifier", ClassifierMethods, "Classification module"); ^~~~~~~~~~~~~~ Py_Initialize mlpy/libs/classifier/classifier_module.cc:34:18: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] if (m == NULL) return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:37:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:42:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:48:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:53:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:58:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:63:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive] return; ^~~~~~ mlpy/libs/classifier/classifier_module.cc:68:2: warning: control reaches end of non-void function [-Wreturn-type] } ^ error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6tdvjugp/mlpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-jwzm9k94-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-6tdvjugp/mlpy/ ```
The text was updated successfully, but these errors were encountered:
Setting everything up can be quite tricky, is there any chance you could use the install script: https://github.com/mlpack/benchmarks/blob/master/libraries/install_all.sh in the https://github.com/mlpack/benchmarks/blob/master/libraries/ folder?
Sorry, something went wrong.
No branches or pull requests
I get this error when I run
make run
The text was updated successfully, but these errors were encountered: