Created
November 30, 2018 07:32
-
-
Save shaybensasson/76a036b8b9e21c4f7b68cea0c8269bf8 to your computer and use it in GitHub Desktop.
VirtualEnv Remote Interpreter script for Pycharm Professional Windows Client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #DL cuda stuff | |
| export PATH=/usr/local/cuda/bin${PATH:+:${PATH}} | |
| export CUDA_HOME=/usr/local/cuda | |
| export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} | |
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/extras/CUPTI/lib64 | |
| # if virtualenvwrapper.sh is in your PATH (i.e. installed with pip) | |
| source /usr/local/bin/virtualenvwrapper_py3.sh | |
| #source /path/to/virtualenvwrapper.sh # if it's not in your PATH | |
| workon quadcopter | |
| HOME_DIR=/home/shay | |
| #echo "$HOME_DIR" | |
| python3 "$@" | |
| deactivate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment