Einswilli / KivymdStudio

Development studio for kivymd, This is not the official repository of KIVYMDSTUDIO. It is a small homemade project just for fun.
55 stars 23 forks source link

Error in instalation requirements #2

Open difhel opened 2 years ago

difhel commented 2 years ago

When I tried to install requirements (by "python install.py" and "pip install -r requirements.txt") I get this error:

ERROR: Command errored out with exit status 1:
     command: 'C:\Users\user\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\user\AppData\Local\Temp\tmp1f962vyv'
         cwd: C:\Users\user\AppData\Local\Temp\pip-install-z6vyxryq\pyqt5_e615389f50034b058e82ed4248780e7f
    Complete output (29 lines):
    Traceback (most recent call last):
      File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 143, in prepare_metadata_for_build_wheel
        hook = backend.prepare_metadata_for_build_wheel
    AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 349, in <module>
        main()
      File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 331, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 147, in prepare_metadata_for_build_wheel
        whl_basename = backend.build_wheel(metadata_directory, config_settings)
      File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel
        project = AbstractProject.bootstrap('pep517')
      File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap
        project.setup(pyproject, tool, tool_description)
      File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\project.py", line 587, in setup
        self.apply_user_defaults(tool)
      File "C:\Users\user\AppData\Local\Temp\pip-install-z6vyxryq\pyqt5_e615389f50034b058e82ed4248780e7f\project.py", line 63, in apply_user_defaults
        super().apply_user_defaults(tool)
      File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults
        super().apply_user_defaults(tool)
      File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\project.py", line 234, in apply_user_defaults
        self.builder.apply_user_defaults(tool)
      File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults
        raise PyProjectOptionException('qmake',
    sipbuild.pyproject.PyProjectOptionException
    ----------------------------------------

How can I resolve this issue?

Einswilli commented 2 years ago

Thank You for bug reporting... Please are you trying to install the studio on windows??? IF yes ,

1- try to move or remove the Terminal.py file... And re-run ...

2- or try to install dépendances manually and re-run the project...

My WhatsApp : +22898490524

Le jeu. 27 janv. 2022 à 20:02, Mark Fomin @.***> a écrit :

When I tried to install requirements (by "python install.py" and "pip install -r requirements.txt") I get this error: `ERROR: Command errored out with exit status 1: command: 'C:\Users\user\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\user\AppData\Local\Temp\tmp1f962vyv' cwd: C:\Users\user\AppData\Local\Temp\pip-install-z6vyxryq\pyqt5_e615389f50034b058e82ed4248780e7f Complete output (29 lines): Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 143, in prepare_metadata_for_build_wheel hook = backend.prepare_metadata_for_build_wheel AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 349, in main() File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 331, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 147, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\api.py", line 51, in build_wheel project = AbstractProject.bootstrap('pep517') File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\abstract_project.py", line 83, in bootstrap project.setup(pyproject, tool, tool_description) File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\project.py", line 587, in setup self.apply_user_defaults(tool) File "C:\Users\user\AppData\Local\Temp\pip-install-z6vyxryq\pyqt5_e615389f50034b058e82ed4248780e7f\project.py", line 63, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\pyqtbuild\project.py", line 70, in apply_user_defaults super().apply_user_defaults(tool) File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\sipbuild\project.py", line 234, in apply_user_defaults self.builder.apply_user_defaults(tool) File "C:\Users\user\AppData\Local\Temp\pip-build-env-h23zc14w\overlay\Lib\site-packages\pyqtbuild\builder.py", line 67, in apply_user_defaults raise PyProjectOptionException('qmake', sipbuild.pyproject.PyProjectOptionException

` How can I resolve this issue?

— Reply to this email directly, view it on GitHub https://github.com/Einswilli/KivymdStudio/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU7CQKQKCN23KW4AN3PLXTUYGQERANCNFSM5M65B7IA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Einswilli commented 2 years ago

i hope everything is okay

difhel commented 2 years ago

Yeah, I`m trying to install studio on Windows. Thanks you for instructions, I will write about results soon.

Einswilli commented 2 years ago

Great! Thank you too

Le mar. 22 févr. 2022 à 15:18, Mark Fomin @.***> a écrit :

Yeah, I`m trying to install studio on Windows. Thanks you for instructions, I will write about results soon.

— Reply to this email directly, view it on GitHub https://github.com/Einswilli/KivymdStudio/issues/2#issuecomment-1047902466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU7CQMPZQV5RZDL52W64HLU4OSLLANCNFSM5M65B7IA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

ZShadw commented 2 years ago

ModuleNotFoundError: No module named 'fcntl' How can i use fcntl in windows? Traceback (most recent call last): File "C:\Users\mooh6\OneDrive\Desktop\python progect\KivymdStudio-master\studio.py", line 7, in <module> from Terminal import* File "C:\Users\mooh6\OneDrive\Desktop\python progect\KivymdStudio-master\Terminal.py", line 3, in <module> import fcntl, locale, os, pty, struct, sys, termios ModuleNotFoundError: No module named 'fcntl'

Majestychen commented 2 years ago

My method is to create a fcntl.py file under the python installation directory lib, the contents are as follows, but I don't know if this is correct, just ask him not to report the error

fcntl.py

def fcntl(fd, op, arg=0): return 0

def ioctl(fd, op, arg=0, mutable_flag=True): if mutable_flag: return 0 else: return ""

def flock(fd, op): return

def lockf(fd, operation, length=0, start=0, whence=0): return

studyante1996 commented 2 years ago

I cant download the file.

difhel commented 2 years ago

You need to clone this git repo, but as you see there are some problems with running it in the Windows. If you are a freshman in Git and GitHub, you need to view videos about it and grow your skills up. In several words, you need to do

git clone https://github.com/Einswilli/KivymdStudio
cd KivymdStudio

And after that follow instructions in readme.md

Einswilli commented 2 years ago

A New commit is available on the GitHub repository...

I will make a short video explaining how to run the studio on windows next time...

Thanks.

Le 29 juin 2022 17:38, "Mark Fomin" @.***> a écrit :

You need to clone this git repo, but as you see there are some problems with running it in the Windows. If you are a freshman in Git and GitHub, you need to view videos about it and grow your skills up. In several words, you need to do

git clone https://github.com/Einswilli/KivymdStudiocd KivymdStudio

And after that follow instructions in readme.md

— Reply to this email directly, view it on GitHub https://github.com/Einswilli/KivymdStudio/issues/2#issuecomment-1170284638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU7CQN2GDNFSRGTIG6XFSDVRSCZ3ANCNFSM5M65B7IA . You are receiving this because you commented.Message ID: @.***>

Einswilli commented 2 years ago

KivymdStudio is running now on windows...

Le ven. 1 juil. 2022 à 19:14, Wilfried Goeh @.***> a écrit :

A New commit is available on the GitHub repository...

  • download or clone it...
  • reinstall all dependencies and run it...

I will make a short video explaining how to run the studio on windows next time...

Thanks.

Le 29 juin 2022 17:38, "Mark Fomin" @.***> a écrit :

You need to clone this git repo, but as you see there are some problems with running it in the Windows. If you are a freshman in Git and GitHub, you need to view videos about it and grow your skills up. In several words, you need to do

git clone https://github.com/Einswilli/KivymdStudiocd KivymdStudio

And after that follow instructions in readme.md

— Reply to this email directly, view it on GitHub https://github.com/Einswilli/KivymdStudio/issues/2#issuecomment-1170284638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU7CQN2GDNFSRGTIG6XFSDVRSCZ3ANCNFSM5M65B7IA . You are receiving this because you commented.Message ID: @.***>

Le 1 juil. 2022 19:14, "Wilfried Goeh" @.***> a écrit :

A New commit is available on the GitHub repository...

I will make a short video explaining how to run the studio on windows next time...

Thanks.

Le 29 juin 2022 17:38, "Mark Fomin" @.***> a écrit :

You need to clone this git repo, but as you see there are some problems with running it in the Windows. If you are a freshman in Git and GitHub, you need to view videos about it and grow your skills up. In several words, you need to do

git clone https://github.com/Einswilli/KivymdStudiocd KivymdStudio

And after that follow instructions in readme.md

— Reply to this email directly, view it on GitHub https://github.com/Einswilli/KivymdStudio/issues/2#issuecomment-1170284638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU7CQN2GDNFSRGTIG6XFSDVRSCZ3ANCNFSM5M65B7IA . You are receiving this because you commented.Message ID: @.***>

Einswilli commented 1 year ago

this following link is the link of the video that explains and show how to run KivymdStudio on windows : https://youtu.be/faC-n3atVM8 i hope it helps you!

Einswilli commented 1 year ago

Hi... You can just move or remove the file "terminal.py" from the project and remove fun tool from the requirements list and re run the installation command... I will fix that in the coming soon release

Le dim. 27 mars 2022 à 13:21, ZedRed @.***> a écrit :

ModuleNotFoundError: No module named 'fcntl' How can i use fcntl in windows? Traceback (most recent call last): File "C:\Users\mooh6\OneDrive\Desktop\python progect\KivymdStudio-master\studio.py", line 7, in from Terminal import* File "C:\Users\mooh6\OneDrive\Desktop\python progect\KivymdStudio-master\Terminal.py", line 3, in import fcntl, locale, os, pty, struct, sys, termios ModuleNotFoundError: No module named 'fcntl'

— Reply to this email directly, view it on GitHub https://github.com/Einswilli/KivymdStudio/issues/2#issuecomment-1079930906, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU7CQOHXVEE5CVGK2D7LFLVCBOG3ANCNFSM5M65B7IA . You are receiving this because you commented.Message ID: @.***>