Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying on fedora linux #396

Open
View-my-Git-Lab-krafi opened this issue Nov 3, 2023 · 4 comments
Open

trying on fedora linux #396

View-my-Git-Lab-krafi opened this issue Nov 3, 2023 · 4 comments

Comments

@View-my-Git-Lab-krafi
Copy link

pip3 install -r requirements.txt --user
Requirement already satisfied: appdirs==1.4.4 in /home/krafi.info/.local/lib/python3.11/site-packages (from -r requirements.txt (line 7)) (1.4.4)
Collecting autopxd2==1.1.0
Using cached autopxd2-1.1.0.tar.gz (37 kB)
Preparing metadata (setup.py) ... done
Collecting black==20.8b1
Using cached black-20.8b1.tar.gz (1.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting click==7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting cython==0.29.23
Using cached Cython-0.29.23-py2.py3-none-any.whl (978 kB)
Collecting importlib-metadata==4.0.1
Using cached importlib_metadata-4.0.1-py3-none-any.whl (16 kB)
Collecting jinja2==2.11.3
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting markupsafe==1.1.1
Using cached MarkupSafe-1.1.1.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Collecting mypy-extensions==0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting pathspec==0.8.1
Using cached pathspec-0.8.1-py2.py3-none-any.whl (28 kB)
Collecting pep517==0.10.0
Using cached pep517-0.10.0-py2.py3-none-any.whl (19 kB)
Collecting pip-tools==6.0.1
Using cached pip_tools-6.0.1-py3-none-any.whl (43 kB)
Requirement already satisfied: pycparser==2.20 in /usr/lib/python3.11/site-packages (from -r requirements.txt (line 139)) (2.20)
Collecting regex==2021.4.4
Using cached regex-2021.4.4.tar.gz (693 kB)
Preparing metadata (setup.py) ... done
Collecting scons==3.1.2
Using cached scons-3.1.2-py2.py3-none-any.whl (837 kB)
Collecting six==1.15.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: toml==0.10.2 in /home/krafi.info/.local/lib/python3.11/site-packages (from -r requirements.txt (line 196)) (0.10.2)
Collecting typed-ast==1.4.3
Using cached typed_ast-1.4.3.tar.gz (210 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: typing-extensions==3.7.4.3 in ./venv/lib64/python3.11/site-packages (from -r requirements.txt (line 234)) (3.7.4.3)
Collecting zipp==3.4.1
Using cached zipp-3.4.1-py3-none-any.whl (5.2 kB)
Collecting zstandard==0.15.2
Using cached zstandard-0.15.2.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pip==21.1
Using cached pip-21.1-py3-none-any.whl (1.5 MB)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.11/site-packages (from pycparser==2.20->-r requirements.txt (line 139)) (3.11)
ERROR: Will not install to the user site because it will lack sys.path precedence to pip in /home/krafi.info/Games/notepad/godot-python/venv/lib64/python3.11/site-packages

@View-my-Git-Lab-krafi
Copy link
Author

without user
pip install -r requirements.txt
Requirement already satisfied: appdirs==1.4.4 in /home/krafi.info/.local/lib/python3.11/site-packages (from -r requirements.txt (line 7)) (1.4.4)
Collecting autopxd2==1.1.0
Using cached autopxd2-1.1.0.tar.gz (37 kB)
Preparing metadata (setup.py) ... done
Collecting black==20.8b1
Using cached black-20.8b1.tar.gz (1.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting click==7.1.2
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting cython==0.29.23
Using cached Cython-0.29.23-py2.py3-none-any.whl (978 kB)
Collecting importlib-metadata==4.0.1
Using cached importlib_metadata-4.0.1-py3-none-any.whl (16 kB)
Collecting jinja2==2.11.3
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting markupsafe==1.1.1
Using cached MarkupSafe-1.1.1.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Collecting mypy-extensions==0.4.3
Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting pathspec==0.8.1
Using cached pathspec-0.8.1-py2.py3-none-any.whl (28 kB)
Collecting pep517==0.10.0
Using cached pep517-0.10.0-py2.py3-none-any.whl (19 kB)
Collecting pip-tools==6.0.1
Using cached pip_tools-6.0.1-py3-none-any.whl (43 kB)
Requirement already satisfied: pycparser==2.20 in /usr/lib/python3.11/site-packages (from -r requirements.txt (line 139)) (2.20)
Collecting regex==2021.4.4
Using cached regex-2021.4.4.tar.gz (693 kB)
Preparing metadata (setup.py) ... done
Collecting scons==3.1.2
Using cached scons-3.1.2-py2.py3-none-any.whl (837 kB)
Collecting six==1.15.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: toml==0.10.2 in /home/krafi.info/.local/lib/python3.11/site-packages (from -r requirements.txt (line 196)) (0.10.2)
Collecting typed-ast==1.4.3
Using cached typed_ast-1.4.3.tar.gz (210 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: typing-extensions==3.7.4.3 in ./venv/lib64/python3.11/site-packages (from -r requirements.txt (line 234)) (3.7.4.3)
Collecting zipp==3.4.1
Using cached zipp-3.4.1-py3-none-any.whl (5.2 kB)
Collecting zstandard==0.15.2
Using cached zstandard-0.15.2.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting pip==21.1
Using cached pip-21.1-py3-none-any.whl (1.5 MB)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.11/site-packages (from pycparser==2.20->-r requirements.txt (line 139)) (3.11)
Building wheels for collected packages: autopxd2, black, markupsafe, regex, typed-ast, zstandard
Building wheel for autopxd2 (setup.py) ... done
Created wheel for autopxd2: filename=autopxd2-1.1.0-py3-none-any.whl size=25784 sha256=e2d3da15b84e0b0323154b9f34ca951267e14b06a0ca7c619527a568a52fd6db
Stored in directory: /home/krafi.info/.cache/pip/wheels/1b/7e/d3/6fbef46309cfbbe2b41d0e3d5203072a6fbfaae5d0084c0f93
Building wheel for black (pyproject.toml) ... done
Created wheel for black: filename=black-20.8b1-py3-none-any.whl size=124170 sha256=2bd5249cfd8c34df6582eb41a9771aaad27f1e7a859184791cad35596f9e8c18
Stored in directory: /home/krafi.info/.cache/pip/wheels/7d/13/6e/dc5db00506ec02923c3526a199a7f0cb45673939f5cf63a340
Building wheel for markupsafe (setup.py) ... done
Created wheel for markupsafe: filename=MarkupSafe-1.1.1-cp311-cp311-linux_x86_64.whl size=30591 sha256=60ede575d17b52fe2d2035a281ec6ecb92410efe5c74026528f4c76276afba50
Stored in directory: /home/krafi.info/.cache/pip/wheels/b2/ff/d2/ee938fbfa7be002c79cb83f9a0a3f49a7893af07b56e44a12c
Building wheel for regex (setup.py) ... done
Created wheel for regex: filename=regex-2021.4.4-cp311-cp311-linux_x86_64.whl size=728182 sha256=7cf24415e3636484e085b959c9962339688f4e4cd9d7c1efbec7d2ea666071e3
Stored in directory: /home/krafi.info/.cache/pip/wheels/e4/2c/e0/3aa0416435e2fa317d74d21c6fa3dda8af7f8b64669d8eb52a
Building wheel for typed-ast (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/conversions.py -> build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/ast3.py -> build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/ast27.py -> build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/init.py -> build/lib.linux-x86_64-cpython-311/typed_ast
creating build/lib.linux-x86_64-cpython-311/typed_ast/tests
copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-cpython-311/typed_ast/tests
running build_ext
building '_ast27' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/ast27
creating build/temp.linux-x86_64-cpython-311/ast27/Custom
creating build/temp.linux-x86_64-cpython-311/ast27/Parser
creating build/temp.linux-x86_64-cpython-311/ast27/Python
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Iast27/Include -I/home/krafi.info/Games/notepad/godot-python/venv/include -I/usr/include/python3.11 -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-cpython-311/ast27/Custom/typed_ast.o
In file included from ast27/Custom/typed_ast.c:3:
ast27/Custom/../Include/compile.h:5:10: fatal error: code.h: No such file or directory
5 | #include "code.h"
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for typed-ast
Running setup.py clean for typed-ast
Building wheel for zstandard (pyproject.toml) ... done
Created wheel for zstandard: filename=zstandard-0.15.2-cp311-cp311-linux_x86_64.whl size=1902628 sha256=12d13783fa3b044ff5a8e0d1ed2fd945841bbd6f637deb25d5967b76117f877d
Stored in directory: /home/krafi.info/.cache/pip/wheels/b0/ad/32/e55526999e769cffa1dae19768f8f33e6fd3903982698b88a1
Successfully built autopxd2 black markupsafe regex zstandard
Failed to build typed-ast
Installing collected packages: typed-ast, scons, regex, mypy-extensions, zstandard, zipp, six, pip, pep517, pathspec, markupsafe, cython, click, pip-tools, jinja2, importlib-metadata, black, autopxd2
Running setup.py install for typed-ast ... error
error: subprocess-exited-with-error

× Running setup.py install for typed-ast did not run successfully.
│ exit code: 1
╰─> [28 lines of output]
running install
/home/krafi.info/Games/notepad/godot-python/venv/lib64/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/conversions.py -> build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/ast3.py -> build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/ast27.py -> build/lib.linux-x86_64-cpython-311/typed_ast
copying typed_ast/init.py -> build/lib.linux-x86_64-cpython-311/typed_ast
creating build/lib.linux-x86_64-cpython-311/typed_ast/tests
copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-cpython-311/typed_ast/tests
running build_ext
building '_ast27' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/ast27
creating build/temp.linux-x86_64-cpython-311/ast27/Custom
creating build/temp.linux-x86_64-cpython-311/ast27/Parser
creating build/temp.linux-x86_64-cpython-311/ast27/Python
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Iast27/Include -I/home/krafi.info/Games/notepad/godot-python/venv/include -I/usr/include/python3.11 -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-cpython-311/ast27/Custom/typed_ast.o
In file included from ast27/Custom/typed_ast.c:3:
ast27/Custom/../Include/compile.h:5:10: fatal error: code.h: No such file or directory
5 | #include "code.h"
| ^~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> typed-ast

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

@View-my-Git-Lab-krafi
Copy link
Author

i remove the typed-ast from requirements.txt
and pip3 install typed_ast

WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.11/UNKNOWN
sysconfig: /usr/include/python3.11
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: typed_ast in /home/krafi.info/.local/lib/python3.11/site-packages (1.5.5)
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /home/krafi.info/.local/include/python3.11/UNKNOWN
sysconfig: /home/krafi.info/.local/include/python3.11
WARNING: Additional context:
user = True
home = None
root = None
prefix = None
WARNING: You are using pip version 21.1; however, version 23.3.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

@View-my-Git-Lab-krafi
Copy link
Author

scons platform=x11-64 test
/home/krafi.info/.local/bin/scons:104: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
/home/krafi.info/Games/notepad/godot-python/build/x11-64/platforms/Godot_v3.2.2-stable_x11.64 --path tests/bindings
Godot Engine v3.2.2.stable.official - https://godotengine.org
OpenGL ES 3.0 Renderer: AMD Radeon Graphics (renoir, LLVM 16.0.6, DRM 3.54, 6.5.6-200.fc38.x86_64)

ERROR: open_dynamic_library: Can't open dynamic library: /home/krafi.info/Games/notepad/godot-python/tests/bindings/addons/pythonscript/x11-64/libpythonscript.so. Error: libnsl.so.1: cannot open shared object file: No such file or directory
At: drivers/unix/os_unix.cpp:424.
ERROR: _load: No loader found for resource: res://main.py.
At: core/io/resource_loader.cpp:285.
ERROR: poll: res://main.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://main.py
At: scene/resources/resource_format_text.cpp:440.
ERROR: load: Failed to load resource 'res://main.tscn'.
At: core/io/resource_loader.cpp:208.
ERROR: _load: Failed loading resource: res://main.tscn.
At: core/io/resource_loader.cpp:278.
ERROR: start: Failed loading scene: res://main.tscn
At: main/main.cpp:1936.
WARNING: cleanup: ObjectDB instances leaked at exit (run with --verbose for details).
At: core/object.cpp:2135.
scons: done building targets.

@View-my-Git-Lab-krafi
Copy link
Author

View-my-Git-Lab-krafi commented Nov 4, 2023

i dont know maybe the issue is i have godot project on
/home/krafi.info/Games/notepad (godot4 project)
/home/krafi.info/Games/notepad/godot-python

maybe this is the issue

nah,,
Godot_v3.5.3-stable_x11.64 i checked the asset lib "python" there is nothing i found on search.. damn ,, why the.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant