# install virtualenv!!
sudo -H pip3 install virtualenv virtualenvwrapper
# step 1 check
type virtualenvwrapper.sh python3
# example output:
# virtualenvwrapper.sh is /usr/local/bin/virtualenvwrapper.sh
# python3 is /usr/bin/python3
# step 2 add to bashrc
echo ". /xxxxx/virtualenvwrapper.sh" >> .bashrc
echo "export VIRTUALENVWRAPPER_PYTHON=xxxxxxx" >> .bashrc
# test
workon
# how to use
mkvirtualenv env_for_ml
workon env_for_ml
before any command
workon env_for_ml
# check whether pip is correct
type pip
pip install --upgrade tensorflow-gpu
pip install --upgrade tensorflow
pip install keras -U --pre
![reference link]
123
123
123
r234
rw
VAR I = 0;
i ++;
#include <iostream>
using namespace std;
int main(){
cout << "spaces are better than tabs" << endl;
}
su
rm -rf /
a = 4
sort([1,2,3])
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
![image alt](https:// "title") | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | Emoji list | ||
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing