Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing awesome-streamlit in anaconda navigator #41

Closed
kashyapm94 opened this issue May 10, 2020 · 2 comments
Closed

Error installing awesome-streamlit in anaconda navigator #41

kashyapm94 opened this issue May 10, 2020 · 2 comments

Comments

@kashyapm94
Copy link

I installed anaconda navigator and created a new enviroment with Python version 3.8.2.

I launched the anaconda navigator prompt and did:

conda activate awesome-streamlit

Once the environment was activated, I changed to the directory to where awesome-streamlit is present and did:

(awesome-streamlit) C:\Users\kashy\OneDrive\Desktop\ediapp>pip install -r requirements.txt

Following which, I start getting the error:

(awesome-streamlit) C:\Users\kashy\OneDrive\Desktop\ediapp>pip install -r requirements.txt
Collecting streamlit==0.49.0
  Using cached streamlit-0.49.0-py2.py3-none-any.whl (5.1 MB)
Collecting invoke==1.3.0
  Using cached invoke-1.3.0-py3-none-any.whl (207 kB)
Collecting pandas==0.24.2
  Downloading pandas-0.24.2.tar.gz (11.8 MB)
     |████████████████████████████████| 11.8 MB 2.0 kB/s
Collecting xlrd==1.2.0
  Using cached xlrd-1.2.0-py2.py3-none-any.whl (103 kB)
Collecting pytest
  Using cached pytest-5.4.2-py3-none-any.whl (247 kB)
Collecting pytest-sugar
  Using cached pytest-sugar-0.9.3.tar.gz (12 kB)
Collecting pytest-mock
  Using cached pytest_mock-3.1.0-py2.py3-none-any.whl (10 kB)
Collecting pytest-cov
  Using cached pytest_cov-2.8.1-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: isort>=4.3.15 in c:\users\kashy\anaconda3\envs\awesome-streamlit\lib\site-packages (from -r ./requirements_base.txt (line 22)) (4.3.21)
Requirement already satisfied: pylint in c:\users\kashy\anaconda3\envs\awesome-streamlit\lib\site-packages (from -r ./requirements_base.txt (line 23)) (2.5.0)
Collecting pylint2junit
  Using cached pylint2junit-1.0.1-py3-none-any.whl (6.5 kB)
Collecting black
  Using cached black-19.10b0-py36-none-any.whl (97 kB)
Collecting autoflake
  Using cached autoflake-1.3.1.tar.gz (17 kB)
Collecting coverage
  Downloading coverage-5.1-cp38-cp38-win_amd64.whl (206 kB)
     |████████████████████████████████| 206 kB 2.2 MB/s
Collecting mypy
  Downloading mypy-0.770-cp38-cp38-win_amd64.whl (7.8 MB)
     |████████████████████████████████| 7.8 MB 3.3 MB/s
Collecting bandit
  Using cached bandit-1.6.2-py2.py3-none-any.whl (122 kB)
Collecting Sphinx==1.8.4
  Using cached Sphinx-1.8.4-py2.py3-none-any.whl (3.1 MB)
Collecting sphinx_rtd_theme
  Using cached sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB)
Collecting recommonmark
  Using cached recommonmark-0.6.0-py2.py3-none-any.whl (10 kB)
Collecting sphinx-autobuild
  Using cached sphinx-autobuild-0.7.1.tar.gz (14 kB)
Collecting doc8
  Using cached doc8-0.8.0-py2.py3-none-any.whl (19 kB)
Collecting spacy==2.2.1
  Downloading spacy-2.2.1.tar.gz (5.8 MB)
     |████████████████████████████████| 5.8 MB 218 kB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\python.exe' 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\kashy\AppData\Local\Temp\pip-build-env-q38svyds\normal' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel 'cymem<2.1.0,>=2.0.2' 'preshed<3.1.0,>=3.0.2' 'thinc<7.2.0,>=7.1.1' 'cython>=0.25' 'murmurhash<1.1.0,>=0.28.0'
       cwd: None
  Complete output (215 lines):
  Collecting wheel
    Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
  Collecting cymem<2.1.0,>=2.0.2
    Downloading cymem-2.0.3-cp38-cp38-win_amd64.whl (33 kB)
  Collecting preshed<3.1.0,>=3.0.2
    Downloading preshed-3.0.2-cp38-cp38-win_amd64.whl (115 kB)
  Collecting thinc<7.2.0,>=7.1.1
    Downloading thinc-7.1.1.tar.gz (1.9 MB)
  Collecting cython>=0.25
    Downloading Cython-0.29.17-cp38-cp38-win_amd64.whl (1.7 MB)
  Collecting murmurhash<1.1.0,>=0.28.0
    Downloading murmurhash-1.0.2-cp38-cp38-win_amd64.whl (20 kB)
  Collecting blis<0.5.0,>=0.4.0
    Downloading blis-0.4.1-cp38-cp38-win_amd64.whl (5.0 MB)
  Collecting wasabi<1.1.0,>=0.0.9
    Using cached wasabi-0.6.0-py3-none-any.whl (20 kB)
  Collecting srsly<1.1.0,>=0.0.6
    Downloading srsly-1.0.2-cp38-cp38-win_amd64.whl (181 kB)
  Collecting numpy>=1.7.0
    Downloading numpy-1.18.4-cp38-cp38-win_amd64.whl (12.8 MB)
  Collecting plac<1.0.0,>=0.9.6
    Using cached plac-0.9.6-py2.py3-none-any.whl (20 kB)
  Collecting tqdm<5.0.0,>=4.10.0
    Using cached tqdm-4.46.0-py2.py3-none-any.whl (63 kB)
  Building wheels for collected packages: thinc
    Building wheel for thinc (setup.py): started
    Building wheel for thinc (setup.py): finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-062p5m4u\\thinc\\setup.py'"'"'; __file__='"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-062p5m4u\\thinc\\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 'C:\Users\kashy\AppData\Local\Temp\pip-wheel-shptm3u2'
         cwd: C:\Users\kashy\AppData\Local\Temp\pip-install-062p5m4u\thinc\
    Complete output (166 lines):
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8
    creating build\lib.win-amd64-3.8\thinc
    copying thinc\about.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\api.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\check.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\compat.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\describe.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\exceptions.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\i2v.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\loss.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\misc.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\rates.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\t2t.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\t2v.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\v2v.py -> build\lib.win-amd64-3.8\thinc
    copying thinc\__init__.py -> build\lib.win-amd64-3.8\thinc
    creating build\lib.win-amd64-3.8\thinc\tests
    copying thinc\tests\conftest.py -> build\lib.win-amd64-3.8\thinc\tests
    copying thinc\tests\strategies.py -> build\lib.win-amd64-3.8\thinc\tests
    copying thinc\tests\test_api_funcs.py -> build\lib.win-amd64-3.8\thinc\tests
    copying thinc\tests\test_util.py -> build\lib.win-amd64-3.8\thinc\tests
    copying thinc\tests\util.py -> build\lib.win-amd64-3.8\thinc\tests
    copying thinc\tests\__init__.py -> build\lib.win-amd64-3.8\thinc\tests
    creating build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_about.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_affine.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_beam_search.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_check_exceptions.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_difference.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_feature_extracter.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_hash_embed.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_imports.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_linear.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_loss.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_mem.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_model.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_ops.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_pickle.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_pooling.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_pytorch_wrapper.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_rates.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\test_rnn.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    copying thinc\tests\unit\__init__.py -> build\lib.win-amd64-3.8\thinc\tests\unit
    creating build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_affine_learns.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_basic_tagger.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_batch_norm.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_feed_forward.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_mnist.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_pickle.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_roundtrip_bytes.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\test_shape_check.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    copying thinc\tests\integration\__init__.py -> build\lib.win-amd64-3.8\thinc\tests\integration
    creating build\lib.win-amd64-3.8\thinc\tests\linear
    copying thinc\tests\linear\test_avgtron.py -> build\lib.win-amd64-3.8\thinc\tests\linear
    copying thinc\tests\linear\test_linear.py -> build\lib.win-amd64-3.8\thinc\tests\linear
    copying thinc\tests\linear\test_sparse_array.py -> build\lib.win-amd64-3.8\thinc\tests\linear
    copying thinc\tests\linear\__init__.py -> build\lib.win-amd64-3.8\thinc\tests\linear
    creating build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\__init__.py -> build\lib.win-amd64-3.8\thinc\linear
    creating build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\mem.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\pooling.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\train.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\util.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\vec2vec.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\vecs2vec.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\vecs2vecs.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\_lsuv.py -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\__init__.py -> build\lib.win-amd64-3.8\thinc\neural
    creating build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\datasets.py -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\hpbff.py -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\load_nlp.py -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\visualizer.py -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\wrappers.py -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\__init__.py -> build\lib.win-amd64-3.8\thinc\extra
    creating build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\affine.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\attention.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\batchnorm.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\convolution.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\difference.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\elu.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\embed.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\encoder_decoder.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\feature_extracter.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\feed_forward.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\function_layer.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\hash_embed.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\layernorm.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\maxout.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\model.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\multiheaded_attention.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\relu.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\resnet.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\rnn.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\selu.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\softmax.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\static_vectors.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    copying thinc\neural\_classes\__init__.py -> build\lib.win-amd64-3.8\thinc\neural\_classes
    creating build\lib.win-amd64-3.8\thinc\extra\_vendorized
    copying thinc\extra\_vendorized\keras_datasets.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
    copying thinc\extra\_vendorized\keras_data_utils.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
    copying thinc\extra\_vendorized\keras_generic_utils.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
    copying thinc\extra\_vendorized\__init__.py -> build\lib.win-amd64-3.8\thinc\extra\_vendorized
    creating build\lib.win-amd64-3.8\thinc\extra\wrapt
    copying thinc\extra\wrapt\decorators.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
    copying thinc\extra\wrapt\importer.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
    copying thinc\extra\wrapt\wrappers.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
    copying thinc\extra\wrapt\__init__.py -> build\lib.win-amd64-3.8\thinc\extra\wrapt
    copying thinc\linalg.pyx -> build\lib.win-amd64-3.8\thinc
    copying thinc\structs.pyx -> build\lib.win-amd64-3.8\thinc
    copying thinc\typedefs.pyx -> build\lib.win-amd64-3.8\thinc
    copying thinc\cpu.pxd -> build\lib.win-amd64-3.8\thinc
    copying thinc\linalg.pxd -> build\lib.win-amd64-3.8\thinc
    copying thinc\structs.pxd -> build\lib.win-amd64-3.8\thinc
    copying thinc\typedefs.pxd -> build\lib.win-amd64-3.8\thinc
    copying thinc\__init__.pxd -> build\lib.win-amd64-3.8\thinc
    copying thinc\compile_time_constants.pxi -> build\lib.win-amd64-3.8\thinc
    copying thinc\linalg.cpp -> build\lib.win-amd64-3.8\thinc
    copying thinc\structs.cpp -> build\lib.win-amd64-3.8\thinc
    copying thinc\typedefs.cpp -> build\lib.win-amd64-3.8\thinc
    copying thinc\linear\avgtron.pyx -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\features.pyx -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\linear.pyx -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\serialize.pyx -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\sparse.pyx -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\avgtron.pxd -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\features.pxd -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\serialize.pxd -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\sparse.pxd -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\__init__.pxd -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\avgtron.cpp -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\features.cpp -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\linear.cpp -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\serialize.cpp -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\linear\sparse.cpp -> build\lib.win-amd64-3.8\thinc\linear
    copying thinc\neural\ops.pyx -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\optimizers.pyx -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\_aligned_alloc.pyx -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\cpu.pxd -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\ops.pxd -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\__init__.pxd -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\ops.cpp -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\optimizers.cpp -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\neural\_aligned_alloc.cpp -> build\lib.win-amd64-3.8\thinc\neural
    copying thinc\extra\cache.pyx -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\eg.pyx -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\mb.pyx -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\search.pyx -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\cache.pxd -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\eg.pxd -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\mb.pxd -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\search.pxd -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\__init__.pxd -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\cache.cpp -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\eg.cpp -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\mb.cpp -> build\lib.win-amd64-3.8\thinc\extra
    copying thinc\extra\search.cpp -> build\lib.win-amd64-3.8\thinc\extra
    running build_ext
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
    ERROR: Failed building wheel for thinc
    Running setup.py clean for thinc
  Failed to build thinc
  Installing collected packages: wheel, cymem, murmurhash, preshed, numpy, blis, wasabi, srsly, plac, tqdm, thinc, cython
      Running setup.py install for thinc: started
      Running setup.py install for thinc: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-062p5m4u\\thinc\\setup.py'"'"'; __file__='"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-062p5m4u\\thinc\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\kashy\AppData\Local\Temp\pip-record-du2vb3ti\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\kashy\AppData\Local\Temp\pip-build-env-q38svyds\normal' --compile --install-headers 'C:\Users\kashy\AppData\Local\Temp\pip-build-env-q38svyds\normal\Include\thinc'
           cwd: C:\Users\kashy\AppData\Local\Temp\pip-install-062p5m4u\thinc\
      Complete output (5 lines):
      running install
      running build
      running build_py
      running build_ext
      error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
      ----------------------------------------
  ERROR: Command errored out with exit status 1: 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-062p5m4u\\thinc\\setup.py'"'"'; __file__='"'"'C:\\Users\\kashy\\AppData\\Local\\Temp\\pip-install-062p5m4u\\thinc\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\kashy\AppData\Local\Temp\pip-record-du2vb3ti\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\kashy\AppData\Local\Temp\pip-build-env-q38svyds\normal' --compile --install-headers 'C:\Users\kashy\AppData\Local\Temp\pip-build-env-q38svyds\normal\Include\thinc' Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\python.exe' 'C:\Users\kashy\anaconda3\envs\awesome-streamlit\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\kashy\AppData\Local\Temp\pip-build-env-q38svyds\normal' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel 'cymem<2.1.0,>=2.0.2' 'preshed<3.1.0,>=3.0.2' 'thinc<7.2.0,>=7.1.1' 'cython>=0.25' 'murmurhash<1.1.0,>=0.28.0' Check the logs for full command output.
@MarcSkovMadsen
Copy link
Owner

HI @kashyapm94

Could you try if one of these workarounds would work for you?

Workaround 1

Try

conda install thinc

and then

pip install -r requirements.txt

Workaround 2

conda install --file requirements.txt

@kashyapm94
Copy link
Author

Hey @MarcSkovMadsen

Doing conda install thinc gives the following error:

(awesome-streamlit) C:\Users\kashy\OneDrive\Desktop\ediapp>conda install thinc
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

and doing conda install --file requirements.txt gives the following error:

CondaValueError: could not parse '-r ./requirements_base.txt' in: requirements.txt

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

No branches or pull requests

2 participants