You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Dependencies in requirements.txt have module conflicts.
Description
There are two dependencies mentioned in the requirements.txt file: ffmpeg-python and ffmpeg. There is a module conflict between these two packages. The ffmpeg/__init__.py module in the ffmpeg package is an empty file, while the ffmpeg/__init__.py module in the ffmpeg-python package contains code. During the pip installation process, the latter module will overwrite the former ffmpeg/__init__.py.
Steps to Reproduce
pip install -r requirements.txt
This is the directory structure and file contents after installation, where it can be seen that the modules of the two packages are installed in the same folder, and init.py has been overwritten.
Desired Change
Indeed, it is not an ideal behavior for modules to be overwritten, even if they are not actively used or if the overwritten module is the one being called. It introduces uncertainty and can cause issues in the long run, especially if there are changes or updates to the overwritten modules in future development. It is generally recommended to avoid such conflicts and ensure that only the necessary and compatible dependencies are declared in the requirements to maintain a stable and predictable environment for the project.
The text was updated successfully, but these errors were encountered:
Background
Dependencies in
requirements.txt
have module conflicts.Description
There are two dependencies mentioned in the
requirements.txt
file:ffmpeg-python
andffmpeg
. There is a module conflict between these two packages. Theffmpeg/__init__.py
module in theffmpeg
package is an empty file, while theffmpeg/__init__.py
module in theffmpeg-python
package contains code. During the pip installation process, the latter module will overwrite the formerffmpeg/__init__.py
.Steps to Reproduce
pip install -r requirements.txt
This is the directory structure and file contents after installation, where it can be seen that the modules of the two packages are installed in the same folder, and init.py has been overwritten.
Desired Change
Indeed, it is not an ideal behavior for modules to be overwritten, even if they are not actively used or if the overwritten module is the one being called. It introduces uncertainty and can cause issues in the long run, especially if there are changes or updates to the overwritten modules in future development. It is generally recommended to avoid such conflicts and ensure that only the necessary and compatible dependencies are declared in the requirements to maintain a stable and predictable environment for the project.
The text was updated successfully, but these errors were encountered: