INVESTAR / StockAnalysisInPython

456 stars 413 forks source link

2장관련문의: pyvenv.cfg파일이 형성이 안될떄는 어떻게 해야 하나요? #116

Open hsollc opened 2 years ago

hsollc commented 2 years ago

책을 늦게 구입하여 열심히 공부하고 있습니다. 그런데 현재 2장을 하고 있는데 python -m venv Py397_32를 실행하면 py397_32다렉토리와 pyvenv.cfg가 생성이 안됩니다. 이 경우는 어떻게 해야 하나요?

INVESTAR commented 2 years ago

py397_32 디렉토리와 pyvenv.cfg 파일이 생성되지 못한 것으로 유추해 볼 때, 현재 디렉터리에 대해서 명령 프롬프트 또는 파이썬 프로세스가 충분한 권한이 갖고 있지 않은 것 같습니다. 명령 프롬프트를 실행하실 때 관리자 모드로 실행해 보시거나, 기존에 사용했던 디렉터리 대신 다른 디렉터리에서 python -m venv Py397_32를 실행해 보시기 바랍니다.

hsollc commented 2 years ago

말씀하신 대로 2가지 방법을 다 시도해보아도 여전히 안됩니다. 그러면 64비트 설치 때와 같이 32비트에도 customize installation 해볼까요? 아니면 버전 상의 문제일 수 있으니 3.8.0을 해 볼까요? 둘 다 시도해 보겠습니다. 그리고 주식 시세 부분에 대하여 네이버 파이낸스가 어려우면 KRX의 api를 이용하면 안되나요?

hsollc commented 2 years ago

감사합니다. 말씀하신대로 하였더니 생성이 된 것을 확인하였습니다. 죄송하지만 매도를 다음날 시가로 매도하는 것으로 코드를 바꾸는 방법이 없을까요? 초보여서 알수가 없어서요...좀 부탁드립니다. 감사합니다.

2021년 12월 5일 (일) 오후 8:30, HwangHoo Kim @.***>님이 작성:

py397_32 디렉토리와 pyvenv.cfg 파일이 생성되지 못한 것으로 유추해 볼 때, 현재 디렉터리에 대해서 명령 프롬프트 또는 파이썬 프로세스가 충분한 권한이 갖고 있지 않은 것 같습니다. 명령 프롬프트를 실행하실 때 관리자 모드로 실행해 보시거나, 기존에 사용했던 디렉터리 대신 다른 디렉터리에서 python -m venv Py397_32를 실행해 보시기 바랍니다.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/INVESTAR/StockAnalysisInPython/issues/116#issuecomment-986212800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWVSSSS2Q7E5CR6CSOSZUG3UPNENHANCNFSM5JMO2GCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

Richard SY KIM, Esq. Hansong On-Line Legal Center(HS OLLC) Online Project-based Consortium Premium Law Firm 20th Floor, BuyoungTaepyeong Building Sejongdaero55, Jungku Seoul 04513, Korea Tel:02-595-2755 E-mail @. @.> http://hsollc.modoo.at ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ This e-mail message contains confidential information, which may be attorney privileged or otherwise protected from disclosure, and is intended for the exclusive use of the person or entity named above. If you are not the intended recipient of this e-mail, you are hereby notified that the use, review, dissemination, storage or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify us immediately by telephone (by collect call) or e-mail and delete the electronic form of this message and destroy any copies thereof. If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.