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.

Invalid Python version

See original GitHub issue

Hi,

Just trying out the plugin, which looks like an interesting approach. I am trying with

        python {
            version "3.6.4"

but getting Error:Cause: debug: invalid Python version '3.6.4'. Available versions are [2.7.10]. Does this mean that only Python 2 is supported? Based on #1 and #2, I’d believe that Python 3 is supported. Or am I misunderstanding this setting?

If I put “2.7.10”, then the error is “could not resolve com.chaquo.python:target:2.7.10-2”.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mhsmithcommented, Mar 3, 2018

Aha, thanks, I’ll reword that to stop anyone else doing the same thing.

0reactions
alensiljakcommented, Mar 3, 2018

Oh, I see. I was reading the instructions under the Basic Setup For a minimal example, see chaquopy-hello, a Python version of the Android Studio “Empty Activity” app template. For a more complete example, see the demo app. Then I checked the example at https://github.com/chaquo/chaquopy-hello, the marked commit that shows the differences, and copied the parts that referred to Chaquopy to my existing project. Oops! Sorry for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid Python Version on TestStand in Configure Python Step
I have just installed the Python Step Types for TestStand. When I try to configure a Python Step, TestStand throw me the following...
Read more >
Invalid Syntax in Python: Common Reasons for SyntaxError
In this step-by-step tutorial, you'll see common examples of invalid syntax in Python and learn how to resolve the issue. If you've ever...
Read more >
Pants unable to bootstrap because Invalid Python interpreter ...
I do have Python 3.9.9 installed via asdf and activated for the sub-directory in question. $ python --version Python 3.9.9. Moreover, my ...
Read more >
Configure a Python interpreter | PyCharm Documentation
If PyCharm displays the Invalid environment warning, it means that the specified Python binary cannot be found in the file system, or the...
Read more >
Invalid version number error with Python - Code Yarns
It turns out that package version number has to be in the x.y.z format. Else Python throws this error. Since I had the...
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