Skip to content

module 'fastBPE' has no attribute 'fastBPE' #57

@yuhangjiang22

Description

@yuhangjiang22

After running installation by,

python setup.py install

running install
/Users/kaka/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/Users/kaka/lib/python3.8/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
package init file 'fastBPE/__init__.py' not found (or not a regular file)
writing manifest file 'fastBPE.egg-info/SOURCES.txt'
running install_lib
running build_py
running build_ext
creating build/bdist.macosx-10.14-x86_64/egg
byte-compiling build/bdist.macosx-10.14-x86_64/egg/fastBPE.py to fastBPE.cpython-38.pyc
creating build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying fastBPE.egg-info/PKG-INFO -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying fastBPE.egg-info/SOURCES.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying fastBPE.egg-info/dependency_links.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
copying fastBPE.egg-info/top_level.txt -> build/bdist.macosx-10.14-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
removing 'build/bdist.macosx-10.14-x86_64/egg' (and everything under it)
Removing /Users/kaka/lib/python3.8/site-packages/fastBPE-0.1.1-py3.8-macosx-10.14-x86_64.egg
Copying fastBPE-0.1.1-py3.8-macosx-10.14-x86_64.egg to /Users/kaka/lib/python3.8/site-packages

still got this error.

>>> fastBPE.fastBPE()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'fastBPE' has no attribute 'fastBPE'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions