Giter VIP home page Giter VIP logo

Comments (8)

arleigh418 avatar arleigh418 commented on June 7, 2024

Hi您好,根據您的問題,回答如下:

  1. 可以嘗試將requirement.txt檔案搬到比較單純的目錄在嘗試,就可以知道是路徑問題,還是環境問題。
    例如您可將他移到D:/requirement.txt,然後啟動虛擬環境後再執行該路徑的requirement.txt檔案安裝。
    只要虛擬環境有啟動,requirement.txt在哪裡都無所謂。

  2. 檢查一下您的key path與config path,將反斜線更改後再嘗試看看。\ -> /,另外建議是寫程式盡量養成好習慣是路徑盡量不要有中文,可以省去很多問題跟困擾。

以上,希望對您有幫助。

from python-and-taiwan-stock-market.

KKalleKK avatar KKalleKK commented on June 7, 2024

第二個問題,經過更改成全英文路徑及->/,問題可以有效的解決。
第一個問題,嘗試了 1.虛擬環境重新建立2.換到較簡單路徑仍有 以下"錯誤"。
但我發現我輸出的requirment.txt 跟您附的有不太一樣的型態,不知道是因為這樣導致的問題嗎?
image
image

from python-and-taiwan-stock-market.

arleigh418 avatar arleigh418 commented on June 7, 2024

您好, 您是anaconda嗎? 另外因為截圖不完全,有點難以判斷,希望能看到整體的錯誤或截圖,如果有隱私訊息請記得隱起來.

from python-and-taiwan-stock-market.

KKalleKK avatar KKalleKK commented on June 7, 2024

沒錯,我是使用anaconda 的spyder 在編輯。
image

from python-and-taiwan-stock-market.

arleigh418 avatar arleigh418 commented on June 7, 2024

您的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.

KKalleKK avatar KKalleKK commented on June 7, 2024

是使用pip freeze,但好像就會有那些位置或網址問題。謝謝你的耐心解說,我在去看看有沒有相關資料
。謝謝您。

from python-and-taiwan-stock-market.

arleigh418 avatar arleigh418 commented on June 7, 2024

如果還有問題歡迎隨時提出哦,很抱歉conda我實在是沒有使用經驗,不好憑記憶或感覺解說,擔心誤導.

from python-and-taiwan-stock-market.

KKalleKK avatar KKalleKK commented on June 7, 2024

去網路上尋找遇到相同問題的人不多,之後看看會不會有更新的資訊。

from python-and-taiwan-stock-market.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.