alecthomas / alecthomas/importmagic

AttributeError: 'SymbolIndex' object has no attribute 'get_or_create_index'

Ouverte
#52 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
122
Forks
21
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Attempting to either run the example code in the README:
```
index = importmagic.SymbolIndex()
index.get_or_create_index(name='foo', paths=sys.path)
```
— or attempting to run the same code as it's written in the `bin/importmagic` script results in the same error in both cases:
```
Traceback (most recent call last):
File "/home/brhodes/imagic", line 33, in
index.get_or_create_index(paths=path, refresh=args.refresh)
AttributeError: 'SymbolIndex' object has no attribute 'get_or_create_index'
```
I double-checked whether I have the library installed correctly and haven't yet found any problems with my install. Thanks for any hints in getting the library working!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.