{"action":"created","issue":{"url":"https://api.github.com/repos/mrjbq7/ta-lib/issues/179","repository_url":"https://api.github.com/repos/mrjbq7/ta-lib","labels_url":"https://api.github.com/repos/mrjbq7/ta-lib/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/mrjbq7/ta-lib/issues/179/comments","events_url":"https://api.github.com/repos/mrjbq7/ta-lib/issues/179/events","html_url":"https://github.com/mrjbq7/ta-lib/issues/179","id":294159411,"number":179,"title":"TA lib installs from pip but not from github setup.py, but from pip does have some error.. ","user":{"login":"ntom","id":2593285,"avatar_url":"https://avatars2.githubusercontent.com/u/2593285?v=4","gravatar_id":"","url":"https://api.github.com/users/ntom","html_url":"https://github.com/ntom","followers_url":"https://api.github.com/users/ntom/followers","following_url":"https://api.github.com/users/ntom/following{/other_user}","gists_url":"https://api.github.com/users/ntom/gists{/gist_id}","starred_url":"https://api.github.com/users/ntom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntom/subscriptions","organizations_url":"https://api.github.com/users/ntom/orgs","repos_url":"https://api.github.com/users/ntom/repos","events_url":"https://api.github.com/users/ntom/events{/privacy}","received_events_url":"https://api.github.com/users/ntom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-04T01:00:59Z","updated_at":"2018-02-15T03:39:26Z","closed_at":null,"author_association":"NONE","body":"Hi @mrjbq7 ,\r\n\r\nThanks for your work on this, I'm just reporting back on some errors / weird behaviour i noticed when trying to install ta-lib via the github repo and also when installing via pip.\r\n\r\nI am running ubuntu 16.04 LTS on a x64 machine using pyenv.  \r\n\r\nI have downloaded the ta-lib-0.4.0-src.tar.gz along with some `configure --prefix=\"/usr\"... make.. sudo make install`...  no issues, nothing to report.   \r\n   \r\nThen i clone the github repo and `python3.6 setup.py install`   again... nothing to report, no errors. nothing.  \r\n  \r\nThen i test its installed `pip3.6 show ta-lib` .. reports back fine... version 0.4.16 etc location `/home/username/.pyenv/versions/3.6.4/lib/python3.6/site-packages`  (as u can see i'm running pyenv.  \r\nSo everythings fine.\r\n\r\nThen I go for a little check with `python3.6 -c \"import talib\"` .. now this is where I come across my first issue...  \r\n```python\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/home/username/Downloads/ta-lib-github/talib/__init__.py\", line 4, in <module>\r\n    from ._ta_lib import (\r\nModuleNotFoundError: No module named 'talib._ta_lib'\r\n```\r\nSo I think to myself, hmm, thats odd, lets retry without using the github source code..   \r\nSo I remove it with `pip3.6 uninstall ta-lib` which reports back `Successfully uninstalled TA-Lib-0.4.16`.\r\nI do a quick test with `pip3.6 show ta-lib`, and yeah, all done. Gone. \r\n\r\n-- \r\n\r\nSo, i try reinstalling with the classic `pip3.6 install TA-Lib` ... here i get some more errors...\r\n\r\n```python\r\n  running install_scripts\r\n  Traceback (most recent call last):\r\n    File \"<string>\", line 1, in <module>\r\n    File \"/tmp/pip-build-yejoz3bc/TA-Lib/setup.py\", line 130, in <module>\r\n      install_requires = ['numpy'],\r\n    File \"/home/username/.pyenv/versions/3.6.4/lib/python3.6/distutils/core.py\", line 148, in setup\r\n      dist.run_commands()\r\n    File \"/home/username/.pyenv/versions/3.6.4/lib/python3.6/distutils/dist.py\", line 955, in run_commands\r\n      self.run_command(cmd)\r\n    File \"/home/username/.pyenv/versions/3.6.4/lib/python3.6/distutils/dist.py\", line 974, in run_command\r\n      cmd_obj.run()\r\n    File \"/home/username/.pyenv/versions/3.6.4/lib/python3.6/site-packages/wheel/bdist_wheel.py\", line 213, in run\r\n      archive_basename = self.get_archive_basename()\r\n    File \"/home/username/.pyenv/versions/3.6.4/lib/python3.6/site-packages/wheel/bdist_wheel.py\", line 161, in get_archive_basename\r\n      impl_tag, abi_tag, plat_tag = self.get_tag()\r\n    File \"/home/username/.pyenv/versions/3.6.4/lib/python3.6/site-packages/wheel/bdist_wheel.py\", line 155, in get_tag\r\n      assert tag == supported_tags[0]\r\n  AssertionError\r\n  \r\n  ----------------------------------------\r\n  Failed building wheel for TA-Lib\r\n  Running setup.py clean for TA-Lib\r\nFailed to build TA-Lib\r\nInstalling collected packages: TA-Lib\r\n  Running setup.py install for TA-Lib ... done\r\nSuccessfully installed TA-Lib-0.4.16\r\n```\r\n\r\nOkay.. I got some weird ass error... but it did say it was installed.. again.. `pip3.6 show ta-lib` shows its installed, version 0.4.16.... lets test it on python... `python3.6 -c 'import talib'` and boom. It works.\r\n\r\nSo... some pretty weird ass strange behaviour... \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mrjbq7/ta-lib/issues/comments/365817264","html_url":"https://github.com/mrjbq7/ta-lib/issues/179#issuecomment-365817264","issue_url":"https://api.github.com/repos/mrjbq7/ta-lib/issues/179","id":365817264,"user":{"login":"ntom","id":2593285,"avatar_url":"https://avatars2.githubusercontent.com/u/2593285?v=4","gravatar_id":"","url":"https://api.github.com/users/ntom","html_url":"https://github.com/ntom","followers_url":"https://api.github.com/users/ntom/followers","following_url":"https://api.github.com/users/ntom/following{/other_user}","gists_url":"https://api.github.com/users/ntom/gists{/gist_id}","starred_url":"https://api.github.com/users/ntom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntom/subscriptions","organizations_url":"https://api.github.com/users/ntom/orgs","repos_url":"https://api.github.com/users/ntom/repos","events_url":"https://api.github.com/users/ntom/events{/privacy}","received_events_url":"https://api.github.com/users/ntom/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T03:39:26Z","updated_at":"2018-02-15T03:39:26Z","author_association":"NONE","body":"Maybe we just close this issue call it a day, i mean we did good diagnosis and someone else may google and find it in the future and can reference it or build on it etc ? "}}
{"actor":{"display_login":"ntom"}}