Closed Sansohasarabjit closed 2 years ago
I guess it's supposed to work from Anaconda environment and you're trying it from Windows command line.
Yes, I'm trying it through windows
On Fri, Feb 18, 2022, 9:39 PM Alexander Trufanov @.***> wrote:
I guess it's supposed to work from Anaconda environment and you're trying it from Windows machine.
— Reply to this email directly, view it on GitHub https://github.com/mrjbq7/ta-lib/issues/501#issuecomment-1044766367, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXUH6MTK5DFC6LY6VCUWDKTU3ZVMRANCNFSM5OYKREUQ . 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.
You are receiving this because you authored the thread.Message ID: @.***>
I was installed on my Mac M1, When I used Anaconda Jupyter notebook was can't import talib
In a very first line you got wget: command not found
. It means wget
(a command line utility for non-interactive download of files from the Web) isn't installed.
Execute
!apt-get update
!apt-get install wget
beforehand.
command ont found
Ok, I tried it online and realized that current JupyterLite is now coming with Pyolite kernel only, which is not supporting the background processes so ta-lib installation into notebook on jupyter.com is currently not possible.
But you seems to have an own locally installed Notebook with ipykernel, so it should be able to execute commands in a shell.
The problem is that your system is Mac, so you need the install instructions for Mac. The apt
stuff is for Linux machine. I never tried to install TA-Lib on Mac via JupyterNotebook, but I guess it should work. Execute in Notebook (this need to be done only once):
!brew install ta-lib
!export TA_INCLUDE_PATH="$(brew --prefix ta-lib)/include"
!export TA_LIBRARY_PATH="$(brew --prefix ta-lib)/lib"
!pip install ta-lib
Check if the output is ok. Then restart the Jupyter Notebook and try to import talib module.
Closing all installation issues, if someone has a specific problem please open a new one.
(new.env) C:\Windows\system32>pip install -i https://pypi.anaconda.org/masdeseiscaracteres/simple ta-lib WARNING: Ignoring invalid distribution -quests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -equests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -quests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -equests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) Looking in indexes: https://pypi.anaconda.org/masdeseiscaracteres/simple ERROR: Could not find a version that satisfies the requirement ta-lib (from versions: none) ERROR: No matching distribution found for ta-lib WARNING: Ignoring invalid distribution -quests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -equests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -quests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -equests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -quests (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\programdata\anaconda3\envs\new.env\lib\site-packages) WARNING: Ignoring invalid distribution -equests (c:\programdata\anaconda3\envs\new.env\lib\site-packages)