Closed billzhonggz closed 2 years ago
Thank you for pointing out this issue. The dev-tllib
branch is under development and will be fixed after merging back to the main
branch. For now, you can directly git clone the project.
Thanks for your advice!
Describe the bug When installing on
dev-tllib
branch, the following error occurs and installation aborts.Traceback (most recent call last): File "C:\Users\Junru\source\Transfer-Learning-Library\setup.py", line 9, in <module> version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1) AttributeError: 'NoneType' object has no attribute 'group'
To Reproduce Steps to reproduce the behavior:
- Clone the repository.
- Switch to branch
dev-tllib
.- Run
python setup.py install
.- See error.
Expected behavior No error during install.
Additional context Adding a version string in
tllib/__init__.py
fixes the issue.
Describe the bug When installing on
dev-tllib
branch, the following error occurs and installation aborts.To Reproduce Steps to reproduce the behavior:
dev-tllib
.python setup.py install
.Expected behavior No error during install.
Additional context Adding a version string in
tllib/__init__.py
fixes the issue.