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

[Bug]: No module named 'PySimpleGUI' #28

Open
1 task done
meerpack opened this issue Sep 3, 2023 · 2 comments
Open
1 task done

[Bug]: No module named 'PySimpleGUI' #28

meerpack opened this issue Sep 3, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@meerpack
Copy link

meerpack commented Sep 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

Bug Description

see console log

Step-by-step instructions to reproduce the issue.

Installation error

Expected Behavior

Retryed installation multiples with all necessary requirements. I still receive this error.

Current Behavior

see console log

Version or Commit where the problem happens

install

What platforms do you use Visioncrafter ?

Windows

What Python version are you running on ?

python 3.11

What GPU are you running Visioncrafter on?

rtx 3060

How much GPU VRAM are you running Visioncrafter on?

16gb

Console logs

Building wheel for diffq (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for diffq (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\diffq
      copying diffq\base.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\diffq.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\lsq.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\torch_pack.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\ts_export.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\uniform.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\utils.py -> build\lib.win-amd64-cpython-311\diffq
      copying diffq\__init__.py -> build\lib.win-amd64-cpython-311\diffq
      running egg_info
      writing diffq.egg-info\PKG-INFO
      writing dependency_links to diffq.egg-info\dependency_links.txt
      writing requirements to diffq.egg-info\requires.txt
      writing top-level names to diffq.egg-info\top_level.txt
      reading manifest file 'diffq.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files found matching 'examples\cifar\outputs\**'
      adding license file 'LICENSE'
      writing manifest file 'diffq.egg-info\SOURCES.txt'
      running build_ext
      building 'diffq.bitpack' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for diffq
Failed to build diffq
ERROR: Could not build wheels for diffq, which is required to install pyproject.toml-based projects
Downloading stable-diffusion-v1-5
Cloning into 'repos\animatediff\models\StableDiffusion\stable-diffusion-v1-5'...
remote: Enumerating objects: 194, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 194 (delta 1), reused 4 (delta 0), pack-reused 187
Receiving objects: 100% (194/194), 540.94 KiB | 1.68 MiB/s, done.
Resolving deltas: 100% (67/67), done.
Filtering content: 100% (4/4), 2.55 GiB | 16.48 MiB/s, done.
Downloading Motion Modules
Cloning into 'repos\animatediff\models\Motion_Module'...
remote: Enumerating objects: 11, done.
remote: Total 11 (delta 0), reused 0 (delta 0), pack-reused 11
Unpacking objects: 100% (11/11), 1.34 KiB | 65.00 KiB/s, done.
Filtering content: 100% (2/2), 3.11 GiB | 15.94 MiB/s, done.
Do you want to download toonyou model? (y/n):n
Skipping toonyou model download
Launching VisionCrafter
Traceback (most recent call last):
  File "C:\Users\Konzr\seait\VisionCrafter\main.py", line 1, in <module>
    import PySimpleGUI as sg
ModuleNotFoundError: No module named 'PySimpleGUI'
Press any key to continue . . .

Additional information

No response

@AsaTyr2018
Copy link
Collaborator

Good day,

I have found several errors in your log. First of all, there is this message:

error: Microsoft Visual C++ 14.0 or greater is required.

You need to install or update your Visual C++.

Regarding PySimpleGUI, please provide a pip list (you can do this by entering pip list in the command prompt).

Next, there's an issue with the Python version itself. Python 11 has some known issues and is not recommended for current AI development. Please downgrade to version 3.10. Specifically, version 3.10.6 works best with most of the current AI builds.

Kind Regards
AsaTyr

@AsaTyr2018 AsaTyr2018 self-assigned this Sep 17, 2023
@AsaTyr2018 AsaTyr2018 added the bug Something isn't working label Sep 17, 2023
@AsaTyr2018
Copy link
Collaborator

@meerpack Any Update in this Matter?

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