question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

could not be resolved if use pyenv local

See original GitHub issue

I use pyenv for manage virtualenv of python, but if use pyenv local(.python-version file in local dir) in coc-pyright, raise reportMissingImports error on import something. image

pyenv shell is working. PYENV_VERSION environment variable can be accepted.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

10reactions
fannheywardcommented, Dec 17, 2020

I’ll test pyenv/pipenv later, trying to make it works with Pyright.

5reactions
fannheywardcommented, Jan 28, 2021

coc-pyright v1.1.106 adds support for pyenv local, please give it a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot switch Python with pyenv - Stack Overflow
As Vadorequest said, if pyenv is installed using homebrew, you have to add $PYENV_ROOT/shims to the path as $PYENV_ROOT/bin does not exist. I...
Read more >
pyenv local not working | The Search Engine You Control
5 and I have a project folder myproject configured with pyenv local to use version 3.6.11 instead. To enable automatic switching between python...
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
Make sure you're running the newest Pipenv version first! ☤ Your dependencies could not be resolved¶. Make sure your dependencies actually do resolve....
Read more >
Python Versions Management With pyenv - Sebastian Witowski
pyenv is a tool that lets you easily install new Python versions and switch between them.
Read more >
pyenv-win - PyPI
File C:\Users\kirankotari\install-pyenv-win.ps1 cannot be loaded because running ... This is the version of python that will be used by default if a local...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found