No module named 'rpds.rpds' I am not fully sure why #303

Open
opened 2023-07-09 21:03:28 +00:00 by aphixe · 1 comment

No module named 'rpds.rpds' I am not fully sure why, i did run a code git submodule update --remote
this tool was almost working i was getting another error.
this is my setup.
Windows 11, python 3.9.13

.\start.bat
D:\Documents\tts-ai\ai-voice-cloning>call .\venv\Scripts\activate.bat
Traceback (most recent call last):
File "D:\Documents\tts-ai\ai-voice-cloning\src\main.py", line 11, in
from utils import *
File "D:\Documents\tts-ai\ai-voice-cloning\src\utils.py", line 31, in
import gradio as gr
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio_init_.py", line 3, in
import gradio.components as components
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\components.py", line 21, in
import altair as alt
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair_init_.py", line 607, in
from .vegalite import *
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite_init_.py", line 2, in
from .v5 import *
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5_init_.py", line 2, in
from .schema import *
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\schema_init_.py", line 2, in
from .core import *
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\schema\core.py", line 4, in
from altair.utils.schemapi import SchemaBase, Undefined, subclasses
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\utils_init
.py", line 1, in
from .core import (
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\utils\core.py", line 14, in
import jsonschema
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\jsonschema_init_.py", line 13, in
from jsonschema._format import FormatChecker
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\jsonschema_format.py", line 11, in
from jsonschema.exceptions import FormatError
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\jsonschema\exceptions.py", line 14, in
from referencing.exceptions import Unresolvable as Unresolvable
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\referencing_init
.py", line 4, in
from referencing.core import Anchor, Registry, Resource, Specification
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\referencing_core.py", line 8, in
from rpds import HashTrieMap, HashTrieSet, List
File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\rpds_init
.py", line 1, in
from .rpds import *
ModuleNotFoundError: No module named 'rpds.rpds'

i tried pip install rpds-py
and it didn't help

No module named 'rpds.rpds' I am not fully sure why, i did run a code git submodule update --remote this tool was almost working i was getting another error. this is my setup. Windows 11, python 3.9.13 .\start.bat D:\Documents\tts-ai\ai-voice-cloning>call .\venv\Scripts\activate.bat Traceback (most recent call last): File "D:\Documents\tts-ai\ai-voice-cloning\src\main.py", line 11, in <module> from utils import * File "D:\Documents\tts-ai\ai-voice-cloning\src\utils.py", line 31, in <module> import gradio as gr File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\__init__.py", line 3, in <module> import gradio.components as components File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\gradio\components.py", line 21, in <module> import altair as alt File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\__init__.py", line 607, in <module> from .vegalite import * File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\__init__.py", line 2, in <module> from .v5 import * File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\__init__.py", line 2, in <module> from .schema import * File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\schema\__init__.py", line 2, in <module> from .core import * File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\vegalite\v5\schema\core.py", line 4, in <module> from altair.utils.schemapi import SchemaBase, Undefined, _subclasses File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\utils\__init__.py", line 1, in <module> from .core import ( File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\altair\utils\core.py", line 14, in <module> import jsonschema File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\jsonschema\__init__.py", line 13, in <module> from jsonschema._format import FormatChecker File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\jsonschema\_format.py", line 11, in <module> from jsonschema.exceptions import FormatError File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\jsonschema\exceptions.py", line 14, in <module> from referencing.exceptions import Unresolvable as _Unresolvable File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\referencing\__init__.py", line 4, in <module> from referencing._core import Anchor, Registry, Resource, Specification File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\referencing\_core.py", line 8, in <module> from rpds import HashTrieMap, HashTrieSet, List File "D:\Documents\tts-ai\ai-voice-cloning\venv\lib\site-packages\rpds\__init__.py", line 1, in <module> from .rpds import * ModuleNotFoundError: No module named 'rpds.rpds' i tried pip install rpds-py and it didn't help

Activate the virtual environment with venv\Scripts\activate then pip install -e .\requirements.txt

Activate the virtual environment with `venv\Scripts\activate` then `pip install -e .\requirements.txt`
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#303
No description provided.