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 to install on Fedora 41 gives errors #1094

Open
entodoays opened this issue Nov 4, 2024 · 1 comment
Open

Trying to install on Fedora 41 gives errors #1094

entodoays opened this issue Nov 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@entodoays
Copy link

entodoays commented Nov 4, 2024

Describe the bug
Trying to install Maestral gui with python-pip gives the following errors:

uilding wheel for PyQt6-sip (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'PyQt6.sip' extension
      creating build/temp.linux-x86_64-cpython-313
      gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -I/usr/include/python3.13 -c sip_array.c -o build/temp.linux-x86_64-cpython-313/sip_array.o
      sip_array.c:12:10: fatal error: Python.h: No such file or directory
         12 | #include <Python.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 PyQt6-sip
Failed to build xattr PyQt6-sip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xattr, PyQt6-sip)

To Reproduce
I tried installing using the command python3 -m pip install --upgrade maestral[gui]. First it told me pip was unknown. Then I installed python-pip. I noticed that it complained about gcc not being installed so I installed it.

Expected behaviour
Maestral installs normally.

System:

  • Maestral version: latest
  • Python version: 3.13.0
  • OS: Fedora Workstation 41
  • Desktop environment: Gnome 47
  • PyQt version (for Linux GUI): 5:15.10
@entodoays entodoays added the bug Something isn't working label Nov 4, 2024
@voland66
Copy link

Installing python3-devel solved this issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants