You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 2.7 is EOL and becoming harder to support for old apps. I was unable to get install.sh to work with the "default" klippy-env at all - it was impossible to get scipy to install under Python 2.7.
You should recommend to users that they upgrade to Python 3 (use a tool like kaiuh or simply remove klippy-env and replace it using virtualenv). Alternatively, provide instructions to users on where to get a version of numpy and scipy that will work with Python 2.7 (I was unable to find one).
The second change is the install.sh for the beacon. Source the activate script to activate the virtual enviroment, then use pip without the full path to update the environment. The current implementation is terribly hard to work with and likely to cause problems (regardless of whether it ever happened to work).
Ex.
KDIR="${HOME}/klipper"
KENV="${HOME}/klippy-env"
. ${KENV}/bin/activate
...
# install beacon requirements to env
echo "beacon: installing python requirements to env, this may take 10+ minutes."
"pip" install -r "${BKDIR}/requirements.txt"
The text was updated successfully, but these errors were encountered:
Python 2.7 is EOL and becoming harder to support for old apps. I was unable to get install.sh to work with the "default" klippy-env at all - it was impossible to get scipy to install under Python 2.7.
You should recommend to users that they upgrade to Python 3 (use a tool like kaiuh or simply remove klippy-env and replace it using virtualenv). Alternatively, provide instructions to users on where to get a version of numpy and scipy that will work with Python 2.7 (I was unable to find one).
The second change is the
install.sh
for the beacon. Source theactivate
script to activate the virtual enviroment, then use pip without the full path to update the environment. The current implementation is terribly hard to work with and likely to cause problems (regardless of whether it ever happened to work).Ex.
The text was updated successfully, but these errors were encountered: