顯示廣告
隱藏 ✕
看板 uefacool
作者 uefangsmith (真假有無)
標題 [Python] Python Note
時間 2024-07-17 Wed. 20:40:42


##Anaconda Download
https://www.anaconda.com/download/success

##建立TensorFlow的Virtual Env
conda create -n tensorflowenv(虛擬名稱) python=3.10 anaconda

截至2024年,TensorFlow 2.13.0 支持以下Python版本:
Python 3.7
Python 3.8
Python 3.9
Python 3.10

安裝完會占用1~1.5GB,Path: C:\User\電腦名稱\AppData\Local\conda\conda\envs\tensorflowenv(虛擬名稱)

#切換到tensorflowenv虛擬環境
activate tensorflowenv

#關閉虛擬環境
deactivate

#安裝Tensorflow(分為一般版本和GPU版)
pip install tensorflow  #需再tensorflowenv Virtual環境執行

#安裝Keras
pip install keras

#台灣股市資訊模組: twstock
pip install twstock


#Install PIP
http://pip.readthedocs.io/en/latest/installing/

#Install Django
https://www.djangoproject.com/download/
ps: For Windows command, python -m pip install Django==1.11.3
------
Requirement already satisfied: Django==1.11.3 in c:\python27\lib\site-packages
Requirement already satisfied: pytz in c:\python27\lib\site-packages (from Django==1.11.3)
-------


#python django-admin.py startproject mysite
This is what worked for me: I already had c:\python27 and c:\python27\Scripts in PATH.
Copy django-admin.py and django-admin-script.py from c:\python27\Scripts to your desired folder
with cmd go to that folder and run > django-admin startproject mysite
※ 編輯: uefangsmith 時間: 2024-07-23 20:07:16 (台灣)
※ 看板: uefacool 文章推薦值: 0 目前人氣: 0 累積人氣: 5 
guest
x)推文 r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇
看板名稱: 確定(Enter) 取消(Esc) 搜尋(Space)
查詢帳號: 確定(Enter) 取消(Esc) 搜尋(Space)
搜尋: m)m文 b)進板 c)未分類 a)作者 /)標題 q)取消?[q]

搜尋 送出(Enter) 取消(Esc)

回覆文章至: f)看板 m)作者信箱 b)兩者皆是 q)取消?[f]
要引用原文嗎? y)引用原文 n)不引用 a)全部回覆 r)複製原文 q)取消?[y]
轉錄本文章於看板: 1)使用連結 2)使用複製 q)取消 ?[1]
轉寄至站內信箱於使用者: 確定(Enter) 取消(Esc)
轉寄至站內信箱於使用者: 確定(Enter) 取消(Esc)
修改文章標題為: 確定(Enter) 取消(Esc)
修改文章標題為: 確定(Enter) 取消(Esc) 全部(a)

確定要刪除這篇文章?(可按大U救回) 確定(Enter) 取消(Esc)

刪除理由:

確定(Enter) 取消(Esc)
加到這個分類: 確定(Enter) 下一層(→) 回上層(←) 取消(Esc)
你覺得這篇文章: 1)真讚 2)真瞎 q)取消?[1] (再選一次即可收回)
你覺得這篇文章: 1)值得推薦 2)表示反對 3)單純註解 q)取消?[3]
guest
預覽(Enter) 取消(Esc)
上傳圖片
按ctrl+Enter可輸入下一行。
guest
確定要送出? 確定(Enter) 取消(Esc) 繼續(e)
搜尋: 送出(Enter) 取消(Esc)

▏▎▍▌▋▊▉ 請按任意鍵繼續