Cannot install ghhopes-server, Python 3.10 64 bit

I can’t install ghhopes server… here is the error:

C:\>pip install ghhops-server
Collecting ghhops-server
  Using cached ghhops_server-1.4.1-py2.py3-none-any.whl (10 kB)
Collecting rhino3dm
  Using cached rhino3dm-7.7.0.tar.gz (5.5 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: rhino3dm
  Building wheel for rhino3dm (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ARCHITECT\\AppData\\Local\\Temp\\pip-install-z9gkioip\\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\\setup.py'"'"'; __file__='"'"'C:\\Users\\ARCHITECT\\AppData\\Local\\Temp\\pip-install-z9gkioip\\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ARCHITECT\AppData\Local\Temp\pip-wheel-9d0rivra'
       cwd: C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\
  Complete output (62 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.10
  creating build\lib.win-amd64-3.10\rhino3dm
  copying src\rhino3dm\__init__.py -> build\lib.win-amd64-3.10\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-3.10\rhino3dm
  copying src\rhino3dm\py.typed -> build\lib.win-amd64-3.10\rhino3dm
  running build_ext
  Traceback (most recent call last):
    File "C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\setup.py", line 32, in run
      out = subprocess.check_output(['cmake', '--version'])
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run
      with Popen(*popenargs, **kwargs) as process:
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
      hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  FileNotFoundError: [WinError 2] The system cannot find the file specified

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\setup.py", line 111, in <module>
      setup(
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\setup.py", line 34, in run
      raise RuntimeError(
  RuntimeError: CMake must be installed to build the following extensions: rhino3dm._rhino3dm
  ----------------------------------------
  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: Command errored out with exit status 1:
     command: 'C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ARCHITECT\\AppData\\Local\\Temp\\pip-install-z9gkioip\\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\\setup.py'"'"'; __file__='"'"'C:\\Users\\ARCHITECT\\AppData\\Local\\Temp\\pip-install-z9gkioip\\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ARCHITECT\AppData\Local\Temp\pip-record-8q374tlk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\Include\rhino3dm'
         cwd: C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\
    Complete output (64 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.10
    creating build\lib.win-amd64-3.10\rhino3dm
    copying src\rhino3dm\__init__.py -> build\lib.win-amd64-3.10\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-3.10\rhino3dm
    copying src\rhino3dm\py.typed -> build\lib.win-amd64-3.10\rhino3dm
    running build_ext
    Traceback (most recent call last):
      File "C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\setup.py", line 32, in run
        out = subprocess.check_output(['cmake', '--version'])
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
        return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run
        with Popen(*popenargs, **kwargs) as process:
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
    FileNotFoundError: [WinError 2] The system cannot find the file specified

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\setup.py", line 111, in <module>
        setup(
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\command\install.py", line 568, in run
        self.run_command('build')
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\ARCHITECT\AppData\Local\Temp\pip-install-z9gkioip\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\setup.py", line 34, in run
        raise RuntimeError(
    RuntimeError: CMake must be installed to build the following extensions: rhino3dm._rhino3dm
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ARCHITECT\\AppData\\Local\\Temp\\pip-install-z9gkioip\\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\\setup.py'"'"'; __file__='"'"'C:\\Users\\ARCHITECT\\AppData\\Local\\Temp\\pip-install-z9gkioip\\rhino3dm_cc356ba01c324664bb7fb280f339c6ce\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ARCHITECT\AppData\Local\Temp\pip-record-8q374tlk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\ARCHITECT\AppData\Local\Programs\Python\Python310\Include\rhino3dm' Check the logs for full command output.

ghhops_server depends on rhino3dm whivh is not yet available for python 3.10. We should be able to get this fixed in the next week.

In the meantime you would need to use python 3.9.

Thanks Steve,
I will be waiting for that.
Cheers!

You can also install multiple versions of Python and make a dedicated virtual environment for your hops project with Python 3.9.

2 Likes