Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F83466648
pip3.8
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
Tue, Sep 17, 07:21
Size
945 B
Mime Type
text/x-shellscript
Expires
Thu, Sep 19, 07:21 (2 d)
Engine
blob
Format
Raw Data
Handle
20841195
Attached To
R12820 MSE-209:phénomènes_de_transfert_en_science_des_matériaux.
pip3.8
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