arleigh418 / python-and-Taiwan-stock-market

Python 金融市場賺大錢聖經:寫出你的專屬指標
59 stars 19 forks source link

No module named 'Crypto' after install Crypto through "pip install Crypto". #16

Open nicolast0604 opened 2 years ago

nicolast0604 commented 2 years ago

(env) D:\python-and-Taiwan-stock-market\Trading>python 1_buy_follow_corp.py Traceback (most recent call last): File "D:\python-and-Taiwan-stock-market\Trading\1_buy_follow_corp.py", line 4, in import utility_f as uf File "D:\python-and-Taiwan-stock-market\Trading\utility_f.py", line 10, in from AES_Encryption.encrype_process import File "D:\python-and-Taiwan-stock-market\Trading\AES_Encryption\encrype_process.py", line 2, in from AES_Encryption.en_decrype import File "D:\python-and-Taiwan-stock-market\Trading\AES_Encryption\en_decrype.py", line 1, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'

arleigh418 commented 2 years ago

Hi, Thanks for your question. please check part3.5 (page 3-79), not install Crypto package.