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.

imports not written

See original GitHub issue

When i am running for instance pd.read_csv i have no issue but this doesnt add import pandas as pd at the top. Also when i tried to run python -m pyforest install_extensions i get the error /usr/bin/python no package named pyforest

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
8080labscommented, Apr 17, 2020

@bensdm and @tushargoyal22 I have created a new release 1.0.3. Is the problem solved now?

pip install --upgrade pyforest
python -m pyforest install_extensions
0reactions
bensdmcommented, Apr 17, 2020

yes it is, thanks a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import is not writing over the original Data Extension
1 Answer 1 · Get the field in the report(s) if not already there. · Create a Filter or Query activity (which one...
Read more >
python - Import not Working - Stack Overflow
Let's say a.py is part of the library, b is the user's program that uses the library, and I wrote the library. If...
Read more >
Local imports not resolving correctly · Issue #68 - GitHub
Expected behaviour. When trying to import another python file from the same directory as the current file (e.g. main.py and emailRelay.py are ...
Read more >
Absolute vs Relative Imports in Python
In this tutorial, you'll not only cover the pros and cons of absolute and relative imports but also learn about the best practices...
Read more >
5. The import system — Python 3.11.1 documentation
When a module is first imported, Python searches for the module and if found, it creates a module object 1, initializing it. If...
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