IntuitionEngineeringTeam / chars2vec

Character-based word embeddings model based on RNN for handling real world texts
Apache License 2.0
171 stars 37 forks source link

Error when installing through pip #6

Open louchenyao opened 4 years ago

louchenyao commented 4 years ago

I tried to install chars2vec by pip:

pip3 install chars2vec

But It shows

error: can't copy 'chars2vec/trained_models/eng_200': doesn't exist or not a regular file

Does anyone have the same issue?

The full log is:

v-chlou@SRGSSD-06:~$ pip3 install chars2vec
Collecting chars2vec
  Using cached https://files.pythonhosted.org/packages/04/0a/8c327aae23e0532d239ec7b30446aca765eb5d9547b4c4b09cdd82e49797/chars2vec-0.1.7.tar.gz
Building wheels for collected packages: chars2vec
  Running setup.py bdist_wheel for chars2vec ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_cllchv2/chars2vec/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpeqgl8qr_pip-wheel- --python-tag cp35:
  Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
  You are using pip version 8.1.1, however version 19.3.1 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/chars2vec
  copying chars2vec/__init__.py -> build/lib/chars2vec
  copying chars2vec/model.py -> build/lib/chars2vec
  running egg_info
  writing top-level names to chars2vec.egg-info/top_level.txt
  writing dependency_links to chars2vec.egg-info/dependency_links.txt
  writing chars2vec.egg-info/PKG-INFO
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'chars2vec.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*' under directory 'chars2vec/'
  writing manifest file 'chars2vec.egg-info/SOURCES.txt'
  copying chars2vec/.DS_Store -> build/lib/chars2vec
  creating build/lib/chars2vec/__pycache__
  copying chars2vec/__pycache__/__init__.cpython-36.pyc -> build/lib/chars2vec/__pycache__
  copying chars2vec/__pycache__/model.cpython-36.pyc -> build/lib/chars2vec/__pycache__
  creating build/lib/chars2vec/trained_models
  copying chars2vec/trained_models/.DS_Store -> build/lib/chars2vec/trained_models
  creating build/lib/chars2vec/trained_models/eng_100
  copying chars2vec/trained_models/eng_100/model.pkl -> build/lib/chars2vec/trained_models/eng_100
  copying chars2vec/trained_models/eng_100/weights.h5 -> build/lib/chars2vec/trained_models/eng_100
  creating build/lib/chars2vec/trained_models/eng_150
  copying chars2vec/trained_models/eng_150/model.pkl -> build/lib/chars2vec/trained_models/eng_150
  copying chars2vec/trained_models/eng_150/weights.h5 -> build/lib/chars2vec/trained_models/eng_150
  creating build/lib/chars2vec/trained_models/eng_200
  copying chars2vec/trained_models/eng_200/model.pkl -> build/lib/chars2vec/trained_models/eng_200
  copying chars2vec/trained_models/eng_200/weights.h5 -> build/lib/chars2vec/trained_models/eng_200
  creating build/lib/chars2vec/trained_models/eng_300
  copying chars2vec/trained_models/eng_300/model.pkl -> build/lib/chars2vec/trained_models/eng_300
  copying chars2vec/trained_models/eng_300/weights.h5 -> build/lib/chars2vec/trained_models/eng_300
  creating build/lib/chars2vec/trained_models/eng_50
  copying chars2vec/trained_models/eng_50/model.pkl -> build/lib/chars2vec/trained_models/eng_50
  copying chars2vec/trained_models/eng_50/weights.h5 -> build/lib/chars2vec/trained_models/eng_50
  error: can't copy 'chars2vec/trained_models/eng_200': doesn't exist or not a regular file