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

app is not starting #278

Open
HERMESBLACQK opened this issue Jul 4, 2024 · 8 comments
Open

app is not starting #278

HERMESBLACQK opened this issue Jul 4, 2024 · 8 comments

Comments

@HERMESBLACQK
Copy link

the application is not running despite installing all dependencies it keep displaying blanks

@Tejas-Sharma-dev
Copy link

atleast you have installed all the dependencies. In my case bunch of dependencies are getting failed to install.
tried in powershell and WSL(ubuntu)

powershell

image

WSL (Ubuntu)

image

@srbhr
Copy link
Owner

srbhr commented Nov 3, 2024

Do you have gcc build tools installed on your system?

@Tejas-Sharma-dev
Copy link

Nope, gcc builds are not present in both environment

@nooriaali9
Copy link

I'm facing an issue with installing too -
image

@s4kh
Copy link

s4kh commented Dec 16, 2024

@srbhr still failing on cytoolz. Using python -m venv env
Installed:

sudo dnf install @development-tools
sudo dnf install gcc gcc-c++ make python3-devel
Collecting cytoolz==0.12.1 (from -r requirements.txt (line 15))
  Using cached cytoolz-0.12.1.tar.gz (503 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [97 lines of output]
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          cdef readonly object func
          cdef readonly tuple args
          cdef readonly dict keywords
          cdef public object __doc__
          cdef public object __name__
          cdef public object __module__
                             ^
      ------------------------------------------------------------
      
      cytoolz/functoolz.pxd:18:23: '__module__' redeclared
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
          cdef readonly object func
          cdef readonly tuple args
          cdef readonly dict keywords
          cdef public object __doc__
          cdef public object __name__
          cdef public object __module__
               ^
      ------------------------------------------------------------
      
      cytoolz/functoolz.pxd:18:9: Compiler crash in AnalyseDeclarationsTransform
      
      File 'ModuleNode.py', line 203, in analyse_declarations: ModuleNode(functoolz.pxd:1:0,

@turtletowerz
Copy link

turtletowerz commented Dec 31, 2024

cytoolz/functoolz.pxd:18:23: '__module__' redeclared

I managed to fix this by bumping the cytoolz version to 0.12.3 in requirements.txt, per the recommendations here

Additionally, if you run Python 3.12 numpy needs to be bumped up to 1.26.2 to account for distutils being removed. Documented on the release page here

@srbhr

@srbhr
Copy link
Owner

srbhr commented Jan 12, 2025

Thanks @turtletowerz

@edprybylko
Copy link

edprybylko commented Jan 12, 2025

having the same problem on pip install requirements. bumped cytoolz to 0.12.3 and numpy to 1.26.2 and now i'm facing a hault on PyYAML. i tried installing PyYAML alone and still got

`pip install PyYAML==6.0
Collecting PyYAML==6.0
Using cached PyYAML-6.0.tar.gz (124 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/home/edward/Resume-Matcher/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/edward/Resume-Matcher/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/edward/Resume-Matcher/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 288, in
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/init.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 983, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 999, in run_command
super().run_command(command)
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 312, in run
self.find_sources()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 320, in find_sources
mm.run()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 543, in run
self.add_defaults()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 581, in add_defaults
sdist.add_defaults(self)
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/command/sdist.py", line 109, in add_defaults
super().add_defaults()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 239, in add_defaults
self._add_defaults_ext()
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 324, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 204, in get_source_files
File "/tmp/pip-build-env-kovhhhxx/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 120, in getattr
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]`

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

7 participants