Comments (11)
I managed to get it working! The problem is the imageio-ffmpeg package not having a Mac ARM64 wheel. To fix this you download the Intel wheel from the PyPi website, change the .whl extension to .zip, unzip the file and copy the contents to the site-packages folder of your Python installation.
Once that's done the program works perfectly.
from v2mp3.
I installed it successfully with pip install but it fails to run.
I'm using an Apple Silicon Mac if it helps.
@infinitepower18 Oh crap!!
I never specified anywhere that currently V2Mp3 only works with Windows at the moment, did I...
That's absolutely 100% my fault, and I apologize... The next update (or maybe sooner than that once committed to the dev
branch) will have MacOS functionality!
Also just wanted to say that you're my first ever "Issue" poster on any of my repositories, so thank you very much for giving a small-time developer some much needed motivation and lowering my imposter-syndrome just a tad!!
Your issue will quite literally have my full attention until it is fixed!!
Thank you again for bringing this to my attention and I'll be sure to let you know the second I fix the issue!
from v2mp3.
@infinitepower18 Ok I THINK I figured out the issue.
My findings:
So I found that when installing V2Mp3 through pip using MacOS, the primary entry point file "main.pyw"
is NOT included in the package. I would assume it has something to do with the "*.pyw
" file extension, as on Windows, "main.pyw
" appears to be included in the package download.
However, even if "main.pyw"
IS downloaded, neither MacOS nor Linux can run "*.pyw" file types, as discussed here.
This I did not know, so I certainly learned something new haha...
The Fix
- Download V2Mp3-v0.2.0 from this page.
- Rename
"./V2Mp3/main.pyw"
to"./V2Mp3/main.py"
.
-
You (hopefully) should not have any issues from that point forward.
-
Versions/dev-branch commits >0.2.0 no longer include the "*.pyw" extension, so this should NOT be an issue going forward.
Give this a try and let me know what happens. If this doesn't solve the issue, or something else isn't working as intended, please let me know!
Again, thank you @infinitepower18 for bringing this issue to my attention - have a great day!
from v2mp3.
I managed to get it working! The problem is the imageio-ffmpeg package not having a Mac ARM64 wheel. To fix this you download the Intel wheel from the PyPi website, change the .whl extension to .zip, unzip the file and copy the contents to the site-packages folder of your Python installation.
Once that's done the program works perfectly.
Excellent!! I can't express to you just how happy this makes me to hear! Seriously, I greatly appreciate you taking the time to help me figure out a solution to this issue! The easier it is for others to utilize/access my amateurish software, the better...!
Maybe there's a way I could integrate this fix into the PyPI package to ensure compatibility with MacOS right off the bat?
Looks like I have some more work to do 😅
Seriously, @infinitepower18, thank you so very much for your feedback and help!! If there's anything else I can help with, or if any other issues arise, please let me know!!!
Have a good weekend!
from v2mp3.
This worked, but now I get an error related to the ffmpeg exe not being found, and obviously exe files won't run on macOS or Linux.
from v2mp3.
This is really odd, as it seemed to work fine on my Mac.... did you try installing all dependencies using pip install -r "requirements.txt"
?
It seems that you might also need a version of ffmpeg
installed on your system... There is a working Mac installation of it on this page.
from v2mp3.
It installed the required dependencies when I installed the wheel package... by any chance are you using an Intel Mac? I checked the ffmpeg website and there is no build for Apple Silicon available nor does the developer have any interest to provide a build.
from v2mp3.
Ohhh that could be the issue... I borrowed a family member's mac to give it a try, which after just now trying again it seemed to work just fine. But after checking it is indeed an Intel Mac.... Damn dude I'm so sorry for making you try all these things only for it to not work at all in the end...
I may need to try using different dependencies that don't rely on ffmpeg
for file conversion in that case...
If it wasn't already obvious before, I'm quite unfamiliar with Mac as you can tell...
from v2mp3.
It's alright, I guess we are still going through the Apple Silicon transition period lol. I have used Intel Macs before (including an old MBP I got as a hands me down years ago which I used for a brief period before it broke down) but only started using Apple Silicon a month ago. So far things are smooth it's just these minor issues which I will just use my Windows laptop for if needed.
UPDATE: There seem to be some ways available to get ffmpeg on Apple Silicon, will try when I have time.
from v2mp3.
It's alright, I guess we are still going through the Apple Silicon transition period lol. I have used Intel Macs before (including an old MBP I got as a hands me down years ago which I used for a brief period before it broke down) but only started using Apple Silicon a month ago. So far things are smooth it's just these minor issues which I will just use my Windows laptop for if needed.
UPDATE: There seem to be some ways available to get ffmpeg on Apple Silicon, will try when I have time.
Excellent! I'll be sure to check here often.
from v2mp3.
I had tried making a macOS app from it using py2app, and while I did manage to get it to run, for some reason it crashes if you run it on a system without Python installed, which is not supposed to be the case. So that's something that needs to be figured out. You also have to create one for Apple Silicon and one for Intel, one universal app won't work.
For Windows you can use Nuitka, just run the command nuitka --standalone main.py --enable-plugin=tk-inter --windows-disable-console
. I haven't tried this but I use Nuitka for my app and this command works for me. Also if you see any red text saying to enable plugins during the compilation process, cancel it and add the plugins in your command.
from v2mp3.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2mp3.