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

The following module(s) are not found yet: #179

Open
bitjerry opened this issue Oct 14, 2023 · 4 comments
Open

The following module(s) are not found yet: #179

bitjerry opened this issue Oct 14, 2023 · 4 comments
Labels

Comments

@bitjerry
Copy link

Describe the bug
When I use Pigar in a pipenv environment, it show The following module(s) are not found yet:
However, all packages have been correctly installed with pipenv.

To Reproduce
Steps to reproduce the behavior:

pipenv shell
pigar generate

Expected behavior

Pigar should recognize these packages installed in the pipenv virtual environment, rather than going to pypi to retrieve them again .

Context (Environment)

  • OS: Windows
  • Version of Python: 3.11.0
  • Version of pigar: 2.1.1

Additional context
Add any other context about the problem here.

pigar -l DEBUG [command] will give you debug level logs.

@damnever
Copy link
Owner

I believe you should ensure that pigar recognizes your virtual environment. This implies that you may need to install pigar in your virtual environment.

@bitjerry
Copy link
Author

Is it possible for pigar to be automatically recognized, if I install it globally, and execute this program under pipenv shell?
Alternatively, pipenv can add a specified local index path. For example, specify .venv/Lib/site-packages

I believe you should ensure that pigar recognizes your virtual environment. This implies that you may need to install pigar in your virtual environment.

@damnever
Copy link
Owner

I've been away from the world of Python for quite some time, but I believe you can execute pigar like this: python -m pigar.

@damnever
Copy link
Owner

Or maybe not..

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

No branches or pull requests

2 participants