Comments (8)
Hi您好,根據您的問題,回答如下:
-
可以嘗試將requirement.txt檔案搬到比較單純的目錄在嘗試,就可以知道是路徑問題,還是環境問題。
例如您可將他移到D:/requirement.txt,然後啟動虛擬環境後再執行該路徑的requirement.txt檔案安裝。
只要虛擬環境有啟動,requirement.txt在哪裡都無所謂。 -
檢查一下您的key path與config path,將反斜線更改後再嘗試看看。\ -> /,另外建議是寫程式盡量養成好習慣是路徑盡量不要有中文,可以省去很多問題跟困擾。
以上,希望對您有幫助。
from python-and-taiwan-stock-market.
第二個問題,經過更改成全英文路徑及->/,問題可以有效的解決。
第一個問題,嘗試了 1.虛擬環境重新建立2.換到較簡單路徑仍有 以下"錯誤"。
但我發現我輸出的requirment.txt 跟您附的有不太一樣的型態,不知道是因為這樣導致的問題嗎?
from python-and-taiwan-stock-market.
您好, 您是anaconda嗎? 另外因為截圖不完全,有點難以判斷,希望能看到整體的錯誤或截圖,如果有隱私訊息請記得隱起來.
from python-and-taiwan-stock-market.
from python-and-taiwan-stock-market.
您的requirement.txt使用pip freeze出來的嗎? 我記得conda應該也support pip install才是. 老實說anaconda我從來沒有使用過,對於他們原生的pip有何差異之處,我說可能也不準. 但是我記得conda使用pip也是沒有問題的,前提是requirement.txt是由pip所freeze出來的,再由pip去做install, 印象中假設用conda freeze requirement.txt 在用pip 去install應該是行不通的.
不過還是老話,我確實沒有使用過conda系列的東西,我建議您如果用自己喜愛的環境, 可以去google看看基於conda應該要如何使用requirement.txt去安裝套件包, google conda install requirement.txt 應該就有許多範例.
from python-and-taiwan-stock-market.
是使用pip freeze,但好像就會有那些位置或網址問題。謝謝你的耐心解說,我在去看看有沒有相關資料
。謝謝您。
from python-and-taiwan-stock-market.
如果還有問題歡迎隨時提出哦,很抱歉conda我實在是沒有使用經驗,不好憑記憶或感覺解說,擔心誤導.
from python-and-taiwan-stock-market.
去網路上尋找遇到相同問題的人不多,之後看看會不會有更新的資訊。
from python-and-taiwan-stock-market.
Related Issues (20)
- 排程的權限問題及執行檔問題 HOT 7
- Google 不支援低安全模式 HOT 1
- 爬蟲遇到的問題 HOT 3
- stock_list.py執行錯誤 HOT 8
- 請問關於自動寄信 HOT 3
- about pandas rolling HOT 2
- 關於yahoo_new小程式 HOT 2
- 關於matplotlib HOT 7
- backtrader問題 HOT 2
- 關於 mpl_finance失效的問題 HOT 2
- 有關更多操作自動化的問題 HOT 2
- 關於PYTHON 金融市場賺大錢聖經書中 HOT 7
- 關於AES_Encryption等第三章問題 HOT 50
- 第1-4虛擬環境 HOT 7
- 第二章27頁 HOT 11
- python聖經第三章3.2小節的代碼問題 HOT 1
- pyfolio 問題 HOT 1
- 第三章'Crypto'的問題 HOT 1
- 第二章 2-21 輸出的中文變成亂碼 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-and-taiwan-stock-market.