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.

Python 3.7 failing in `npm run check`

See original GitHub issue

Specs

  • Leon version: Master 360d1020c4bd8bf1df3764645c635c64e0364702
  • OS (or browser) version: Linux 4.4.0-140-generic
  • Node.js version: node --version -> v11.1.0
  • Complete “npm run check” output:
╰─➤  npm run check

> leon@1.0.0-beta.0 check /mnt/storage0/overminddl1/leon/leon
> babel-node scripts/run-check.js

⠋
---

.: CHECKING :.

➡ /bin/sh -c node --version
✔ v11.1.0

➡ /bin/sh -c npm --version
✔ 6.4.1

➡ /bin/sh -c pipenv --version
✔ pipenv, version 2018.11.26

✖ Error: Command failed: /bin/sh -c pipenv run python --version
Warning: Python 3.6 was not found on your system…
You can specify specific versions of Python with:
  $ pipenv --python path/to/python

And yet running that command manually:

╰─➤  /bin/sh -c 'pipenv run python --version'
Loading .env environment variables…
Python 3.7.2

Expected Behavior

Python 3.7 should work. Downgrading the system version is… not safe.

Actual Behavior

npm run check is failing the python check.

How Do We Reproduce?

Use the updated version of python.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
louistiticommented, Feb 12, 2019

Hello @OvermindDL1,

Thanks for your issue. Today Leon must have Python 3.6 to work. For a future Leon’s version, Python will anyway be upgraded to the latest Python version on that moment.

I added it to this roadmap card.

1reaction
louistiticommented, Feb 15, 2019

As you already noticed there is a PR for Docker file #9.

Alright, I will close this issue then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After `npm install` an error about a syntax error in python ...
Any error that points to a syntax error while executing python code is due to the version of python (python v3 ...
Read more >
Error when running npm install - Progress Community
The error makes install of node-sass fail. Steps to Reproduce. Go to root of resource package in command prompt Run npm ...
Read more >
Problem with npm install and wrong python path #34648
I'm having an issue with instalation of ANY module/package using npm install. As during installation npx is trying to verify python3 path, but...
Read more >
What's New In Python 3.8 — Python 3.11.1 documentation
To support both 3.8 and older, try python3-config --libs --embed first and fallback to python3-config --libs (without --embed ) if the previous command...
Read more >
Npm install error related to python - M220JS - MongoDB
I tried running 'npm start' regardless of the errors, but no luck there. ... MongoNetworkError: failed to connect to server ... Python 3.7.3...
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