You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to kindly ask your help in resolving the issue with installing simpleparse via pip install simpleparse.
I got the following error while trying to install simpleparse on ubuntu machine:
Collecting simpleparse
Using cached SimpleParse-2.2.4.tar.gz (186 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: simpleparse
Building wheel for simpleparse (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [177 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/examples
copying examples/simpleexample2_1.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/vrml.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/simpleexample.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/transformation.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/findliterals.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/lisp.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/simpleexample2_3.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/formatvrml.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/simpleexample2_2.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/vrml_erronfail.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/jsonwcomments.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/findlineset.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/bad_declaration.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/py_ebnf.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/__init__.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/prebuilt_call.py -> build/lib.linux-x86_64-cpython-310/examples
copying examples/printable-unicode.py -> build/lib.linux-x86_64-cpython-310/examples
creating build/lib.linux-x86_64-cpython-310/tests
copying tests/test_printers.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_common_iso_date.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/mx_high.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/genericvalues.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_common_comments.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_objectgenerator.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/mx_special.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/mx_flag.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_common_chartypes.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/__init__.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_common_strings.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_optimisation.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_xml.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_backup_on_subtable_failure.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/mx_recursive.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/mx_low.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_erroronfail.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_grammarparser.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_common_numbers.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_simpleparsegrammar.py -> build/lib.linux-x86_64-cpython-310/tests
copying tests/test_deep_nesting.py -> build/lib.linux-x86_64-cpython-310/tests
creating build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/simpleparsegrammar.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/printers.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/dispatchprocessor.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/parser.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/generator.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/objectgenerator.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/error.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/baseparser.py -> build/lib.linux-x86_64-cpython-310/simpleparse
copying simpleparse/processor.py -> build/lib.linux-x86_64-cpython-310/simpleparse
creating build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/iso_date.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/phonetics.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/strings.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/chartypes.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/comments.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/timezone_names.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/calendar_names.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/iso_date_loose.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
copying simpleparse/common/numbers.py -> build/lib.linux-x86_64-cpython-310/simpleparse/common
creating build/lib.linux-x86_64-cpython-310/simpleparse/xmlparser
copying simpleparse/xmlparser/xml_parser.py -> build/lib.linux-x86_64-cpython-310/simpleparse/xmlparser
copying simpleparse/xmlparser/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse/xmlparser
creating build/lib.linux-x86_64-cpython-310/simpleparse/stt
copying simpleparse/stt/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt
creating build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/TextTools.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
creating build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
creating build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/Constants
copying simpleparse/stt/TextTools/Constants/TagTables.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/Constants
copying simpleparse/stt/TextTools/Constants/__init__.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/Constants
copying simpleparse/stt/TextTools/Constants/Sets.py -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/Constants
running egg_info
writing SimpleParse.egg-info/PKG-INFO
writing dependency_links to SimpleParse.egg-info/dependency_links.txt
writing top-level names to SimpleParse.egg-info/top_level.txt
reading manifest file 'SimpleParse.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'doc'
warning: no files found matching '*.css' under directory 'doc'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
no previously-included directories found matching 'examples/html.py'
no previously-included directories found matching 'examples/py*'
no previously-included directories found matching 'examples/rtf*'
no previously-included directories found matching '.tox'
writing manifest file 'SimpleParse.egg-info/SOURCES.txt'
/home/ubuntu/mambaforge/lib/python3.10/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'simpleparse.stt.Doc' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'simpleparse.stt.Doc' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'simpleparse.stt.Doc' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'simpleparse.stt.Doc' to be distributed and are
already explicitly excluding 'simpleparse.stt.Doc' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
copying simpleparse/stt/.cvsignore -> build/lib.linux-x86_64-cpython-310/simpleparse/stt
copying simpleparse/stt/COPYRIGHT -> build/lib.linux-x86_64-cpython-310/simpleparse/stt
copying simpleparse/stt/LICENSE -> build/lib.linux-x86_64-cpython-310/simpleparse/stt
copying simpleparse/stt/mxLicense.html -> build/lib.linux-x86_64-cpython-310/simpleparse/stt
creating build/lib.linux-x86_64-cpython-310/simpleparse/stt/Doc
copying simpleparse/stt/Doc/eGenix-mx-Extensions.html -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/Doc
copying simpleparse/stt/Doc/mxLicense.html -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/Doc
copying simpleparse/stt/Doc/mxTextTools.html -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/Doc
copying simpleparse/stt/TextTools/.cvsignore -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/COPYRIGHT -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/LICENSE -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/Makefile.pkg -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/README -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools
copying simpleparse/stt/TextTools/mxTextTools/.cvsignore -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/Makefile.pre.in -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/highcommands.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/lowlevelcommands.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mx.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxTextTools.c -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxTextTools.def -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxTextTools.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxbmse.c -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxbmse.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxh.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxpyapi.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxstdlib.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxte.c -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/mxte_impl.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/recursecommands.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/mxTextTools/speccommands.h -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
copying simpleparse/stt/TextTools/Constants/.cvsignore -> build/lib.linux-x86_64-cpython-310/simpleparse/stt/TextTools/Constants
running build_ext
building 'simpleparse.stt.TextTools.mxTextTools.mxTextTools' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/simpleparse
creating build/temp.linux-x86_64-cpython-310/simpleparse/stt
creating build/temp.linux-x86_64-cpython-310/simpleparse/stt/TextTools
creating build/temp.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools
gcc -pthread -B /home/ubuntu/mambaforge/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ubuntu/mambaforge/include -fPIC -O2 -isystem /home/ubuntu/mambaforge/include -fPIC -DMX_BUILDING_MXTEXTTOOLS=1 -DPY_SSIZE_T_CLEAN=1 -DDEBUG=1 -Isimpleparse/stt/TextTools/mxTextTools -I/home/ubuntu/mambaforge/include/python3.10 -c simpleparse/stt/TextTools/mxTextTools/mxTextTools.c -o build/temp.linux-x86_64-cpython-310/simpleparse/stt/TextTools/mxTextTools/mxTextTools.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for simpleparse
Running setup.py clean for simpleparse
Failed to build simpleparse
ERROR: Could not build wheels for simpleparse, which is required to install pyproject.toml-based projects
Thank you for any input,
Best regards,
Aliaksei
The text was updated successfully, but these errors were encountered:
Dear all,
I would like to kindly ask your help in resolving the issue with installing simpleparse via
pip install simpleparse
.I got the following error while trying to install simpleparse on ubuntu machine:
Thank you for any input,
Best regards,
Aliaksei
The text was updated successfully, but these errors were encountered: