First of all, thanks a lot for this library, it's been making my life so much easier for the last few months.
I'm having troubles, however, installing the version 1.12 on an AWS EC2 instance. I get the same error when I include this as a requirement for a docker image. This is the action (first line) and the log (with the error(s) in bold):
What's more confusing to me is I have no problem installing this version on my local machine (macOS Sierra 10.12.6), or when installing the newest version 2.0 into the cloud instance. However, I do want to use the older 1.12 version because the coin pairs I'm trading are not supported in Sandbox yet.
I'm completely lost at this point. Do you know what I'm missing here? I'd really appreciate it.
First of all, thanks a lot for this library, it's been making my life so much easier for the last few months.
I'm having troubles, however, installing the version 1.12 on an AWS EC2 instance. I get the same error when I include this as a requirement for a docker image. This is the action (first line) and the log (with the error(s) in bold):
$ pip3 install python-kucoin==0.1.12 --force-reinstall --user
Collecting python-kucoin==0.1.12 Using cached https://files.pythonhosted.org/packages/3d/42/dbb7c8db12ee96b2f35d3ddd28240a014226eca4b2e5938b422dd9e51ab1/python_kucoin-0.1.12-py2.py3-none-any.whl Collecting dateparser (from python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/a0/30/5cb8bb214c0b111fb59137c2e19c636a136209dbe45e1c3e9d63f7a76c1a/dateparser-0.7.1-py2.py3-none-any.whl Collecting requests (from python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl Collecting python-dateutil (from dateparser->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl Collecting pytz (from dateparser->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl Collecting tzlocal (from dateparser->python-kucoin==0.1.12) Collecting regex (from dateparser->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/8e/2d/812284cdc6376ce49f6a434ca70229c285ffca672040434d2221654c62ce/regex-2019.02.07.tar.gz Collecting chardet<3.1.0,>=3.0.2 (from requests->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl Collecting urllib3<1.25,>=1.21.1 (from requests->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl Collecting idna<2.9,>=2.5 (from requests->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl Collecting certifi>=2017.4.17 (from requests->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl Collecting six>=1.5 (from python-dateutil->dateparser->python-kucoin==0.1.12) Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Building wheels for collected packages: regex Building wheel for regex (setup.py) ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-0h_6kzjj/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-jacqvg7j --python-tag cp36: /usr/lib/python3.6/dist-packages/setuptools/dist.py:341: UserWarning: Normalizing '2019.02.07' to '2019.2.7' normalized_version, running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.6 copying regex_3/regex.py -> build/lib.linux-x86_64-3.6 copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6 copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6 running build_ext building '_regex' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/regex_3 gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1
Failed building wheel for regex Running setup.py clean for regex Failed to build regex Installing collected packages: six, python-dateutil, pytz, tzlocal, regex, dateparser, chardet, urllib3, idna, certifi, requests, python-kucoin Found existing installation: six 1.12.0 Uninstalling six-1.12.0: Successfully uninstalled six-1.12.0 Found existing installation: python-dateutil 2.8.0 Uninstalling python-dateutil-2.8.0: Successfully uninstalled python-dateutil-2.8.0 Found existing installation: pytz 2018.9 Uninstalling pytz-2018.9: Successfully uninstalled pytz-2018.9 Found existing installation: tzlocal 1.5.1 Uninstalling tzlocal-1.5.1: Successfully uninstalled tzlocal-1.5.1 Running setup.py install for regex ... error Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-0h_6kzjj/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-zc7_c5le/install-record.txt --single-version-externally-managed --compile --user --prefix=: /usr/lib/python3.6/dist-packages/setuptools/dist.py:341: UserWarning: Normalizing '2019.02.07' to '2019.2.7' normalized_version, running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 copying regex_3/regex.py -> build/lib.linux-x86_64-3.6 copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.6 copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.6 running build_ext building '_regex' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/regex_3 gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.6/regex_3/_regex.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-0h_6kzjj/regex/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-zc7_c5le/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-0h_6kzjj/regex/
What's more confusing to me is I have no problem installing this version on my local machine (macOS Sierra 10.12.6), or when installing the newest version 2.0 into the cloud instance. However, I do want to use the older 1.12 version because the coin pairs I'm trading are not supported in Sandbox yet.
I'm completely lost at this point. Do you know what I'm missing here? I'd really appreciate it.