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.

It’s probably my environment could not find go_ast on macOS?

Installed Go 1.16 and Python 3.10 beta 3 and go get other 2 dependencies:

/Library/Frameworks/Python.framework/Versions/3.10/bin/pytago
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.10/bin/pytago", line 5, in <module>
    from pytago.cmd import main
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pytago/__init__.py", line 1, in <module>
    from pytago.core import *
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pytago/core.py", line 3, in <module>
    from pytago import go_ast
ImportError: cannot import name 'go_ast' from partially initialized module 'pytago' (most likely due to a circular import) (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pytago/__init__.py)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
nottheswimmercommented, Jun 25, 2021

Also, in that example you gave I noticed this line causes the program to crash: print("%s != %s" % (left, right), file=sys.stderr) – I’ll have to look into that 😛

0reactions
nottheswimmercommented, Jun 25, 2021

I think I know why the cast to int results in a crash. Later tonight I’ll try to get out a patch for that (I plan on working on randomness this evening so I’ll need to fix that anyway).

Read more comments on GitHub >

github_iconTop Results From Across the Web

macOS Big Sur on the Mac App Store
macOS Big Sur elevates the world's most advanced desktop operating system to a new level of power and beauty. Experience Mac to the...
Read more >
macOS Big Sur
macOS Big Sur (version 11) is the seventeenth major release of macOS, Apple Inc.'s operating system for Macintosh computers. It was announced at...
Read more >
macOS Big Sur: Features and Tips, Available Now!
macOS Big Sur is the version of Apple's macOS operating system introduced in 2020 with a redesigned look, new Control Center, Safari updates, ......
Read more >
macOS Big Sur: What you need to know
Apple revealed that macOS Big Sur is officially version 11 of the operating system. It marks the end of version 10, which was...
Read more >
macOS Big Sur preview: Five things you should know ...
Apple first introduced macOS Big Sur back in June, lauding it with all the usual flowery language. The OS ushers in a new...
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