I started by trying to download the ghhops_server library onto my computer with pip install ghhops_server
, but apparently it needs rhino3dm to be installed as well. Then the following message appears:
Collecting ghhops_server
Using cached ghhops_server-1.5.4-py2.py3-none-any.whl (11 kB)
Collecting rhino3dm
Using cached rhino3dm-7.14.2.tar.gz (5.7 MB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: rhino3dm
Building wheel for rhino3dm (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [83 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\rhino3dm
copying src\rhino3dm\__init__.py -> build\lib.win-amd64-cpython-311\rhino3dm
running egg_info
writing src\rhino3dm.egg-info\PKG-INFO
writing dependency_links to src\rhino3dm.egg-info\dependency_links.txt
writing top-level names to src\rhino3dm.egg-info\top_level.txt
reading manifest file 'src\rhino3dm.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pyd' under directory 'src\rhino3dm'
warning: no files found matching '*.so' under directory 'src\rhino3dm'
adding license file 'LICENSE'
writing manifest file 'src\rhino3dm.egg-info\SOURCES.txt'
copying src\rhino3dm\__init__.pyi -> build\lib.win-amd64-cpython-311\rhino3dm
copying src\rhino3dm\py.typed -> build\lib.win-amd64-cpython-311\rhino3dm
running build_ext
C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py:39: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)',
extdir = C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\build\lib.win-amd64-cpython-311\rhino3dm
sourcedirC:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:2 (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/User/AppData/Local/Temp/pip-install-e_iyu93w/rhino3dm_903d84292f6e4117b8e3696589f6b5f3/build/temp.win-amd64-cpython-311/Release/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 111, in <module>
setup(
File "C:\Python311\Lib\site-packages\setuptools\__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Python311\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Python311\Lib\site-packages\wheel\bdist_wheel.py", line 325, in run
self.run_command("build")
File "C:\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Python311\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 45, in run
self.build_extension(ext)
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 90, in build_extension
system(command)
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 20, in system
raise RuntimeError('The command "{}" exited with {}'.format(cmd, rc))
RuntimeError: The command "cmake -A x64 -DPYTHON_EXECUTABLE:FILEPATH="C:\Python311\python.exe" "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3/src"" exited with 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rhino3dm
Running setup.py clean for rhino3dm
Failed to build rhino3dm
Installing collected packages: rhino3dm, ghhops_server
Running setup.py install for rhino3dm ... error
error: subprocess-exited-with-error
× Running setup.py install for rhino3dm did not run successfully.
│ exit code: 1
╰─> [88 lines of output]
running install
C:\Python311\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_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\rhino3dm
copying src\rhino3dm\__init__.py -> build\lib.win-amd64-cpython-311\rhino3dm
running egg_info
writing src\rhino3dm.egg-info\PKG-INFO
writing dependency_links to src\rhino3dm.egg-info\dependency_links.txt
writing top-level names to src\rhino3dm.egg-info\top_level.txt
reading manifest file 'src\rhino3dm.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pyd' under directory 'src\rhino3dm'
warning: no files found matching '*.so' under directory 'src\rhino3dm'
adding license file 'LICENSE'
writing manifest file 'src\rhino3dm.egg-info\SOURCES.txt'
copying src\rhino3dm\__init__.pyi -> build\lib.win-amd64-cpython-311\rhino3dm
copying src\rhino3dm\py.typed -> build\lib.win-amd64-cpython-311\rhino3dm
running build_ext
C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py:39: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)',
extdir = C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\build\lib.win-amd64-cpython-311\rhino3dm
sourcedirC:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:2 (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/User/AppData/Local/Temp/pip-install-e_iyu93w/rhino3dm_903d84292f6e4117b8e3696589f6b5f3/build/temp.win-amd64-cpython-311/Release/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 111, in <module>
setup(
File "C:\Python311\Lib\site-packages\setuptools\__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
self.run_command(cmd)
File "C:\Python311\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Python311\Lib\site-packages\setuptools\command\install.py", line 68, in run
return orig.install.run(self)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\setuptools\_distutils\command\install.py", line 697, in run
self.run_command('build')
File "C:\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Python311\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
self.run_command(cmd_name)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\dist.py", line 1221, in run_command
super().run_command(command)
File "C:\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
cmd_obj.run()
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 45, in run
self.build_extension(ext)
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 90, in build_extension
system(command)
File "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3\setup.py", line 20, in system
raise RuntimeError('The command "{}" exited with {}'.format(cmd, rc))
RuntimeError: The command "cmake -A x64 -DPYTHON_EXECUTABLE:FILEPATH="C:\Python311\python.exe" "C:\Users\User\AppData\Local\Temp\pip-install-e_iyu93w\rhino3dm_903d84292f6e4117b8e3696589f6b5f3/src"" exited with 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.
╰─> rhino3dm
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I don’t know what to do, I really wanted to test the Hops plugin.
I put my specs below:
- Windows 11
- Rhinoceros 7.12.21313.6341
- PIP 23.0.1
- Python 3.11
- wheel 0.38.4
- cmake 3.25.2