damnever / pigar

:coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)

Home Page:https://damnever.github.io/pigar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"The following modules are not found yet" error lists builtin modules

Helveg opened this issue · comments

The error can be ignored by entering N for the proposed finding of these modules on PyPI, but it shouldn't be thrown at all for builtin modules right?

(paperpy-dev) robin@robin-ZenBook-UX533FN:~/paperpy$ pigar
The following modules are not found yet:
  os referenced from:
    /home/robin/paperpy/setup.py: 2
  abc referenced from:
    /home/robin/paperpy/build/lib/paperpy/interfaces.py: 5
    /home/robin/paperpy/paperpy/interfaces.py: 5
  argparse referenced from:
    /home/robin/paperpy/paperpy/cli/__init__.py: 2
Some of them may be not installed in local environment.
Try to search PyPI for the missing modules and filter some unnecessary modules? (y/[N]) N

Could you provide a minimal environment to reproduce it?

  1. Create a new pyenv virtualenv
  2. Clone git@github.com:paperpy/paperpy (don't worry it's a very small repo)
cd paperpy
pip install -e .
pigar

Please provide the following information:

  • OS
  • version of Python
  • version of pigar

Maybe you can update pigar to try it again?

It's working on:

  • Windows
  • 3.7.6
  • 0.10.0

Not working on:

  • Linux (Ubuntu 18.04)
  • 3.7.6 / 3.6.10
  • 0.10.0 / git master on 72b650c

On Linux I use pyenv virtualenv. Here is the pip freeze:

alabaster==0.7.12
appdirs==1.4.4
attrs==19.3.0
Babel==2.8.0
black==19.10b0
bleach==3.1.5
certifi==2020.4.5.1
cffi==1.14.0
cfgv==3.1.0
chardet==3.0.4
click==7.1.2
colorama==0.4.3
ConnPlotter==0.7a0
cryptography==2.9.2
decorator==4.4.2
distlib==0.3.0
docutils==0.16
filelock==3.0.12
identify==1.4.16
idna==2.9
imagesize==1.2.0
importlib-metadata==1.6.0
importlib-resources==1.5.0
ipython-genutils==0.2.0
jeepney==0.4.3
Jinja2==2.11.2
joblib==0.15.1
jsonschema==3.2.0
jupyter-core==4.6.3
keyring==21.2.1
MarkupSafe==1.1.1
nbformat==5.0.6
nltk==3.5
nodeenv==1.3.5
packaging==20.4
-e git+git@github.com:paperpy/paperpy.git@137cf4b1f5c07f246765150de5b25d3924f5563b#egg=paperpy
pathspec==0.8.0
pigar==0.10.0
pkginfo==1.5.0.1
pre-commit==2.4.0
pycparser==2.20
Pygments==2.6.1
PyNEST===HEAD-b84c9bae4
pypandoc==1.5
pyparsing==2.4.7
pyrsistent==0.16.0
pytz==2020.1
PyYAML==5.3.1
readme-renderer==26.0
regex==2020.5.14
requests==2.23.0
requests-toolbelt==0.9.1
SecretStorage==3.1.2
six==1.15.0
snowballstemmer==2.0.0
Sphinx==3.0.3
sphinx-rtd-theme==0.4.3
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
tabulate==0.8.7
textblob==0.15.3
toml==0.10.1
Topology===HEAD-b84c9bae4
tqdm==4.46.0
traitlets==4.3.3
twine==3.1.1
typed-ast==1.4.1
urllib3==1.25.9
virtualenv==20.0.21
webencodings==0.5.1
zipp==3.1.0

Having a similar issue, it seems to not be able to pick up on some directories... I have a directory labeled "core" which is imported using something along the lines of from core import example, and it throws this error.