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.

Add support for PYTHONPATH

See original GitHub issue

Currently, PYTHONPATH is not supported for python so user can not import package inside the project root folder

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
bodakcommented, May 3, 2018

@formulahendry I can have a look at this tomorrow.

We can probably close this issue (#238) now.

4reactions
gennaro-tedescocommented, Nov 1, 2018

The path to be specified in the configuration is the path to the Python interpreter on your local machine. The PYTHONPATH instead is the path, in the current working directory, where Python must look for imports, libraries and the like.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for PYTHONPATH · Issue #8 · microsoft/pyright - GitHub
I've added support for the PYTHONPATH environment variable in 1.0.7, which was just published. You can read more about it in this ...
Read more >
Understanding the Python Path Environment Variable in Python
Python path is an environment variable used to maintain directories of custom Python libraries. Learn how to set a python path variable on ......
Read more >
How to add to the PYTHONPATH in Windows, so it finds my ...
Open Explorer. · Right-click 'Computer' in the Navigation Tree Panel on the left. · Select 'Properties' at the bottom of the Context Menu....
Read more >
Setting Python Path (PythonPath) system variable - KatsBits.com
Most System Variables, PythonPath included, are added via "System Properties". To access this right-click the Desktop icon titled "Computer" and select " ...
Read more >
4. Using Python on Windows — Python 3.11.1 documentation
If you require Windows 7 support, please install Python 3.8. ... The PYTHONPATH variable is used by all versions of Python, so you...
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