uyitroa / osr2mp4-core

A program to convert osu replay file osr to mp4. Sample: https://www.youtube.com/watch?v=5ugu_9yDSg0
MIT License
118 stars 14 forks source link

No module named 'osr2mp4.ImageProcess.Curves.libcurves.ccurves' #81

Closed jeevanjohnson closed 3 years ago

jeevanjohnson commented 3 years ago

I could never wrap my head around this issue. Looked up ways to fix these types of issues, but haven't seen a proper one so I thought I would bring it up.

christopher-dG commented 3 years ago

Did you follow the install instructions?

jeevanjohnson commented 3 years ago

Many times I've followed the instructions, but always end up in the same spot like I am now.

christopher-dG commented 3 years ago

Provide some more info and perhaps we can figure it out. What OS are you on? Can you give us the exact sequence of commands you're running and the code you're trying to run?

jeevanjohnson commented 3 years ago

well I'm on windows 10 and all I'm doing is importing the class 'Osr2mp4', but error pops up when importing. When it comes to the commands I just did the following

cd osr2mp4/
python install.py
pip install cython
cd ImageProcess/Curves/libcurves/
python setup.py build_ext --inplace
cd ..
cd .. 
cd ..
cd VideoProcess/FFmpegWriter/
python setup build_ext --inplace

And installed pillow and ffmpeg with no problems. Maybe it could be py on my pc having problems, but I likely doubt it.

uyitroa commented 3 years ago

What does it print when you do

cd ImageProcess/Curves/libcurves/
python setup.py build_ext --inplace 
jeevanjohnson commented 3 years ago

Soooo, I kind of just reinstalled python and it works properly now. Thanks for the help though, really appreciate it.