Open israelmcmc opened 1 month ago
I already had cosipy installed, but I tried to update it with $ git pull $ pip install -e .
But got the following error:
Obtaining file:///Users/ckierans/Software/COSItools/COSItools/cosipy
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [42 lines of output]
running egg_info
creating /private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info
writing /private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/dependency_links.txt
writing entry points to /private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/entry_points.txt
writing requirements to /private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/requires.txt
writing top-level names to /private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/top_level.txt
writing manifest file '/private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/SOURCES.txt'
reading manifest file '/private/var/folders/lw/vw1sthdx6m74z011lrt83qjm50hhbv/T/pip-pip-egg-info-d51qfto3/cosipy.egg-info/SOURCES.txt'
adding license file 'LICENSE'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/Users/ckierans/Software/COSItools/COSItools/cosipy/setup.py", line 19, in <module>
setup(name='cosipy',
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command
super().run_command(command)
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 311, in run
self.find_sources()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 319, in find_sources
mm.run()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 545, in run
self.prune_file_list()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/command/sdist.py", line 161, in prune_file_list
super().prune_file_list()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 392, in prune_file_list
base_dir = self.distribution.get_fullname()
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/Users/ckierans/Software/COSItools/COSItools/python-env/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[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.
I didn't dive in since my jupyter notebooks for the tutorials ran through with no problem.
Compilations of issues found during COSIfest