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

pipenv install failed because of FileNotFindError #3021

Closed
happyyun opened this issue Oct 13, 2018 · 2 comments
Closed

pipenv install failed because of FileNotFindError #3021

happyyun opened this issue Oct 13, 2018 · 2 comments
Assignees
Labels
Type: Bug 🐛 This issue is a bug.

Comments

@happyyun
Copy link

F:\Programming\LearnBlockchain\Lesson1>pipenv install
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (8c2845)!
Installing dependencies from Pipfile.lock (8c2845)…
  ================================ 5/5 - 00:00:04
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Traceback (most recent call last):
  File "e:\program files\python3.6.4\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "e:\program files\python3.6.4\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "E:\Program Files\Python3.6.4\Scripts\pipenv.exe\__main__.py", line 9, in <module>
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\click\decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\cli\command.py", line 249, in install
    editable_packages=state.installstate.editables,
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\core.py", line 1952, in do_install
    requirements_directory.cleanup()
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\vistir\compat.py", line 123, in cleanup
    rmtree(self.name)
  File "e:\program files\python3.6.4\lib\site-packages\pipenv\vendor\vistir\path.py", line 248, in rmtree
    directory, ignore_errors=ignore_errors, onerror=handle_remove_readonly
  File "e:\program files\python3.6.4\lib\shutil.py", line 494, in rmtree
    return _rmtree_unsafe(path, onerror)
  File "e:\program files\python3.6.4\lib\shutil.py", line 376, in _rmtree_unsafe
    onerror(os.listdir, path, sys.exc_info())
  File "e:\program files\python3.6.4\lib\shutil.py", line 374, in _rmtree_unsafe
    names = os.listdir(path)
FileNotFoundError: [WinError 3] : b'C:\\Users\\\\AppData\\Local\\Temp\\pipenv-dj3rynuq-requirements'

I try some methods ,but it didn't matter.Anyone has some methods to solve this problem?

@techalchemy
Copy link
Member

I believe I have this fixed in the next round of updates, should be out shortly

techalchemy added a commit that referenced this issue Oct 24, 2018
- Upgrade pythonfinder
- Upgrade vistir
- Upgrade requirementslib
- Vendor backported version of `functools.lru_cache` for performance
- Fix editable dependency installation when markers are present
- Fix extraneous resource warnings
- Fix filesystem output stream encoding issues
- Fix pythonfinder non-standard python name issues
- Provide full interaction layer to `Pipfile` and `Pipfile.lock` in
  requirementslib
- Fixes #3017
- Fixes #3014
- Fixes #3021
- Fixes #3019

Signed-off-by: Dan Ryan <[email protected]>
@techalchemy techalchemy added the Type: Bug 🐛 This issue is a bug. label Oct 29, 2018
@techalchemy techalchemy self-assigned this Oct 29, 2018
techalchemy added a commit that referenced this issue Oct 30, 2018
- Upgrade pythonfinder
- Upgrade vistir
- Upgrade requirementslib
- Vendor backported version of `functools.lru_cache` for performance
- Fix editable dependency installation when markers are present
- Fix extraneous resource warnings
- Fix filesystem output stream encoding issues
- Fix pythonfinder non-standard python name issues
- Provide full interaction layer to `Pipfile` and `Pipfile.lock` in
  requirementslib
- Fixes #3017
- Fixes #3014
- Fixes #3021
- Fixes #3019

Signed-off-by: Dan Ryan <[email protected]>

Update vendored dependencies

- Update shellingham, tomlkit, requests, urllib3, certifi, vistir and
  parse
- Fixes #2820
- Fixes #2852

Signed-off-by: Dan Ryan <[email protected]>

Cleanup old vendored dependencies

Signed-off-by: Dan Ryan <[email protected]>
@happyyun
Copy link
Author

happyyun commented Nov 3, 2018

Yeh,thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants