-
Notifications
You must be signed in to change notification settings - Fork 404
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
BUG: not able to detect local packages #444
Comments
@yfiua I had the same "Not scanning for jupyter notebooks" warning, and around half of the imported packages were missing. You need the following command, which enables scanning of Jupyter notebooks:
After adding this option, I still get the "not found locally" warning for a few packages, but the resulting requirements.txt file is complete and correct, except for the pandas version. I have pandas 2.2.1 installed, but pipreqs lists 2.2.2 in the generated file. The warning messages I get are below for the devs' reference, if needed:
|
For me it is not related to |
I see, I assumed the warning is only displayed when there are notebooks in the project. My mistake. |
I have the same problem, it recognise well some packages but not polars niether pandas |
Use conda install anaconda::pandas command into jupyter command terminal |
The issue is not related to conda, nor jupyter. pipreqs should work without conda or jupyter. |
Same issue here, was anyone able to solve it? |
Same problem. The versions are not match. It always generates the package's version through resolving the the PyPI server instead of the ture local package's version. |
I also observe this problem. For an arbitrary project, I call pipreqs path/to/project --savepath="req.txt" I get the warnings:
I have a modified PYTHONPATH, and I use pyenv... In case this is relevant for debugging... |
I have pandas installed
but pipreqs is not able to detect it and tries to resolve it via PyPI. Why?
The text was updated successfully, but these errors were encountered: