Problems using a package
See original GitHub issueHi there, the following simple script doesn’t work
#!/usr/bin/env zxpy
import toml
def main():
toml_string = """
[test]
x = "something"
"""
parsed_toml = toml.loads(toml_string)
print(parsed_toml)
if __name__ == '__main__':
main()
I get
Traceback (most recent call last):
File "/home/manfred/.local/bin/zxpy", line 8, in <module>
sys.exit(cli())
File "/home/manfred/.local/lib/python3.8/site-packages/zx.py", line 56, in cli
run_zxpy(filename, module)
File "/home/manfred/.local/lib/python3.8/site-packages/zx.py", line 121, in run_zxpy
exec(code, None, {'__name__': '__main__'})
File "./x.py", line 15, in <module>
main()
File "./x.py", line 10, in main
parsed_toml = toml.loads(toml_string)
NameError: name 'toml' is not defined
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Shipping Issues and Problems? 7 Fixes to the Most Common ...
7 Fixes to the Most Common Fulfillment Challenges. Lost packages. Damaged products and shipping containers. Hidden fees.
Read more >Package Handling Problems | Community Associations Institute
Additionally, Associations are addressing growing concerns of parcel security and theft. For example, if a person is not available to accept a package,...
Read more >8 Most Common Shipping & Fulfillment Problems (and how to ...
8 Most Common Shipping & Fulfillment Problems (and how to fix them) · Demand planning · Inventory management · Product packaging · Shipping...
Read more >Shipping Problems: Common Shipping Issues and Problems
Shipping can be delayed for many reasons, but the most common are bad weather, incorrect addresses, and carrier mishaps. Severe weather like tornadoes, ......
Read more >4 Common Package Delivery Problems - Fleet Couriers
4 Common Package Delivery Problems · PROBLEM: Your order is delayed · PROBLEM: The order arrived damaged · PROBLEM: The tracking number is ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, working fine now.
You are really quick. Much appreciated. Thanks a lot @tusharsadhwani and @jack1142 .
@manfredlotz Alright, try again after doing
pip install zxpy==1.4.2
?