bark icon indicating copy to clipboard operation
bark copied to clipboard

Need help! No module numpy found

Open Nicolol1234 opened this issue 2 years ago • 4 comments

Traceback (most recent call last): File "C:/Users/nicol/Desktop/Bark tts/bark/TTS.py", line 1, in from bark import SAMPLE_RATE, generate_audio, preload_models File "C:\Users/nicol/Desktop/Bark tts/bark\bark_init_.py", line 1, in from .api import generate_audio, text_to_semantic, semantic_to_waveform, save_as_prompt File "C:\Users/nicol/Desktop/Bark tts/bark\bark\api.py", line 3, in import numpy as np ModuleNotFoundError: No module named 'numpy'

When i try to run , i got this error

Nicolol1234 avatar Nov 02 '23 11:11 Nicolol1234

I guess that means you'll need the numpy module. pip install numpy

shoaib42 avatar Nov 10 '23 16:11 shoaib42

Already done, but still not working

Nicolol1234 avatar Nov 13 '23 08:11 Nicolol1234

Can you try with this instead, use the right executable. I suspect you may have multiple python environments. Use the same python exe that you use for running bark python.exe -m pip install numpy

shoaib42 avatar Nov 14 '23 16:11 shoaib42

Try python.exe -m pip install . from the .\bark directory to ensure you're not installing various versions independently from one another.

cocomomedia avatar Dec 13 '23 20:12 cocomomedia