clab / dynet

DyNet: The Dynamic Neural Network Toolkit
Apache License 2.0
3.43k stars 703 forks source link

Cannot pip install dynet. Help! #1653

Closed Nathann03 closed 2 years ago

Nathann03 commented 2 years ago

I am not too sure why it is giving me an error since I have everything downloaded as stated in the documentation. Is there something I am missing? Here is the error log I got when PIP installing it:

C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py:531: UserWarning: Normalizing 'v2.1.2' to '2.1.2' warnings.warn(tmpl.format(locals())) C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py:772: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running bdist_wheel running build --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging__init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 208, in run log.info("CMAKE_PATH=%r" % CMAKE_PATH) Message: "CMAKE_PATH='C:\\Users\\natha\\AppData\\Local\\Programs\\Python\\Python310-32\\Scripts\\cmake.exe'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging__init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 209, in run log.info("MAKE_PATH=%r" % MAKE_PATH) Message: 'MAKE_PATH=None' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 210, in run log.info("MAKE_FLAGS=%r" % " ".join(MAKE_FLAGS)) Message: "MAKE_FLAGS='-j 12'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 211, in run log.info("EIGEN3_INCLUDE_DIR=%r" % EIGEN3_INCLUDE_DIR) Message: "EIGEN3_INCLUDE_DIR='C:\\Users\\natha\\AppData\\Local\\Temp\\pip-install-r8_d1nsn\\dynet_1d79655f2689483fa4f6568e39e5093b\\build\\py3.10-32bit\\eigen'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 212, in run log.info("EIGEN3_DOWNLOAD_URL=%r" % EIGEN3_DOWNLOAD_URL) Message: "EIGEN3_DOWNLOAD_URL='https://github.com/clab/dynet/releases/download/2.1/eigen-b2e267dc99d4.zip'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 213, in run log.info("CC_PATH=%r" % CC_PATH) Message: 'CC_PATH=None' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 214, in run log.info("CXX_PATH=%r" % CXX_PATH) Message: 'CXX_PATH=None' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 215, in run log.info("SCRIPT_DIR=%r" % SCRIPT_DIR) Message: "SCRIPT_DIR='C:\\Users\\natha\\AppData\\Local\\Temp\\pip-install-r8_d1nsn\\dynet_1d79655f2689483fa4f6568e39e5093b'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 216, in run log.info("BUILD_DIR=%r" % BUILD_DIR) Message: "BUILD_DIR='C:\\Users\\natha\\AppData\\Local\\Temp\\pip-install-r8_d1nsn\\dynet_1d79655f2689483fa4f6568e39e5093b\\build\\py3.10-32bit'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 217, in run log.info("INSTALL_PREFIX=%r" % INSTALL_PREFIX) Message: "INSTALL_PREFIX='C:\\Users\\natha\\AppData\\Local\\Programs\\Python\\Python310-32\\Lib\\site-packages\\..\\..\\..'" Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\logging\init__.py", line 1103, in emit stream.write(msg + self.terminator) ValueError: underlying buffer has been detached Call stack: File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 261, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 356, in setup( File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup return run_commands(dist) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands dist.run_commands() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands self.run_command(cmd) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools\dist.py", line 1229, in run_command super().run_command(command) File "C:\Users\natha\AppData\Local\Temp\pip-build-env-a8nrswj9\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command cmd_obj.run() File "setup.py", line 218, in run log.info("PYTHON=%r" % PYTHON) Message: "PYTHON='C:\\Users\\natha\\AppData\\Local\\Programs\\Python\\Python310-32\\python.exe'" Arguments: () Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\natha\AppData\Local\Programs\Python\Python310-32\Scripts\cmake.exe\main__.py", line 4, in ModuleNotFoundError: No module named 'cmake' error: make not found, and MAKE is not set. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for dynet Failed to build dynet ERROR: Could not build wheels for dynet, which is required to install pyproject.toml-based projects