CamDavidsonPilon / autograd-gamma

NotImplementedError: VJP of gammainc wrt argnum 0 not defined
MIT License
15 stars 4 forks source link

installation issues on windows #15

Open goldexplorer555 opened 7 months ago

goldexplorer555 commented 7 months ago

below error appears on installation of 0.5 verison on windows. Prima facie appears to be due to fcntrl not being available on windows. :

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [40 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\a\AppData\Local\Temp\pip-install-8i5l69vr\autograd-gamma_c3be557fa5b6478cb8af39b4e5aaafc0\setup.py", line 8, in setuptools.setup( File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools__init.py", line 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools_distutils\core.py", line 147, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 476, in init _Distribution.init( File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools_distutils\dist.py", line 282, in init self.finalize_options() File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 899, in finalize_options for ep in sorted(loaded, key=by_order): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 898, in loaded = map(lambda e: e.load(), filtered) ^^^^^^^^ File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\importlib\metadata__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\importlib\init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\py2app\build_app.py", line 37, in from py2app.create_appbundle import create_appbundle File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\py2app\create_appbundle.py", line 9, in from py2app.util import make_exec, makedirs, mergecopy, mergetree, skipscm File "c:\Users\a\AppData\Local\Programs\Python\Python311\Lib\site-packages\py2app\util.py", line 5, in import fcntl ModuleNotFoundError: No module named 'fcntl' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.