Repository navigation
Issue installing on py3.10 #214
Copy link
Copy link
Open
Description
$ python --version
Python 3.10.13
$ pip --version
pip 23.3.1 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)$ pip install inferpy
Collecting inferpy
Using cached inferpy-1.3.1.tar.gz (1.6 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [32 lines of output]
/usr/local/lib/python3.10/site-packages/setuptools/dist.py:498: SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in future
versions. Please use the underscore name 'description_file' instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
/usr/local/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
error in inferpy setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
networkx>=2.2.0<3.0
~~~~~~~^
[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.
hint: See above for details.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
kingbuzzman commentedon Nov 15, 2023
When i patch
requirements/prod.txtandrequirements/test.txtto include a,. I get this errorWhich is more of an issue with my python version, and the limitation you have that it must be bellow v2, and
tensorflow1.15.5(the highest of the1.x) supports only up topy3.7.kingbuzzman commentedon Nov 15, 2023
.. has this project been abandoned?
rcabanasdepaz commentedon Nov 15, 2023
Exactly, you need to run it with TF<2 and hence you need and older python version.
We are not longer working on this project. Though there was branch in which we adapted to TF2 with some minor bugs, we never published it. At some point we would like to have it out, but I cannot tell you when.
https://github.com/PGM-Lab/InferPy/tree/iss203