Python 3.7 failing in `npm run check`
See original GitHub issueSpecs
- 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:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top 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 >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
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.
As you already noticed there is a PR for Docker file #9.
Alright, I will close this issue then.