看板 uefacool
作者 標題 [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
回列表(←)
分享