Moviepy: Help!!!! errors during installation on Mac

Created on 4 May 2018  ·  5Comments  ·  Source: Zulko/moviepy

I use both two methods to install moviepy on my Mac. One is using "(sudo) pip install moviepy", the other is downloading this moviepy project firstly, then using "(sudo) python setup.py install". But both two methods are error with the same warning:

**error in moviepy setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.**

I find 'extras_require' in setup.py:
extras_require=extra_reqs

then, I find:
extra_reqs = {
"optional": optional_reqs,
"doc": doc_reqs,
"test": test_reqs
}

but I don't know how to handle this situation, so would anyone please give me a favor? Thanks a lot.

Most helpful comment

I found an answer on stackoverflow: https://stackoverflow.com/questions/36996629/sudo-pip-install-setuptools-upgrade-error, and pip install --upgrade setuptools --user pythonworks perfectly to handle the problem.

Thank you a lot. That I missed #771 is my fault and sorry to bother you.

Thank you again.

All 5 comments

This looks like a duplicate of #771.

Try running pip install --upgrade setuptools to update setuptools to the latest version.

I try to run “(sudo) pip install —upgrade setuptools”, but I met errors as follows:
I don’t know what’s the problem, thank you.

Installing collected packages: setuptools
  Found existing installation: setuptools 18.5
    Uninstalling setuptools-18.5:
Could not install packages due to an EnvironmentError: [('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/markers.py'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib/__init__.pyc'"), ('/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib', "[Errno 1] Operation not permitted: '/private/tmp/pip-uninstall-wJobzQ/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/_markerlib'")]

在 2018年5月4日,下午4:33,Tom Burrows notifications@github.com 写道:

This looks like a duplicate of #771 https://github.com/Zulko/moviepy/issues/771.

Try running pip install --upgrade setuptools to update setuptools to the latest version.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Zulko/moviepy/issues/788#issuecomment-386537290, or mute the thread https://github.com/notifications/unsubscribe-auth/AYhoJzDkwihjrJIedbiEwpCjfeHRhDBPks5tvBJWgaJpZM4TyHe-.

I found an answer on stackoverflow: https://stackoverflow.com/questions/36996629/sudo-pip-install-setuptools-upgrade-error, and pip install --upgrade setuptools --user pythonworks perfectly to handle the problem.

Thank you a lot. That I missed #771 is my fault and sorry to bother you.

Thank you again.

Thanks superkoma! This is exactly what I needed

      Thanks superkoma! This is exactly what I needed

I felt happy if it helped you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tburrows13 picture tburrows13  ·  3Comments

Swiffers picture Swiffers  ·  4Comments

RahulPrasad picture RahulPrasad  ·  4Comments

LaoYuanPython picture LaoYuanPython  ·  3Comments

Deng-deng-deng-deng picture Deng-deng-deng-deng  ·  3Comments