mikael-alafriz-deel / lucid-sonic-dreams

MIT License
771 stars 157 forks source link

ModuleNotFoundError: No module named 'lucidsonicdreams' #38

Open Texagon opened 2 years ago

Texagon commented 2 years ago

Im trying to run a test and this is the way i have the python file typed. Any help would be appreciated

(command i input)= python proud.py (to run the python below)

from lucidsonicdreams import LucidSonicDream

L = LucidSonicDream(song = 'proud.mp3', style = 'abstract photos')

L.hallucinate(file_name = 'proud.mp4', resolution = 360, start = 30, duration = 45)

files.download("proud of you.mp4")

Error im getting

Traceback (most recent call last): File "proud.py" line 1 in from lucidsonicdreams import LucidSonicDream ModuleNotFoundError: No module named 'lucidsonicdreams

Screenshot (4) '

Texagon commented 2 years ago

Ive used Lucid once before I had to wipe my pc due to the Windows 11 update and I completely forgot how to do all of this. I cant find anything online that helps with modules.

jomynow commented 1 year ago

You have to reconfigure your environment and install the dependencies

ramenryoko commented 1 year ago

Using jupyter notebook to run the code and setting up a python 3.7 env and then installing lucidsonicdreams through pip it seems to work. Took me a few tries to get it to work. Make sure your tensorflow version is 1.15 in this environment

conda create --name lucidsonicdreams python==3.7 pip install lucidsonicdreams conda install tensorflow==1.15

IniasSomers commented 8 months ago

Using jupyter notebook to run the code and setting up a python 3.7 env and then installing lucidsonicdreams through pip it seems to work. Took me a few tries to get it to work. Make sure your tensorflow version is 1.15 in this environment

conda create --name lucidsonicdreams python==3.7 pip install lucidsonicdreams conda install tensorflow==1.15

Hello! Would you be kind enough to share your full code with me? I am trying to get lucid sonic dreams to work again for weeks.. Have a great day sir!