Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python setup.py egg_info did not run successfully. #31

Open
XiaonGitHub opened this issue Sep 4, 2022 · 0 comments
Open

python setup.py egg_info did not run successfully. #31

XiaonGitHub opened this issue Sep 4, 2022 · 0 comments

Comments

@XiaonGitHub
Copy link

XiaonGitHub commented Sep 4, 2022

I'm a complete beginner in coding, so I'm lost in what to do.
I've been following the readme and during setup, when I write in anaconda prompt, pip install -r requirements.txt,
I get the error:

Collecting sentencepiece==0.1.83
  Using cached sentencepiece-0.1.83.tar.gz (497 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\ryyuj\AppData\Local\Temp\pip-install-1j97ilvg\sentencepiece_23e331750cc749e6b09f5118d946390c\setup.py", line 29, in <module>
          with codecs.open(os.path.join('..', 'VERSION'), 'r', 'utf-8') as f:
        File "C:\Users\ryyuj\anaconda3\lib\codecs.py", line 905, in open
          file = builtins.open(filename, mode, buffering)
      FileNotFoundError: [Errno 2] No such file or directory: '..\\VERSION'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Any ideas on what the problem might be, and what to do about it?
Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant