roshie548 / firelight

An open source bias lighting program which syncs up colored lights to the contents of your screen.
MIT License
25 stars 2 forks source link

'firelight lifx' command not executing on Windows 10 BOOTCAMP after successful install. #2

Closed rohitmitt closed 2 years ago

rohitmitt commented 2 years ago

firelight lifx command results in error 'firelight' is not recognized as an internal or external command, operable program or batch file.

Successful installation verified with following pip commands:

pip show firelight-lighting

C:\Users\17274>pip show firelight-lighting
Name: firelight-lighting
Version: 1.0.1
Summary: Sync up colored lights to the contents of your screen.
Home-page: https://github.com/roshie548/firelight
Author: Roshan Kumaraswamy
Author-email: rkumaraswamy@berkeley.edu
License: UNKNOWN
Location: c:\users\17274\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages
Requires: lifxlan, mss, numpy, scipy
Required-by:

and

pip-list

Package            Version
------------------ -------
bitstring          3.1.9
firelight-lighting 1.0.1
ifaddr             0.2.0
lifxlan            1.2.7
mss                6.1.0
numpy              1.22.4
openrgb-python     0.2.15
pip                22.1.2
scipy              1.8.1
rohitmitt commented 2 years ago

So, I was able to install "lifx-control-panel" which has a feature that detects my screen's average or dominant color and relays that information to my LIFx bulb. I can confirm that it is working. I'm still unsure why the dependencies are successfully installing for Firelight but not being able to open or run.

rohitmitt commented 2 years ago

Solution: In Windows 10, you need to locate the directory where you installed firelight (should be shown in CMD when installing).

Then, back into Python310 folder that contains the install location

1

and find Python310\Scripts

2

Copy the full directory location for Python310\Scripts and add it to your PATH directory. In my case, I had to replace my PATH with it otherwise the command 'firelight lifx' wouldn't be recognized.

Here is a link on how to add to your directory: https://gist.github.com/nex3/c395b2f8fd4b02068be37c961301caa7

rohitmitt commented 2 years ago

Thanks to roshie548 for helping me resolve the issue. It was impressive how quick he figured out what was wrong,