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 modules are not found yet" error lists builtin modules #78

Open
Helveg opened this issue May 22, 2020 · 5 comments
Open

Comments

@Helveg
Copy link

Helveg commented May 22, 2020

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
@damnever
Copy link
Owner

Could you provide a minimal environment to reproduce it?

@Helveg
Copy link
Author

Helveg commented May 26, 2020

  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

@damnever
Copy link
Owner

Please provide the following information:

  • OS
  • version of Python
  • version of pigar

Maybe you can update pigar to try it again?

@Helveg
Copy link
Author

Helveg commented Jun 11, 2020

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

@nottisa
Copy link

nottisa commented Dec 27, 2023

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.

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

No branches or pull requests

3 participants