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
When trying to install textract==1.6.4, the installation fails due to an issue with the install_requires field in the setup.py file. Specifically, the extract-msg<=0.29.* entry is not a valid version specifier because the .* suffix can only be used with the == or != operators.
To Reproduce
Steps to reproduce the behavior:
Run pip install textract==1.6.4 in a Python environment.
Observe the error during the installation process when building the wheel.
Expected behavior
The package should install successfully without errors.
Error Output
error in textract setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement
specifiers; .* suffix can only be used with `==` or `!=` operators
extract-msg<=0.29.*~~~~~~~^
Desktop (please complete the following information):
OS: MacOS
Textract version: 1.6.4
Python version: 3.11
Virtual environment: yes
Additional context
It seems like the issue is related to invalid version specifiers in the setup.py file of the textract package. A potential fix would be to update the version specifier to extract-msg<=0.29 or resolve the versioning conflict.
The text was updated successfully, but these errors were encountered:
Solution for Installation Failure Due to Invalid Version Specifier in setup.py for extract-msg<=0.29.*
Hi @shrijayan@jkfran,
The issue you're encountering is caused by an invalid version specifier in the requirements/python file being parsed by setup.py. The version constraint extract-msg<=0.29.* is invalid because Python packaging tools like pip only support == or != with the .* suffix.
Proposed Fix:
To fix this issue, modify the requirements/python file as follows:
Find the line that contains:
extract-msg<=0.29.*
Modify it to:
extract-msg<=0.29
This correction ensures that the version specifier is in a valid format.
After modifying, you can proceed with the installation using the following command:
python setup.py install
This should resolve the issue and allow you to proceed with the installation without errors. Let me know if this helps or if further assistance is needed!
Describe the bug
When trying to install textract==1.6.4, the installation fails due to an issue with the install_requires field in the setup.py file. Specifically, the extract-msg<=0.29.* entry is not a valid version specifier because the .* suffix can only be used with the == or != operators.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The package should install successfully without errors.
Error Output
error in textract setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement
Desktop (please complete the following information):
Additional context
It seems like the issue is related to invalid version specifiers in the setup.py file of the textract package. A potential fix would be to update the version specifier to extract-msg<=0.29 or resolve the versioning conflict.
The text was updated successfully, but these errors were encountered: