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.

ImportError: No module named

See original GitHub issue

Hi,

I have tried building my python code with nuitka, and it worked but I got error running the resulting binary:

Traceback (most recent call last): File “scraper.py”, line 5, in <module> import funkcje as f File “funkcje.py”, line 2, in <module funkcje> import requests ImportError: No module named requests

Build command is: nuitka --recurse-all scraper.py I am using Nuitka-0.6.5 and python 3.6 and following external libraries (installed with pip)

requests, lxml.html, numpy, bs4, multiprocessing

How could I build it properly with this libs?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:28 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
Vox1984commented, Nov 5, 2019

ok got it - surprisingly you can install nuitka via pip as well… then it works.

0reactions
JorjMcKiecommented, Nov 7, 2019

Pleased to read this! Godd luck for your work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python error "ImportError: No module named" - Stack Overflow
I had the same error. It was caused by somebody creating a folder in the same folder as my script, the name of...
Read more >
ModuleNotFoundError: No module named x
How to fix ModuleNotFoundError and ImportError? Now we're up to speed with how the basic import statement is executed and what is the...
Read more >
How to fix “ImportError: No module named …” error in Python?
How to fix “ImportError: No module named …” error in Python? ... 1. Find the python installation location using the command where python...
Read more >
2021 How to Fix "No Module Named..." Error in Python
2021 How to Fix ImportError " No Module Named pkg_name" in Python! First, download the package using a terminal outside of python.
Read more >
ImportError no module named '' - Digi Forum
I fixed the issue on my own. I was importing the classes incorrectly. The correct import is from SchedulerPackage.Scheduler import Scheduler
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