Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77463542
pip3.6
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Aug 14, 15:34
Size
945 B
Mime Type
text/x-shellscript
Expires
Fri, Aug 16, 15:34 (2 d)
Engine
blob
Format
Raw Data
Handle
19870186
Attached To
R12820 MSE-209:phénomènes_de_transfert_en_science_des_matériaux.
pip3.6
View Options
#!/bin/bash
for p in $(echo '/usr/local/bin/pip3' '/usr/bin/pip3' '/usr/local/bin/pip' '/usr/bin/pip'); do
if [[ -r $p ]]; then
real_pip=$p
break
fi
done
if [ $(id -u) = 0 ]; then
eval $real_pip $@
exit $?
else
case $1 in
list|--version|--help|-V|-h)
eval $real_pip $@
exit $?
;;
*)
echo "Do not use $(basename $0) without activating a virtual environment first!" 1>&2
echo "Otherwise, you might break your default Python environment and not be able to start Jupyter again." 1>&2
echo "Check the Documentation on how to deal with virtual environments:" 1>&2
echo "🗀 / Documentation / 10_Envs_and_kernels.ipynb" 1>&2
exit 1
;;
esac
fi
# EOF
Event Timeline
Log In to Comment