spectra icon indicating copy to clipboard operation
spectra copied to clipboard

issue due to Python 3.6

Open pojoba02 opened this issue 1 year ago • 2 comments

`Created wheel for spectra: filename=spectra-0.0.11-py3-none-any.whl size=17487 sha256=d03e7b461e6d52f76af60fd7f6414bcd29117fd45a64d8a04852eed9b2c670ad #0 27.59 Stored in directory: /root/.cache/pip/wheels/60/48/fd/b818cd482a8c66aab4e846999079cb79a91a199b667656c7db #0 27.60 Building wheel for backports.zoneinfo (pyproject.toml): started #0 27.86 Building wheel for backports.zoneinfo (pyproject.toml): finished with status 'error' #0 27.87 error: subprocess-exited-with-error × Building wheel for backports.zoneinfo (pyproject.toml) did not run successfully. #0 27.87 │ exit code: 1 #0 27.87 ╰─> [37 lines of output] #0 27.87 running bdist_wheel #0 27.87 running build #0 27.87 running build_py #0 27.87 creating build #0 27.87 creating build/lib.linux-aarch64-cpython-38 #0 27.87 creating build/lib.linux-aarch64-cpython-38/backports #0 27.87 copying src/backports/init.py -> build/lib.linux-aarch64-cpython-38/backports #0 27.87 creating build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 copying src/backports/zoneinfo/_zoneinfo.py -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 copying src/backports/zoneinfo/_common.py -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 copying src/backports/zoneinfo/init.py -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 copying src/backports/zoneinfo/_version.py -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 copying src/backports/zoneinfo/_tzpath.py -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 running egg_info #0 27.87 writing src/backports.zoneinfo.egg-info/PKG-INFO #0 27.87 writing dependency_links to src/backports.zoneinfo.egg-info/dependency_links.txt #0 27.87 writing requirements to src/backports.zoneinfo.egg-info/requires.txt #0 27.87 writing top-level names to src/backports.zoneinfo.egg-info/top_level.txt #0 27.87 reading manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt' #0 27.87 reading manifest template 'MANIFEST.in' #0 27.87 /tmp/pip-build-env-t7ii1s36/overlay/lib/python3.8/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. #0 27.87 warnings.warn(msg, warning_class) #0 27.87 warning: no files found matching '.png' under directory 'docs' #0 27.87 warning: no files found matching '.svg' under directory 'docs' #0 27.87 no previously-included directories found matching 'docs/_build' #0 27.87 no previously-included directories found matching 'docs/_output' #0 27.87 adding license file 'LICENSE' #0 27.87 adding license file 'licenses/LICENSE_APACHE' #0 27.87 writing manifest file 'src/backports.zoneinfo.egg-info/SOURCES.txt' #0 27.87 copying src/backports/zoneinfo/init.pyi -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 copying src/backports/zoneinfo/py.typed -> build/lib.linux-aarch64-cpython-38/backports/zoneinfo #0 27.87 running build_ext #0 27.87 building 'backports.zoneinfo._czoneinfo' extension #0 27.87 creating build/temp.linux-aarch64-cpython-38 #0 27.87 creating build/temp.linux-aarch64-cpython-38/lib #0 27.87 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.8 -c lib/zoneinfo_module.c -o build/temp.linux-aarch64-cpython-38/lib/zoneinfo_module.o -std=c99 #0 27.87 error: command 'gcc' failed: No such file or directory #0 27.87 [end of output] #0 27.87
#0 27.87 note: This error originates from a subprocess, and is likely not a problem with pip. #0 27.87 ERROR: Failed building wheel for backports.zoneinfo

`

pojoba02 avatar Apr 01 '23 00:04 pojoba02

Hi @pojoba02, a few questions on this:

  • What command did you run that produced this output?
  • What version of Python are you running?
  • What operating system are you running?

jsvine avatar Apr 01 '23 21:04 jsvine

Hi @jsvine thanks for your response,

  • I was able to successfully install the package using pip, but encountered an error when trying to install it within a Docker container. It seems that there might be some compatibility issues between the package and the Docker environment, but I'm not sure of the exact cause.
  • Python version(Python 3.9)
  • Operating system (Ubuntu) even forked the project and updated the setup.py file

pojoba02 avatar Apr 01 '23 22:04 pojoba02