oxpig / ANARCI

Antibody Numbering and Antigen Receptor ClassIfication
BSD 3-Clause "New" or "Revised" License
161 stars 84 forks source link

submodule_search_location installation issues #44

Closed jadolfbr closed 11 months ago

jadolfbr commented 1 year ago

Hello,

When I try to install ANARCI on a linux machine, I get the following after running python setup.py install --user

Has this been seen before? Are there any fixes or suggestions for this issue? Thanks.

Writing /home/jadolfbr/.local/lib/python3.6/site-packages/anarci-1.3-py3.6.egg-info
Traceback (most recent call last):
  File "setup.py", line 38, in <module>
    ANARCI_LOC = importlib.util.find_spec("anarci").submodule_search_locations[0]
AttributeError: 'NoneType' object has no attribute 'submodule_search_locations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 40, in <module>
    sys.stderr.write(e.message)
AttributeError: 'AttributeError' object has no attribute 'message'
LivC93 commented 1 year ago

Same issue

FBoyles commented 11 months ago

`AttributeError: 'NoneType' object has no attribute 'submodule_search_locations '

This suggests that the 'anarci' module is not available, so there was probably an error during installation.

We have recently updated the installation script and installation instructions to be more robust, which should resolve your problem.