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.

Installation issue - python as a dependency

See original GitHub issue

A fresh manual installation depends on python

Environment

  • I am using Node.js v10.x LTS or higher
  • npm install or yarn reports success
  • Actual Node.js version v10.16.3
  • Operating system: Ubuntu 18.04 in Windows Subsystem for Linux (WSL) - Windows 10
  • Revision 3ec6cfd

Expected behavior When running npm install, installation should complete as normal. However, python is an unlisted dependency and there should either be a check for python before installation or it should be in the documentation as a dependency.

Actual behavior npm install fails with gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

Steps to reproduce Fresh, minimal linux - follow the docs to install enigma-bbs manually without first installing python.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
davestephenscommented, Oct 2, 2019

Maybe we could put down pyenv as a dependency and force a specific version? Maybe a little heavy handed though as I’m not sure this has come up before?

On Tue, 1 Oct 2019, 16:28 Bryan Ashby, notifications@github.com wrote:

Python is a particularly sticky subject with some OS’s as it’s part of their core & accidentally installing a different flavor can be very bad. Will look into either way.

Side note: You may want to consider the 0.0.10-alpha branch vs current 0.0.9-alpha.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NuSkooler/enigma-bbs/issues/247?email_source=notifications&email_token=AAFDGMDCP4P3WI6AQESH7VTQMNUAFA5CNFSM4I4E6NM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABVYVA#issuecomment-537091156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFDGMC6KAI4HY6JJTDE5HTQMNUAFANCNFSM4I4E6NMQ .

0reactions
NuSkoolercommented, Sep 12, 2020

install.sh now checks for various compatible Python installations and prompts if it can’t find one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install Python dependencies in an application
Find Divio's how-to guide to installing Python dependencies in an app. The options described in this article are ready to cover most needs....
Read more >
Python Dependencies - Everything You Need to Know
Dependencies are defined in the install_requires section of setup.py files, and are automatically installed along with the packages that require ...
Read more >
Installing Python Modules — Python 3.11.1 documentation
The following command will install the latest version of a module and its dependencies from the Python Package Index: python -m pip install...
Read more >
pip install fails to install dependencies - python - Stack Overflow
I've created a built distribution wheel and uploaded it to testPyPI to see if everything is working with the upload and if the...
Read more >
Install Python dependencies | Cloud Composer - Google Cloud
Install a local Python library · Place the dependencies within a subdirectory in the dags/ folder in your environment's bucket. To import a...
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