intel-analytics / analytics-zoo

Distributed Tensorflow, Keras and PyTorch on Apache Spark/Flink & Ray
https://analytics-zoo.readthedocs.io/
Apache License 2.0
16 stars 3 forks source link

AutoML Installation error, help me #745

Closed 2017wxyzwxyz closed 4 years ago

2017wxyzwxyz commented 4 years ago

I installed "automl" tool kit according to the steps in the webpage,'https://github.com/intel-analytics/analytics-zoo/tree/automl/apps/automl' but the following error occurred, asking for help,

(1) Win10 Linux subsystem (Ubuntu18.04onWindows) (2) Anaconda3-2020.02-Linux-x86_64 (3)Details: (base) wxy@SC-202007040719:/$ conda activate zoo_automl (zoo_automl) wxy@SC-202007040719:/$ pip install analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl[automl] WARNING: Requirement 'analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl[automl]' looks like a filename, but the file does not exist Processing /analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl'

(zoo_automl) wxy@SC-202007040719:/$ quit

Command 'quit' not found, did you mean:

command 'luit' from deb x11-utils command 'quot' from deb quota command 'qgit' from deb qgit command 'quilt' from deb quilt command 'quiz' from deb bsdgames

Try: sudo apt install

(zoo_automl) wxy@SC-202007040719:/$ conda deactivate (base) wxy@SC-202007040719:/$ source activate zoo_automl (zoo_automl) wxy@SC-202007040719:/$ pip install analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl[automl] WARNING: Requirement 'analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl[automl]' looks like a filename, but the file does not exist Processing /analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/analytics-zoo/pyzoo/dist/analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl'

(zoo_automl) wxy@SC-202007040719:/$

I am a beginner, please take care of me. Thank you very much!!!!!!!

2017wxyzwxyz commented 4 years ago

2020/7/5: Try again this morning. The mistakes are as follows: (zoo_automl) wxy@SC-202007040719:/$ pip install analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl[aut oml] WARNING: Requirement 'analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl[automl]' looks like a filename, but the file does not exist Processing /analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl'

(zoo_automl) wxy@SC-202007040719:/$ pip install analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl WARNING: Requirement 'analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl' looks like a filename, but the file does not exist Processing /analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/analytics_zoo-0.9.0.dev0-20200618-py2.py3-none-manylinux1_x86_64.whl'

(zoo_automl) wxy@SC-202007040719:/$ pip install analytics-zoo Collecting analytics-zoo Downloading analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl (186.1 MB) |▎ | 1.9 MB 7.4 kB/s eta 6:54:47^C ERROR: Operation cancelled by user (zoo_automl) wxy@SC-202007040719:/$ pip install analytics-zoo[automl] Collecting analytics-zoo[automl] Downloading analytics_zoo-0.8.1-py2.py3-none-manylinux1_x86_64.whl (186.1 MB) |█▊ | 10.3 MB 2.2 kB/s eta 22:00:42ERROR: Exception: Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 425, in _error_catcher yield File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 507, in read data = self._fp.read(amt) if not fp_closed else b"" File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read data = self.__fp.read(amt) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/http/client.py", line 459, in read n = self.readinto(b) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/http/client.py", line 503, in readinto n = self.fp.readinto(b) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/ssl.py", line 1012, in recv_into return self.read(nbytes, buffer) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/ssl.py", line 874, in read return self._sslobj.read(len, buffer) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/ssl.py", line 631, in read v = self._sslobj.read(len, buffer) socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 188, in _main status = self.run(options, args) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 185, in wrapper return func(self, options, args) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 333, in run reqs, check_supported_wheels=not options.target_dir File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement(req) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement hashes=hashes, File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 259, in unpack_url hashes=hashes, File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 130, in get_http_url link, downloader, temp_dir.path, hashes File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 281, in _download_http_url for chunk in download.chunks: File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/cli/progress_bars.py", line 166, in iter for x in it: File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_internal/network/utils.py", line 39, in response_chunks decode_content=False, File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 564, in stream data = self.read(amt=amt, decode_content=decode_content) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 529, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/contextlib.py", line 99, in exit self.gen.throw(type, value, traceback) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/pip/_vendor/urllib3/response.py", line 430, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (zoo_automl) wxy@SC-202007040719:/$

I am a beginner,please help me,thanks!

qiyuangong commented 4 years ago

@shane-huang

shanyu-sys commented 4 years ago

I notice your pip install is too slow. Are you in china mainland? If so, you could add a mirror in your pip configuration. This will effect on all your pip install.

vi ~/.pip/pip.conf
[global]
trusted-host =  mirrors.aliyun.com
index-url = https://mirrors.aliyun.com/pypi/simple

Then run pip install analytics-zoo[automl]

2017wxyzwxyz commented 4 years ago

First of all, thank you very much. I have been able to download all the packages according to your instructions, but there was an error in "building wheels". Please continue to instruct me how to deal with it next.

Here's the error message:

error ........................................................ Collecting pyparsing>=2.0.2 Downloading https://mirrors.aliyun.com/pypi/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) |████████████████████████████████| 67 kB 876 kB/s Building wheels for collected packages: pyspark, psutil, setproctitle, bayesian-optimization, pyyaml, termcolor, gast, absl-py, wrapt, idna-ssl, contextvars, tornado, toolz, locket Building wheel for pyspark (setup.py) ... done Created wheel for pyspark: filename=pyspark-2.4.3-py2.py3-none-any.whl size=215964963 sha256=42d1224e7f9eb35c8344457a67e28eba2dacdb509baf632bccf60666bf0c6b86 Stored in directory: /home/wxy/.cache/pip/wheels/92/c0/0d/0660b9cc120b425fc481e4d3485059bcc1169b5e054fcb05ea Building wheel for psutil (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h88cb49f/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-h88cb49f/psutil/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/pip-wheel-rdzqnr4i cwd: /tmp/pip-install-h88cb49f/psutil/ Complete output (112 lines): 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o unable to execute 'gcc': No such file or directory Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile extra_postargs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run self.run_command('build') File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions self._build_extensions_serial() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial self.build_extension(ext) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension _build_ext.build_extension(self, ext) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension depends=ext.depends) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile raise CompileError(msg) distutils.errors.CompileError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 393, in main setup(kwargs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/init.py", line 161, in setup return distutils.core.setup(attrs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/core.py", line 163, in setup raise SystemExit("error: " + str(msg)) SystemExit: error: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 426, in main() File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 400, in main missdeps("sudo apt-get install gcc python%s-dev" % py3) File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 116, in missdeps s = hilite("C compiler or Python headers are not installed ", ok=False) TypeError: hilite() got an unexpected keyword argument 'ok'

ERROR: Failed building wheel for psutil Running setup.py clean for psutil Building wheel for setproctitle (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h88cb49f/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-h88cb49f/setproctitle/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/pip-wheel-u0alsms4 cwd: /tmp/pip-install-h88cb49f/setproctitle/ Complete output (10 lines): running bdist_wheel running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for setproctitle Running setup.py clean for setproctitle Building wheel for bayesian-optimization (setup.py) ... done Created wheel for bayesian-optimization: filename=bayesian_optimization-1.2.0-py3-none-any.whl size=11684 sha256=edf9b95fc2bfffd390c1c02ea436dd1e3fd10f8f3504583339b786c0e4ca80ec Stored in directory: /home/wxy/.cache/pip/wheels/25/8b/a6/182574d55dfb7c7ca276ffccbd05f36ec9336b08b7244b78e6 Building wheel for pyyaml (setup.py) ... done Created wheel for pyyaml: filename=PyYAML-5.3.1-cp36-cp36m-linux_x86_64.whl size=44621 sha256=e3c30ca49f3eaf1626f6721f2deb9e00478fda77053ea8729092e81e864e84f3 Stored in directory: /home/wxy/.cache/pip/wheels/a8/0e/41/3747e963ad2bfbd6ad3db10f57ee723d954ed4da683aadab6b Building wheel for termcolor (setup.py) ... done Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=a282a41b3d80c86981b1bfea90ace67ed0cc7ee8747c066fa52ee9f4aef286b1 Stored in directory: /home/wxy/.cache/pip/wheels/8b/49/fb/8c8dfa26e09f80c498130cf95189975bcc8735c4feae69f3c1 Building wheel for gast (setup.py) ... done Created wheel for gast: filename=gast-0.2.2-py3-none-any.whl size=7539 sha256=e2e3575acd605359ed2d3a2fb862fafa05ac6777fc8d0ce38d0561f5b4864639 Stored in directory: /home/wxy/.cache/pip/wheels/03/9c/3b/f49834321f4df7842d61424af7595757054699bcc4e8dc55f1 Building wheel for absl-py (setup.py) ... done Created wheel for absl-py: filename=absl_py-0.9.0-py3-none-any.whl size=121931 sha256=64fa15cc64179677f4418bd528cc49ca59fe268af9b5ce56e8f011192e60f654 Stored in directory: /home/wxy/.cache/pip/wheels/93/57/cf/9f2f468a53488998359931532f958b0579dbca51ba2b00b90d Building wheel for wrapt (setup.py) ... done Created wheel for wrapt: filename=wrapt-1.12.1-py3-none-any.whl size=19553 sha256=625fb97675c9b60ac383aac5c26707819378bbd6215bb533b73235e6aeec9000 Stored in directory: /home/wxy/.cache/pip/wheels/9e/47/e8/a7db270d08cff98ddd977d4514fb0d8ff51a9470f0ae22269d Building wheel for idna-ssl (setup.py) ... done Created wheel for idna-ssl: filename=idna_ssl-1.1.0-py3-none-any.whl size=3161 sha256=360962a9db5e6d579e947f937987236e929ebc17ee9aff8434613d321e31337e Stored in directory: /home/wxy/.cache/pip/wheels/a6/c9/49/efe85369020e585cb7162209710e3ed18449b317e1fd51f34d Building wheel for contextvars (setup.py) ... done Created wheel for contextvars: filename=contextvars-2.4-py3-none-any.whl size=7664 sha256=1f754359c4d01b20efc3ae70152d43f99f7a109a51e6490430482b0aba7fc617 Stored in directory: /home/wxy/.cache/pip/wheels/0c/54/8c/af03fbd645843a9bb35c8646750e9cd479b7ed7e9a29af0f32 Building wheel for tornado (setup.py) ... done Created wheel for tornado: filename=tornado-6.0.4-cp36-cp36m-linux_x86_64.whl size=415151 sha256=749131c515322049bed5712a8656f3102c1d4202abf349d008161010b3f02bae Stored in directory: /home/wxy/.cache/pip/wheels/0a/2d/3b/53a2f2df20c7243a4226151c12a694bc573df1e2ed174c2f20 Building wheel for toolz (setup.py) ... done Created wheel for toolz: filename=toolz-0.10.0-py3-none-any.whl size=55575 sha256=5730383caa5a720b753c2a6b3b01eb881c484097e02ecb7445a0ed9cd8eb4039 Stored in directory: /home/wxy/.cache/pip/wheels/85/f5/aa/fcee5ca3b0aaea2f12cae69e468ca98b3820a75617e3e6b554 Building wheel for locket (setup.py) ... done Created wheel for locket: filename=locket-0.2.0-py3-none-any.whl size=4038 sha256=1d9c338da948b661fe68fe69edd556ad445bbf99375276aa35c7d28eaff59dea Stored in directory: /home/wxy/.cache/pip/wheels/48/6c/b5/5ed278f5d750d8cd339c75bee7e85d27f7e34fba30f736d7c8 Successfully built pyspark bayesian-optimization pyyaml termcolor gast absl-py wrapt idna-ssl contextvars tornado toolz locket Failed to build psutil setproctitle Installing collected packages: py4j, pyspark, conda-pack, numpy, six, bigdl, psutil, setproctitle, pytz, python-dateutil, pandas, tqdm, heapdict, zict, pyyaml, click, immutables, contextvars, msgpack, cloudpickle, tornado, fsspec, locket, toolz, partd, dask, sortedcontainers, tblib, distributed, scipy, featuretools, colorama, protobuf, flatbuffers, funcsigs, zipp, importlib-metadata, pluggy, wcwidth, pyparsing, packaging, attrs, py, more-itertools, pytest, redis, filelock, ray, astor, opt-einsum, h5py, keras-applications, termcolor, tensorflow-estimator, google-pasta, gast, keras-preprocessing, grpcio, absl-py, werkzeug, markdown, tensorboard, wrapt, tensorflow, threadpoolctl, joblib, scikit-learn, bayesian-optimization, chardet, urllib3, idna, requests, async-timeout, multidict, typing-extensions, yarl, idna-ssl, aiohttp, analytics-zoo Running setup.py install for psutil ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h88cb49f/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-h88cb49f/psutil/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-record-c7d6ma1r/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil cwd: /tmp/pip-install-h88cb49f/psutil/ Complete output (114 lines): 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o unable to execute 'gcc': No such file or directory Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile extra_postargs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/install.py", line 545, in run
    self.run_command('build')
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run
    _build_ext.run(self)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
    depends=ext.depends)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 393, in main
    setup(**kwargs)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/__init__.py", line 161, in setup
    return distutils.core.setup(**attrs)
  File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/core.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 426, in <module>
    main()
  File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 400, in main
    missdeps("sudo apt-get install gcc python%s-dev" % py3)
  File "/tmp/pip-install-h88cb49f/psutil/setup.py", line 116, in missdeps
    s = hilite("C compiler or Python headers are not installed ", ok=False)
TypeError: hilite() got an unexpected keyword argument 'ok'
----------------------------------------

ERROR: Command errored out with exit status 1: /home/wxy/anaconda3/envs/zoo_automl/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h88cb49f/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-h88cb49f/psutil/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-record-c7d6ma1r/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil Check the logs for full command output. (zoo_automl) wxy@SC-202007040719:/$

2017wxyzwxyz commented 4 years ago

I try to find out why: according to “README.md” Guidance in the document: ‘conda create -n zoo_automl python=3.6’ I want to change Anaconda's default Python version 3.7 to the specified version 3.6. Can errors be avoided? So I tried what I could, but it didn't work

Here's the error message:

Building wheel for setproctitle (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xeapteoa/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-xeapteoa/setproctitle/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/pip-wheel-_mdcx10c cwd: /tmp/pip-install-xeapteoa/setproctitle/ Complete output (10 lines): running bdist_wheel running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for setproctitle Running setup.py clean for setproctitle Building wheel for psutil (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xeapteoa/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-xeapteoa/psutil/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/pip-wheel-0_mfz2yu cwd: /tmp/pip-install-xeapteoa/psutil/ Complete output (112 lines): 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o unable to execute 'gcc': No such file or directory Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/unixccompiler.py", line 118, in _compile extra_postargs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run self.run_command('build') File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions self._build_extensions_serial() File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial self.build_extension(ext) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension _build_ext.build_extension(self, ext) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension depends=ext.depends) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/unixccompiler.py", line 120, in _compile raise CompileError(msg) distutils.errors.CompileError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/tmp/pip-install-xeapteoa/psutil/setup.py", line 393, in main setup(kwargs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/site-packages/setuptools/init.py", line 165, in setup return distutils.core.setup(attrs) File "/home/wxy/anaconda3/envs/zoo_automl/lib/python3.6/distutils/core.py", line 163, in setup raise SystemExit("error: " + str(msg)) SystemExit: error: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-xeapteoa/psutil/setup.py", line 426, in main() File "/tmp/pip-install-xeapteoa/psutil/setup.py", line 400, in main missdeps("sudo apt-get install gcc python%s-dev" % py3) File "/tmp/pip-install-xeapteoa/psutil/setup.py", line 116, in missdeps s = hilite("C compiler or Python headers are not installed ", ok=False) TypeError: hilite() got an unexpected keyword argument 'ok'

ERROR: Failed building wheel for psutil Running setup.py clean for psutil Failed to build setproctitle psutil Installing collected packages: py4j, pyspark, six, numpy, bigdl, conda-pack, setproctitle, chardet, idna, multidict, yarl, async-timeout, attrs, typing-extensions, idna-ssl, aiohttp, psutil, absl-py, keras-preprocessing, termcolor, h5py, keras-applications, tensorflow-estimator, google-pasta, protobuf, grpcio, zipp, importlib-metadata, markdown, werkzeug, tensorboard, astor, wrapt, opt-einsum, gast, tensorflow, pyyaml, pytz, python-dateutil, pandas, immutables, contextvars, fsspec, toolz, locket, partd, dask, sortedcontainers, tornado, msgpack, cloudpickle, heapdict, zict, click, tblib, distributed, tqdm, scipy, featuretools, threadpoolctl, joblib, scikit-learn, bayesian-optimization, urllib3, requests, redis, flatbuffers, filelock, pyparsing, packaging, py, wcwidth, more-itertools, pluggy, pytest, colorama, funcsigs, ray, analytics-zoo Running setup.py install for setproctitle ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xeapteoa/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-xeapteoa/setproctitle/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-record-vvend47g/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/setproctitle cwd: /tmp/pip-install-xeapteoa/setproctitle/ Complete output (10 lines): running install running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xeapteoa/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-xeapteoa/setproctitle/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-record-vvend47g/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/setproctitle Check the logs for full command output.

please help me!

hkvision commented 4 years ago

The error command is error: command 'gcc' failed with exit status 1 You need to check your gcc installation or version on your machine. The error occurred when you install the dependency setproctitle psutil. Please make sure these two packages can be successfully installed by pip on your machine before using analytics-zoo.

hkvision commented 4 years ago

BTW, if you want to use python 3.7, you need to create a new conda environment with conda create -n zoo_automl python=3.7 In your error log, you are still using python 3.6.

2017wxyzwxyz commented 4 years ago

Which version of GCC should be installed in win10-ubuntu 1804-python3.6 environment to compile 'zoo'_ automl'? please help me !

shanyu-sys commented 4 years ago

Which version of GCC should be installed in win10-ubuntu 1804-python3.6 environment to compile 'zoo'_ automl'? please help me !

Have you installed gcc yet? You can check by which gcc or gcc -v. If not, you should run sudo apt-get install gcc and then try pip install psutil setproctitle again.

BTW, both python 3.6 and 3.7 work, so you don't need to switch version if you have one installed already.

2017wxyzwxyz commented 4 years ago

Thank you very much,I will try it!

2017wxyzwxyz commented 4 years ago

After I installed gcc ,try 'pip install psutil setproctitle',but Still wrong:

(base) wxy@SC-202007040719:/$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) (base) wxy@SC-202007040719:/$ conda activate zoo_automl (zoo_automl) wxy@SC-202007040719:/$ pip install psutil setproctitle Looking in indexes: https://mirrors.aliyun.com/pypi/simple Collecting psutil Using cached https://mirrors.aliyun.com/pypi/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41/psutil-5.7.0.tar.gz (449 kB) Collecting setproctitle Using cached https://mirrors.aliyun.com/pypi/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz (24 kB) Building wheels for collected packages: psutil, setproctitle Building wheel for psutil (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h530hu7f/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-h530hu7f/psutil/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/pip-wheel-jjocsz5a cwd: /tmp/pip-install-h530hu7f/psutil/ Complete output (48 lines): /tmp/tmpbjjvv_xh.c:1:27: fatal error: linux/ethtool.h: No such file or directory compilation terminated. 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from psutil/_psutil_common.c:9: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for psutil Running setup.py clean for psutil Building wheel for setproctitle (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h530hu7f/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-h530hu7f/setproctitle/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/pip-wheel-qpoom_i3 cwd: /tmp/pip-install-h530hu7f/setproctitle/ Complete output (17 lines): running bdist_wheel running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from src/spt_python.h:14, from src/spt.h:15, from src/setproctitle.c:14: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for setproctitle Running setup.py clean for setproctitle Failed to build psutil setproctitle Installing collected packages: psutil, setproctitle Running setup.py install for psutil ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h530hu7f/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-h530hu7f/psutil/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-record-qk3m0604/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil cwd: /tmp/pip-install-h530hu7f/psutil/ Complete output (48 lines): /tmp/tmpz8tqnaie.c:1:27: fatal error: linux/ethtool.h: No such file or directory compilation terminated. 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from psutil/_psutil_common.c:9: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-h530hu7f/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-h530hu7f/psutil/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-record-qk3m0604/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil Check the logs for full command output. (zoo_automl) wxy@SC-202007040719:/$

(zoo_automl) wxy@SC-202007040719:/$ pip install psutil Looking in indexes: https://mirrors.aliyun.com/pypi/simple Collecting psutil Using cached https://mirrors.aliyun.com/pypi/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41/psutil-5.7.0.tar.gz (449 kB) Building wheels for collected packages: psutil Building wheel for psutil (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4hhtkixk/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-4hhtkixk/psutil/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/pip-wheel-ipudkcw5 cwd: /tmp/pip-install-4hhtkixk/psutil/ Complete output (48 lines): /tmp/tmpiko0sqj8.c:1:27: fatal error: linux/ethtool.h: No such file or directory compilation terminated. 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from psutil/_psutil_common.c:9: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for psutil Running setup.py clean for psutil Failed to build psutil Installing collected packages: psutil Running setup.py install for psutil ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4hhtkixk/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-4hhtkixk/psutil/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-record-28s1m05g/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil cwd: /tmp/pip-install-4hhtkixk/psutil/ Complete output (48 lines): /tmp/tmpxhid8nfx.c:1:27: fatal error: linux/ethtool.h: No such file or directory compilation terminated. 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from psutil/_psutil_common.c:9: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4hhtkixk/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-4hhtkixk/psutil/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-record-28s1m05g/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil Check the logs for full command output. (zoo_automl) wxy@SC-202007040719:/$ pip install setproctitle Looking in indexes: https://mirrors.aliyun.com/pypi/simple Collecting setproctitle Using cached https://mirrors.aliyun.com/pypi/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz (24 kB) Building wheels for collected packages: setproctitle Building wheel for setproctitle (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g3fuo3yv/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-g3fuo3yv/setproctitle/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/pip-wheel-hwmxltti cwd: /tmp/pip-install-g3fuo3yv/setproctitle/ Complete output (17 lines): running bdist_wheel running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from src/spt_python.h:14, from src/spt.h:15, from src/setproctitle.c:14: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for setproctitle Running setup.py clean for setproctitle Failed to build setproctitle Installing collected packages: setproctitle Running setup.py install for setproctitle ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g3fuo3yv/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-g3fuo3yv/setproctitle/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-record-46utqywv/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/setproctitle cwd: /tmp/pip-install-g3fuo3yv/setproctitle/ Complete output (17 lines): running install running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from src/spt_python.h:14, from src/spt.h:15, from src/setproctitle.c:14: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g3fuo3yv/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-g3fuo3yv/setproctitle/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-record-46utqywv/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/setproctitle Check the logs for full command output. (zoo_automl) wxy@SC-202007040719:/$

Why ? please help me

2017wxyzwxyz commented 4 years ago

Because I am not familiar with the environment, so I refer to the information on the Internet, try to install PIP3, and then use the PIP3 install command, still unsuccessful!

(zoo_automl) wxy@SC-202007040719:/mnt/c/Users/Administrator$ pip3 install psutil setproctitle Looking in indexes: https://mirrors.aliyun.com/pypi/simple Collecting psutil Using cached https://mirrors.aliyun.com/pypi/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41/psutil-5.7.0.tar.gz (449 kB) Collecting setproctitle Using cached https://mirrors.aliyun.com/pypi/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz (24 kB) Building wheels for collected packages: psutil, setproctitle Building wheel for psutil (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q9e_7xup/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-q9e_7xup/psutil/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/pip-wheel-h2la5y5n cwd: /tmp/pip-install-q9e_7xup/psutil/ Complete output (48 lines): /tmp/tmp69tfvnza.c:1:27: fatal error: linux/ethtool.h: No such file or directory compilation terminated. 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from psutil/_psutil_common.c:9: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for psutil Running setup.py clean for psutil Building wheel for setproctitle (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q9e_7xup/setproctitle/setup.py'"'"'; file='"'"'/tmp/pip-install-q9e_7xup/setproctitle/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/pip-wheel-es7j5b2y cwd: /tmp/pip-install-q9e_7xup/setproctitle/ Complete output (17 lines): running bdist_wheel running build running build_ext building 'setproctitle' extension creating build creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DSPT_VERSION=1.1.10 -DHAVE_SYS_PRCTL_H=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c src/setproctitle.c -o build/temp.linux-x86_64-3.6/src/setproctitle.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from src/spt_python.h:14, from src/spt.h:15, from src/setproctitle.c:14: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for setproctitle Running setup.py clean for setproctitle Failed to build psutil setproctitle Installing collected packages: psutil, setproctitle Running setup.py install for psutil ... error ERROR: Command errored out with exit status 1: command: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q9e_7xup/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-q9e7xup/psutil/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-record-tfjawe8/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil cwd: /tmp/pip-install-q9e_7xup/psutil/ Complete output (48 lines): /tmp/tmp50fbtv2v.c:1:27: fatal error: linux/ethtool.h: No such file or directory compilation terminated. 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/psutil copying psutil/init.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil creating build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/init.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/main.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/psutil gcc -pthread -B /home/wxy/anaconda3/envs/zoo_automl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/home/wxy/anaconda3/envs/zoo_automl/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h:7:0, from /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:34, from /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/Python.h:11, from psutil/_psutil_common.c:9: /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /home/wxy/anaconda3/envs/zoo_automl/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-q9e_7xup/psutil/setup.py'"'"'; file='"'"'/tmp/pip-install-q9e7xup/psutil/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-record-tfjawe8/install-record.txt --single-version-externally-managed --compile --install-headers /home/wxy/anaconda3/envs/zoo_automl/include/python3.6m/psutil Check the logs for full command output. (zoo_automl) wxy@SC-202007040719:/mnt/c/Users/Administrator$

please help me!

shanyu-sys commented 4 years ago

Your error occurred during installation of psutil and setproctitle. We suggest you ask the owners of psutil and setproctile about how to install the two libraries correctly, For example, you can raise issues in psutil github (psutil issues) and setproctile github (setproctitle issues).

2017wxyzwxyz commented 4 years ago

thanks!

shanyu-sys commented 4 years ago

Close this issue for now.