Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

conda env create -f environment.yml error on MacBook Air M1, cannot create catalyst environment #584

Open
tasdemirbahadir opened this issue Jun 27, 2021 · 0 comments

Comments

@tasdemirbahadir
Copy link

Dear Catalyst Maintainers,

Before I tell you about my issue, let me describe my environment:

Environment

  • Operating System: MacOS Big SUR 11.2.2 (Macbook Air M1)
  • Python Version: Python 3.6.13 :: Anaconda, Inc.
  • Python Bitness: 64
  • How did you install Catalyst: trying with conda but cant achieve it
  • Python packages:

aiodns==2.0.0
aiohttp==3.7.4.post0
async-timeout==3.0.1
attrs==21.2.0
ccxt==1.51.73
certifi==2021.5.30
cffi==1.14.5
chardet==4.0.0
cryptography==3.4.7
cvxpy==1.1.13
ecos==2.0.7.post1
idna==2.10
idna-ssl==1.1.0
multidict==5.1.0
numpy==1.19.5
osqp==0.6.2.post0
pycares==4.0.0
pycparser==2.20
python-snappy==0.6.0
qdldl==0.1.5.post0
requests==2.25.1
scipy==1.5.4
scs==2.1.4
typing==3.7.4.3
typing-extensions==3.10.0.0
urllib3==1.26.5
yarl==1.6.3

Now that you know a little about me, let me tell you about the issue I am
having:

When I run 'conda env create -f environment.yml' with this env file: https://github.com/enigmampc/catalyst/blob/master/etc/python3.6-environment.yml

First, it says 'ccxt version not found'
Then I change the version to 1.18.1
This time, it gives the following error:

'gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/bahadirtasdemir/opt/anaconda3/envs/catalyst/include -arch x86_64 -I/Users/bahadirtasdemir/opt/anaconda3/envs/catalyst/include -arch x86_64 -DHAVE_LZ4=1 -DHAVE_SNAPPY=1 -DHAVE_ZLIB=1 -DHAVE_ZSTD=1 -Ibcolz -Ic-blosc/blosc -Ic-blosc/internal-complibs/zstd-1.3.4 -Ic-blosc/internal-complibs/lz4-1.8.1.2 -Ic-blosc/internal-complibs/snappy-1.1.1 -Ic-blosc/internal-complibs/zlib-1.2.8 -Ic-blosc/internal-complibs/zstd-1.3.4/compress -Ic-blosc/internal-complibs/zstd-1.3.4/dictBuilder -Ic-blosc/internal-complibs/zstd-1.3.4/decompress -Ic-blosc/internal-complibs/zstd-1.3.4/legacy -Ic-blosc/internal-complibs/zstd-1.3.4/common -Ic-blosc/internal-complibs/zstd-1.3.4/dll -Ic-blosc/internal-complibs/zstd-1.3.4/deprecated -I/Users/bahadirtasdemir/opt/anaconda3/envs/catalyst/lib/python3.6/site-packages/numpy/core/include -I/Users/bahadirtasdemir/opt/anaconda3/envs/catalyst/include/python3.6m -c c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.cc -o build/temp.macosx-10.7-x86_64-3.6/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.o -DSHUFFLE_SSE2_ENABLED -msse2
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.cc:29:10: fatal error: 'algorithm' file not found
#include
^~~~~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
'

I tried to install xcode, change the version of the numpy but this time all pip packages start to conflict with each other.
Could you please help me, I just couldn't successfully create the environment.
Thanks in advance.

Sincerely,
Bahadir Tasdemir
btasdemir.com
bahadir.tasdemir@hotmail.com.tr

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant