Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\INNISAH3\work> pip install pydnp3 Collecting pydnp3 Using cached pydnp3-0.1.0.tar.gz (1.9 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: pybind11>=2.2 in c:\python310\lib\site-packages (from pydnp3) (2.10.0) Building wheels for collected packages: pydnp3 Building wheel for pydnp3 (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [78 lines of output] C:\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( C:\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead warnings.warn( C:\Python310\lib\site-packages\setuptools\config\setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_ext C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) -- Building for: NMake Makefiles CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:3 (project): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "C:/Users/INNISAH3/AppData/Local/Temp/pip-install-daj7e5xj/pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py", line 65, in setup( File "C:\Python310\lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Python310\lib\site-packages\setuptools\_distutils\core.py", line 177, in setup return run_commands(dist) File "C:\Python310\lib\site-packages\setuptools\_distutils\core.py", line 193, in run_commands dist.run_commands() File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands self.run_command(cmd) File "C:\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Python310\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Python310\lib\site-packages\setuptools\_distutils\cmd.py", line 317, in run_command self.distribution.run_command(command) File "C:\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Python310\lib\site-packages\setuptools\command\build.py", line 24, in run super().run() File "C:\Python310\lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run self.run_command(cmd_name) File "C:\Python310\lib\site-packages\setuptools\_distutils\cmd.py", line 317, in run_command self.distribution.run_command(command) File "C:\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py", line 34, in run self.build_extension(ext) File "C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py", line 59, in build_extension subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) File "C:\Python310\lib\subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\INNISAH3\\AppData\\Local\\Temp\\pip-install-daj7e5xj\\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\INNISAH3\\AppData\\Local\\Temp\\pip-install-daj7e5xj\\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=C:\\Python310\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\INNISAH3\\AppData\\Local\\Temp\\pip-install-daj7e5xj\\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\\build\\lib.win-amd64-cpython-310', '-A', 'x64']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pydnp3 Running setup.py clean for pydnp3 Failed to build pydnp3 Installing collected packages: pydnp3 Running setup.py install for pydnp3 ... error error: subprocess-exited-with-error × Running setup.py install for pydnp3 did not run successfully. │ exit code: 1 ╰─> [82 lines of output] C:\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( C:\Python310\lib\site-packages\setuptools\dist.py:771: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead warnings.warn( C:\Python310\lib\site-packages\setuptools\config\setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running install C:\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_ext C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) -- Building for: NMake Makefiles CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Error at CMakeLists.txt:3 (project): Generator NMake Makefiles does not support platform specification, but platform x64 was specified. CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "C:/Users/INNISAH3/AppData/Local/Temp/pip-install-daj7e5xj/pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584/build/temp.win-amd64-cpython-310/Release/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py", line 65, in setup( File "C:\Python310\lib\site-packages\setuptools\__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "C:\Python310\lib\site-packages\setuptools\_distutils\core.py", line 177, in setup return run_commands(dist) File "C:\Python310\lib\site-packages\setuptools\_distutils\core.py", line 193, in run_commands dist.run_commands() File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands self.run_command(cmd) File "C:\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Python310\lib\site-packages\setuptools\command\install.py", line 68, in run return orig.install.run(self) File "C:\Python310\lib\site-packages\setuptools\_distutils\command\install.py", line 695, in run self.run_command('build') File "C:\Python310\lib\site-packages\setuptools\_distutils\cmd.py", line 317, in run_command self.distribution.run_command(command) File "C:\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Python310\lib\site-packages\setuptools\command\build.py", line 24, in run super().run() File "C:\Python310\lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run self.run_command(cmd_name) File "C:\Python310\lib\site-packages\setuptools\_distutils\cmd.py", line 317, in run_command self.distribution.run_command(command) File "C:\Python310\lib\site-packages\setuptools\dist.py", line 1217, in run_command super().run_command(command) File "C:\Python310\lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command cmd_obj.run() File "C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py", line 34, in run self.build_extension(ext) File "C:\Users\INNISAH3\AppData\Local\Temp\pip-install-daj7e5xj\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\setup.py", line 59, in build_extension subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) File "C:\Python310\lib\subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\INNISAH3\\AppData\\Local\\Temp\\pip-install-daj7e5xj\\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\INNISAH3\\AppData\\Local\\Temp\\pip-install-daj7e5xj\\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=C:\\Python310\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\INNISAH3\\AppData\\Local\\Temp\\pip-install-daj7e5xj\\pydnp3_de7123e295cc43f9b6a1dcd2a0b2c584\\build\\lib.win-amd64-cpython-310', '-A', 'x64']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> pydnp3 note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.