Seite 2 von 2
Re: File Explorer Handling
Verfasst: Mittwoch 29. April 2020, 13:56
von __deets__
AutoComplete ist nicht wirklich zuverlaessig mit einer so dynamischen Sprache. Das kann bestenfalls ein milder Indikator fuer etwas sein. Ob es *wirklich* so ist, kannst du doch einfach ausprobieren. Mehr nicht-gehen als jetzt kann's ja nicht.
Und das war auch gar nicht so mein Punkt. Du musst verstehen, warum moviepy importiert werden kann, aber trotzdem von der Library als unnutzbar gemeldet wird. Das erschliesst sich nur durch Studium der Quellen, nicht durch ausprobieren.
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 11:57
von Kirby_Sike
Also ich habe mal getestet ob moviepy etwas tut und hier ist die Fehlermeldung xD:
Code: Alles auswählen
python3 insta_bot_api.py
Fail to import moviepy. Need only for Video upload.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageio/plugins/ffmpeg.py", line 81, in get_exe
exe = get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat],
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageio/core/fetching.py", line 102, in get_remote_file
raise NeedDownloadError()
imageio.core.fetching.NeedDownloadError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "insta_bot_api.py", line 2, in <module>
from moviepy.editor import *
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/moviepy/editor.py", line 22, in <module>
from .video.io.VideoFileClip import VideoFileClip
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
from moviepy.video.VideoClip import VideoClip
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/moviepy/video/VideoClip.py", line 21, in <module>
from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/moviepy/video/io/ffmpeg_writer.py", line 11, in <module>
from moviepy.config import get_setting
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/moviepy/config.py", line 35, in <module>
FFMPEG_BINARY = get_exe()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageio/plugins/ffmpeg.py", line 86, in get_exe
raise NeedDownloadError('Need ffmpeg exe. '
imageio.core.fetching.NeedDownloadError: Need ffmpeg exe. You can download it by calling:
imageio.plugins.ffmpeg.download()
Hier ist der Code den ich ausgeführt habe:
Code: Alles auswählen
from moviepy.editor import *
def videoTest():
clip = VideoFileClip("/Volumes/Extreme SSD/Youtube Videos/2. Konstruktor").rotate(180)
clip.ipython_display(width=280)
videoTest()
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 12:00
von __deets__
Na und hast du die Fehlermeldung mal angeschaut, und gemacht, was sie vorschlaegt?
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 12:08
von Kirby_Sike
Naja ich kann imageio nicht ansteuern, da die Variable undefined ist xD
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 12:14
von __deets__
Das ist ja auch keine Variable, sondern ein Modul. Und du kannst so eine Fehlermeldung auch mal googeln, und schauen, was dabei rumkommt. Denn ganz ehrlich: nix anderes mache ich damit auch. Und ohne Mittelmann geht's ein bisschen schneller.
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 12:30
von Kirby_Sike
xD habe ich gemacht und wie man es so kennt kommt direkt die nächste Fehlermeldung xD
Code: Alles auswählen
insta_bot_api.py
Fail to import moviepy. Need only for Video upload.
Imageio: 'ffmpeg.osx' was not found on your computer; downloading it now.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>.
Error while fetching file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>.
Traceback (most recent call last):
File "insta_bot_api.py", line 3, in <module>
imageio.plugins.ffmpeg.download()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageio/plugins/ffmpeg.py", line 55, in download
get_remote_file('ffmpeg/' + FNAME_PER_PLATFORM[plat])
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageio/core/fetching.py", line 121, in get_remote_file
_fetch_file(url, filename)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/imageio/core/fetching.py", line 175, in _fetch_file
raise IOError('Unable to download %r. Perhaps there is a no internet '
OSError: Unable to download 'ffmpeg.osx'. Perhaps there is a no internet connection? If there is, please report this problem.
Also kein Internet kappa xD
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 12:34
von __deets__
Und dann googelt man auch DIESE Fehlermeldung, und dann... bekommt man in den ersten 3 Antworten eine Loesung praesentiert:
https://stackoverflow.com/questions/454 ... -ssl-error
Das ist das letzte mal, das ich hier Internet-Vorlese-Service mache.
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 12:36
von Kirby_Sike
Sryy xD Ich werde mir angewöhnen etwas mehr zu googlen xD
Re: File Explorer Handling
Verfasst: Donnerstag 30. April 2020, 13:07
von Kirby_Sike
Jetzt ist zum Glück die moviepy Meldung weg

Danke für deine Hilfe