WHL file for Windows?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 50/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python, pytorch
- Área
- build-system, machine-learning
Línea de trabajo
Start with the repository's pyproject.toml and the dependency installation output, especially the pinned pipeline dependency from GitHub. Reproduce the editable install on Windows and determine whether the failure is specific to the dependency build or the package configuration. Done means a documented Windows installation path or a package configuration that allows pip to complete successfully.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I am trying to get MoGe installed as part of the Pixal3D install.
pip install git+https://github.com/microsoft/MoGe.git
gives this
Collecting git+https://github.com/microsoft/MoGe.git
Cloning https://github.com/microsoft/MoGe.git to C:\Users\Jason\AppData\Local\Temp\pip-req-build-90tep_8c
Running command git clone --filter=blob:none --quiet https://github.com/microsoft/MoGe.git 'C:\Users\Jason\AppData\Local\Temp\pip-req-build-90tep_8c'
Resolved https://github.com/microsoft/MoGe.git to commit 74fbce054ebed49800de42d0ad0e83495065719a
Installing build dependencies ... error
error: subprocess-exited-with-error
× installing build dependencies did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
Traceback (most recent call last):
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\__pip-runner__.py", line 50, in <module>
runpy.run_module("pip", run_name="__main__", alter_sys=True)
File "D:\Python\lib\runpy.py", line 224, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "D:\Python\lib\runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "D:\Python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\__main__.py", line 24, in <module>
sys.exit(_main())
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\cli\main.py", line 47, in main
from pip._internal.cli.autocompletion import autocomplete
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\cli\autocompletion.py", line 12, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\cli\main_parser.py", line 11, in <module>
from pip._internal.cli import cmdoptions
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\cli\cmdoptions.py", line 28, in <module>
from pip._internal.cli.parser import ConfigOptionParser
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\cli\parser.py", line 20, in <module>
from pip._internal.configuration import Configuration, ConfigurationError
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\configuration.py", line 22, in <module>
from pip._internal.exceptions import (
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_internal\exceptions.py", line 23, in <module>
from pip._vendor.packaging.requirements import InvalidRequirement
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_vendor\packaging\requirements.py", line 8, in <module>
from ._parser import parse_requirement as _parse_requirement
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_vendor\packaging\_parser.py", line 12, in <module>
from ._tokenizer import DEFAULT_RULES, Tokenizer
File "D:\Tests\Pixal3D\Pixal3D\venv\Lib\site-packages\pip\_vendor\packaging\_tokenizer.py", line 77, in <module>
"SPECIFIER": re.compile(
File "D:\Python\lib\re.py", line 251, in compile
return _compile(pattern, flags)
File "D:\Python\lib\re.py", line 303, in _compile
p = sre_compile.compile(pattern, flags)
File "D:\Python\lib\sre_compile.py", line 788, in compile
p = sre_parse.parse(p, flags)
File "D:\Python\lib\sre_parse.py", line 955, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
File "D:\Python\lib\sre_parse.py", line 444, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "D:\Python\lib\sre_parse.py", line 841, in _parse
p = _parse_sub(source, state, sub_verbose, nested + 1)
File "D:\Python\lib\sre_parse.py", line 444, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "D:\Python\lib\sre_parse.py", line 841, in _parse
p = _parse_sub(source, state, sub_verbose, nested + 1)
File "D:\Python\lib\sre_parse.py", line 444, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
File "D:\Python\lib\sre_parse.py", line 671, in _parse
if item[0][0] in _REPEATCODES:
File "D:\Python\lib\sre_parse.py", line 168, in __getitem__
return self.data[index]
TypeError: 'type' object is not subscriptable
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'git+https://github.com/microsoft/MoGe.git' when installing build dependencies
then trying
git clone https://github.com/microsoft/MoGe.git
cd MoGe
pip install -e .
gives this
Obtaining file:///D:/Tests/Pixal3D/Pixal3D/MoGe
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting click>=8.3.1 (from moge==3.0.0)
Using cached click-8.5.0-py3-none-any.whl.metadata (2.6 kB)
Collecting numpy>=2 (from moge==3.0.0)
Using cached numpy-2.2.6-cp310-cp310-win_amd64.whl.metadata (60 kB)
Collecting opencv-python-headless (from moge==3.0.0)
Using cached opencv_python_headless-5.0.0.93-cp37-abi3-win_amd64.whl.metadata (20 kB)
Collecting scipy>=1.8 (from moge==3.0.0)
Using cached scipy-1.15.3-cp310-cp310-win_amd64.whl.metadata (60 kB)
Collecting pillow (from moge==3.0.0)
Using cached pillow-12.3.0-cp310-cp310-win_amd64.whl.metadata (9.3 kB)
Collecting matplotlib (from moge==3.0.0)
Using cached matplotlib-3.10.9-cp310-cp310-win_amd64.whl.metadata (52 kB)
Collecting trimesh>=4.11 (from moge==3.0.0)
Downloading trimesh-5.1.0-py3-none-any.whl.metadata (13 kB)
Collecting huggingface-hub (from moge==3.0.0)
Downloading huggingface_hub-2.0.0-py3-none-any.whl.metadata (16 kB)
Collecting requests (from moge==3.0.0)
Using cached requests-2.34.2-py3-none-any.whl.metadata (4.8 kB)
Collecting tqdm (from moge==3.0.0)
Using cached tqdm-4.70.1-py3-none-any.whl.metadata (57 kB)
Collecting torch>=2.4 (from moge==3.0.0)
Downloading torch-2.14.1-cp310-cp310-win_amd64.whl.metadata (38 kB)
Collecting torchvision>=0.19 (from moge==3.0.0)
Downloading torchvision-0.29.1-cp310-cp310-win_amd64.whl.metadata (5.7 kB)
Collecting utils3d_moge @ git+https://github.com/EasternJournalist/utils3d-moge.git@62f09d58509485564e24d5d9f6aac9ee9ebc0c37 (from moge==3.0.0)
Cloning https://github.com/EasternJournalist/utils3d-moge.git (to revision 62f09d58509485564e24d5d9f6aac9ee9ebc0c37) to C:\Users\Jason\AppData\Local\Temp\pip-install-e6o1gg7l\utils3d-moge_8e0a73ee1df648a5ab29117ee9dca5ad
Running command git clone --filter=blob:none --quiet https://github.com/EasternJournalist/utils3d-moge.git 'C:\Users\Jason\AppData\Local\Temp\pip-install-e6o1gg7l\utils3d-moge_8e0a73ee1df648a5ab29117ee9dca5ad'
Running command git rev-parse -q --verify '62f09d58509485564e24d5d9f6aac9ee9ebc0c37^{commit}'
62f09d58509485564e24d5d9f6aac9ee9ebc0c37
Resolved https://github.com/EasternJournalist/utils3d-moge.git to commit 62f09d58509485564e24d5d9f6aac9ee9ebc0c37
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pipeline @ git+https://github.com/EasternJournalist/pipeline.git@1c511390d90226c00c101f34b84df26a0f8789b4 (from moge==3.0.0)
Cloning https://github.com/EasternJournalist/pipeline.git (to revision 1c511390d90226c00c101f34b84df26a0f8789b4) to C:\Users\Jason\AppData\Local\Temp\pip-install-e6o1gg7l\pipeline_b8da12a390e64a76ba44ddd28eb2404e
Running command git clone --filter=blob:none --quiet https://github.com/EasternJournalist/pipeline.git 'C:\Users\Jason\AppData\Local\Temp\pip-install-e6o1gg7l\pipeline_b8da12a390e64a76ba44ddd28eb2404e'
Running command git rev-parse -q --verify '1c511390d90226c00c101f34b84df26a0f8789b4^{commit}'
1c511390d90226c00c101f34b84df26a0f8789b4
Resolved https://github.com/EasternJournalist/pipeline.git to commit 1c511390d90226c00c101f34b84df26a0f8789b4
Installing build dependencies ... error
error: subprocess-exited-with-error
× installing build dependencies for pipeline did not run successfully.
│ exit code: 3221225477
╰─> [0 lines of output]
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pipeline' when installing build dependencies for pipeline
Is there a WHL prebuilt for Windows I can use? Or any way to fix the above?
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.1k
- Forks
- 248
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/MoGe
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 8/100
-
Verify evals on Papers with CodeAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
-
[Question] Normal map: v3 vs v2Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Todos los issues de microsoft/MoGe
Issues similares
-
Add: &TV LogoAbiertocheck:passed logos:add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
-
BUG: Appointment time renders blank and PM appointment slots miscalculate vertical position in CalendarScreenPosiblemente ocupada @aryanpatil-07 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AOSSIE-Org/BabyNest#297 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Onboarding form: instructor radio never pre-selected "Yes" (permission vs permissions typo)Posiblemente ocupada @ThakuraAnki la tomó hoy. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
WikiEducationFoundation/WikiEduDashboard#7235 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Component: Frontend Component: Web Component Type: Maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
it-at-m/refarch-templates#1944 ·
Los mantenedores suelen responder en 2 días