Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

ModuleNotFoundError: No module named 'wraps.primitives' (when installed in a fresh virtual environment.) #212

@rgc-exists

Description

@rgc-exists

I've been trying to get the latest version of gd.py working on my device literally all day today.

I'm not the greatest with command-line stuff so I'm probably missing something painfully obvious, but I keep running into errors no matter what I do.

I tried creating a new, fresh virtual environment and running pip install gd.py in there, and it FINALLY installed the thing, but when I run the script it gives me this error:

Traceback (most recent call last):
  File "c:\Users\rando\OneDrive\Documents\Check_GD_Icons\download_data.py", line 11, in <module>
    import gd
  File "C:\Users\rando\OneDrive\Documents\Check_GD_Icons\.venv\Lib\site-packages\gd\__init__.py", line 11, in <module>
    from gd import (
  File "C:\Users\rando\OneDrive\Documents\Check_GD_Icons\.venv\Lib\site-packages\gd\api\__init__.py", line 1, in <module>
    from gd.api.color_channels import (
  File "C:\Users\rando\OneDrive\Documents\Check_GD_Icons\.venv\Lib\site-packages\gd\api\color_channels.py", line 8, in <module>
    from iters.iters import iter
  File "C:\Users\rando\OneDrive\Documents\Check_GD_Icons\.venv\Lib\site-packages\iters\__init__.py", line 16, in <module>
    from iters.async_iters import (
  File "C:\Users\rando\OneDrive\Documents\Check_GD_Icons\.venv\Lib\site-packages\iters\async_iters.py", line 64, in <module>
    from wraps.primitives.option import Option, Some
ModuleNotFoundError: No module named 'wraps.primitives'

I looked into it and saw that you apparently made your own custom library called "wraps", but I don't see anything related to "primitives" ANYWHERE in that repository.
I've tried pip installing wraps both from pypi and from your github page. No luck.

Does anyone have any idea how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions