Title: Fails to install on Windows · Issue #8 · ogdf/ogdf-python · GitHub
Open Graph Title: Fails to install on Windows · Issue #8 · ogdf/ogdf-python
X Title: Fails to install on Windows · Issue #8 · ogdf/ogdf-python
Description: A colleague and I tried installing OGDF-Python on Windows. The colleague tried it with pip, which failed. I tried it with uv on Windows 11, which also failed. Steps to reproduce Get UV (or pip) on Windows uv init some-demo uv add ogdf-py...
Open Graph Description: A colleague and I tried installing OGDF-Python on Windows. The colleague tried it with pip, which failed. I tried it with uv on Windows 11, which also failed. Steps to reproduce Get UV (or pip) on ...
X Description: A colleague and I tried installing OGDF-Python on Windows. The colleague tried it with pip, which failed. I tried it with uv on Windows 11, which also failed. Steps to reproduce Get UV (or pip) on ...
Opengraph URL: https://github.com/ogdf/ogdf-python/issues/8
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fails to install on Windows","articleBody":"A colleague and I tried installing OGDF-Python on Windows.\n\nThe colleague tried it with pip, which failed. I tried it with uv on Windows 11, which also failed.\n\n\nSteps to reproduce\n1. Get [UV](https://github.com/astral-sh/uv) (or pip) on Windows\n2. \n```\nuv init some-demo\nuv add ogdf-python[quickstart]\n```\n\nThis results in the following error\n```\nUsing CPython 3.13.3\nCreating virtual environment at: .venv\nResolved 115 packages in 2.53s\n × Failed to build `ogdf-wheel==2023.9`\n ├─▶ The build backend returned an error\n ╰─▶ Call to `hatchling.build.build_wheel` failed (exit code: 1)\n\n [stdout]\n Set wheel tag to py3-none-win_amd64\n\n Config\n {'artifacts': [],\n 'build_hooks': ('custom',),\n 'dependencies': [],\n 'extra_metadata': {},\n 'force_include': {},\n 'force_include_editable': {},\n 'infer_tag': False,\n 'pure_python': False,\n 'shared_data': {},\n 'shared_scripts': {},\n 'tag': 'py3-none-win_amd64'}\n {'_BuilderConfig__build_config': {'ignore-vcs': True,\n 'targets': {'sdist': {'exclude': ['cmake_build',\n 'dist',\n 'wheelhouse',\n '.git*']},\n 'wheel': {'exclude': ['cmake_build',\n 'dist',\n 'wheelhouse',\n '.git*',\n 'hatch_build.py',\n 'test_*.py'],\n 'hooks': {'custom': {}}}}},\n '_BuilderConfig__builder': \u003chatchling.builders.wheel.WheelBuilder object at 0x00000217695196A0\u003e,\n '_BuilderConfig__exclude_all': False,\n '_BuilderConfig__plugin_name': 'wheel',\n '_BuilderConfig__root':\n 'C:\\\\Users\\\\Stefnotch\\\\AppData\\\\Local\\\\uv\\\\cache\\\\sdists-v9\\\\pypi\\\\ogdf-wheel\\\\2023.9\\\\lybCf4tAJyalrkxzFzCZo\\\\src',\n '_BuilderConfig__target_config': {'exclude': ['cmake_build',\n 'dist',\n 'wheelhouse',\n '.git*',\n 'hatch_build.py',\n 'test_*.py'],\n 'hooks': {'custom': {}}},\n '_WheelBuilderConfig__core_metadata_constructor': None,\n '_WheelBuilderConfig__extra_metadata': None,\n '_WheelBuilderConfig__macos_max_compat': None,\n '_WheelBuilderConfig__shared_data': None,\n '_WheelBuilderConfig__shared_scripts': None,\n '_WheelBuilderConfig__strict_naming': None,\n 'build_artifact_spec': None,\n 'build_force_include': {},\n 'build_reserved_paths': set(),\n 'hook_config': {'custom': {}}}\n\n\n Running cmake\n C:\\Users\\Stefnotch\\AppData\\Local\\uv\\cache\\sdists-v9\\pypi\\ogdf-wheel\\2023.9\\lybCf4tAJyalrkxzFzCZo\\src\\ogdf\n -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON\n -DCMAKE_INSTALL_PREFIX=C:\\Users\\Stefnotch\\AppData\\Local\\uv\\cache\\sdists-v9\\pypi\\ogdf-wheel\\2023.9\\lybCf4tAJyalrkxzFzCZo\\src\\src\\ogdf_wheel\\install\n -DOGDF_USE_ASSERT_EXCEPTIONS=ON -DOGDF_MEMORY_MANAGER=POOL_TS -DOGDF_WARNING_ERRORS=OFF\n -DCMAKE_BUILD_RPATH=$ORIGIN;@loader_path -DCMAKE_INSTALL_RPATH=$ORIGIN;@loader_path -DMACOSX_RPATH=TRUE\n\n [stderr]\n Traceback (most recent call last):\n File \"\u003cstring\u003e\", line 11, in \u003cmodule\u003e\n wheel_filename = backend.build_wheel(\"C:\\\\Users\\\\Stefnotch\\\\AppData\\\\Local\\\\uv\\\\cache\\\\builds-v0\\\\.tmpASz6Rw\",\n {}, None)\n File \"C:\\Users\\Stefnotch\\AppData\\Local\\uv\\cache\\builds-v0\\.tmpXMbJLD\\Lib\\site-packages\\hatchling\\build.py\",\n line 58, in build_wheel\n return os.path.basename(next(builder.build(directory=wheel_directory, versions=['standard'])))\n ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File\n \"C:\\Users\\Stefnotch\\AppData\\Local\\uv\\cache\\builds-v0\\.tmpXMbJLD\\Lib\\site-packages\\hatchling\\builders\\plugin\\interface.py\",\n line 147, in build\n build_hook.initialize(version, build_data)\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^\n File\n \"C:\\Users\\Stefnotch\\AppData\\Local\\uv\\cache\\sdists-v9\\pypi\\ogdf-wheel\\2023.9\\lybCf4tAJyalrkxzFzCZo\\src\\hatch_build.py\",\n line 131, in initialize\n self.run(\"cmake\", self.ogdf_src_dir, *flags)\n ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File\n \"C:\\Users\\Stefnotch\\AppData\\Local\\uv\\cache\\sdists-v9\\pypi\\ogdf-wheel\\2023.9\\lybCf4tAJyalrkxzFzCZo\\src\\hatch_build.py\",\n line 84, in run\n return subprocess.run(args, capture_output=False, check=True, cwd=self.cmake_build_dir)\n ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Stefnotch\\AppData\\Roaming\\uv\\python\\cpython-3.13.3-windows-x86_64-none\\Lib\\subprocess.py\", line\n 554, in run\n with Popen(*popenargs, **kwargs) as process:\n ~~~~~^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Stefnotch\\AppData\\Roaming\\uv\\python\\cpython-3.13.3-windows-x86_64-none\\Lib\\subprocess.py\", line\n 1039, in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n pass_fds, cwd, env,\n ^^^^^^^^^^^^^^^^^^^\n ...\u003c5 lines\u003e...\n gid, gids, uid, umask,\n ^^^^^^^^^^^^^^^^^^^^^^\n start_new_session, process_group)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"C:\\Users\\Stefnotch\\AppData\\Roaming\\uv\\python\\cpython-3.13.3-windows-x86_64-none\\Lib\\subprocess.py\", line\n 1551, in _execute_child\n hp, ht, pid, tid = _winapi.CreateProcess(executable, args,\n ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n # no special security\n ^^^^^^^^^^^^^^^^^^^^^\n ...\u003c4 lines\u003e...\n cwd,\n ^^^^\n startupinfo)\n ^^^^^^^^^^^^\n FileNotFoundError: [WinError 2] The system cannot find the file specified\n\n hint: This usually indicates a problem with the package or the build environment.\n help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip\n locking and syncing\n```\n\nIt seems like installing ogdf-wheel fails.\n\nI'm happy to try out other things, just let me know.","author":{"url":"https://github.com/stefnotch","@type":"Person","name":"stefnotch"},"datePublished":"2025-04-21T20:11:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8/ogdf-python/issues/8"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:14d51aac-9391-82b9-03d6-59dd171e0e41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF66:3CECC8:5186A66:6AE38A5:6974C0BA |
| html-safe-nonce | acc76e378c733fcd08d145d14574be9df1e49d217194946fa20bc865ea69021a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjY2OjNDRUNDODo1MTg2QTY2OjZBRTM4QTU6Njk3NEMwQkEiLCJ2aXNpdG9yX2lkIjoiMjQ4NzUyODM4NjgyNTg2MzM1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 425cae1a3d80c5b9970108d12a7644180cb031f3d25f3dea1c34090f1add5762 |
| hovercard-subject-tag | issue:3009216028 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ogdf/ogdf-python/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96dbd0ae400c97832dec31cf759abd15be9191db8d137a5050286160cacdcbcf/ogdf/ogdf-python/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96dbd0ae400c97832dec31cf759abd15be9191db8d137a5050286160cacdcbcf/ogdf/ogdf-python/issues/8 |
| og:image:alt | A colleague and I tried installing OGDF-Python on Windows. The colleague tried it with pip, which failed. I tried it with uv on Windows 11, which also failed. Steps to reproduce Get UV (or pip) on ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stefnotch |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/ogdf/ogdf-python git https://github.com/ogdf/ogdf-python.git |
| octolytics-dimension-user_id | 4130341 |
| octolytics-dimension-user_login | ogdf |
| octolytics-dimension-repository_id | 293561429 |
| octolytics-dimension-repository_nwo | ogdf/ogdf-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 293561429 |
| octolytics-dimension-repository_network_root_nwo | ogdf/ogdf-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width