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.

Can't run conda-smithy - import errors

See original GitHub issue

I tried to run conda-smithy and I’m facing this error:

Traceback (most recent call last):
  File "/home/trevisani/miniconda3/bin/conda-smithy", line 6, in <module>
    from conda_smithy.cli import main
  File "/home/trevisani/miniconda3/lib/python3.6/site-packages/conda_smithy/cli.py", line 17, in <module>
    from . import lint_recipe
  File "/home/trevisani/miniconda3/lib/python3.6/site-packages/conda_smithy/lint_recipe.py", line 12, in <module>
    import github
  File "/home/trevisani/miniconda3/lib/python3.6/site-packages/github/__init__.py", line 42, in <module>
    from .MainClass import Github, GithubIntegration
  File "/home/trevisani/miniconda3/lib/python3.6/site-packages/github/MainClass.py", line 50, in <module>
    import jwt
ModuleNotFoundError: No module named 'jwt'

using: conda-smithy 3.1.6-py_0 conda 4.5.4 conda-build 3.10.9

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jakirkhamcommented, Jun 29, 2018

Hmm…the error makes it sound like it doesn’t exist though. Is it possible that conda left things in an incomplete state at some point? Would it be possible to try pyjwt 1.6.1 again?

1reaction
ocefpafcommented, Jun 29, 2018

So, I updated pyjwt to 1.6.4 and now I’m receiving this error message:

That one is easy, just follow the message and update conda-forge-pinning 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to re-render with "ModuleNotFoundError: No module ...
Issue: I can't re-render git-feedstock, conda-smithy fails with ... re-run conda smithy rerender -c auto and got the libarchive error above.
Read more >
Trying to run installed by conda gives an error - ROOT Forum
MacOS 12.3, Python 3.9.6, conda 4.12.0 Version of root and root_base are those automatically chosen by conda; root version 6.26.2, ...
Read more >
conda-forge/conda-forge.github.io - Gitter
This can result in weird behavior like importing a system copy of a ... 9 from fiona.ogrext import ( ImportError: libcharset.so.1: cannot open...
Read more >
Import module error from channel conda-forge - Stack Overflow
However, if I run a .py script in the very same conda environment, the module is not found. In particular, I cannot import...
Read more >
Infrastructure — conda-forge 2022.12.21 documentation
Smithy contains maintenance code for conda-forge, which is used by the conda-smithy command line tool and the Admin web services. Smithy lives in...
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