datawig icon indicating copy to clipboard operation
datawig copied to clipboard

installation on Python 3.10

Open zhimin-z opened this issue 1 year ago • 0 comments

(.venv) C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling>pip install xgboost
Collecting xgboost
  Downloading xgboost-1.7.5-py3-none-win_amd64.whl (70.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.9/70.9 MB 7.4 MB/s eta 0:00:00
Requirement already satisfied: numpy in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from xgboost) (1.23.5)
Requirement already satisfied: scipy in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from xgboost) (1.10.1)
Installing collected packages: xgboost
Successfully installed xgboost-1.7.5

(.venv) C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling>pip install datawig  
Collecting datawig
  Downloading datawig-0.2.0.tar.gz (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 410.0 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting scikit-learn[alldeps]==0.22.1 (from datawig)
  Downloading scikit-learn-0.22.1.tar.gz (6.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 1.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting typing==3.6.6 (from datawig)
  Downloading typing-3.6.6-py3-none-any.whl (25 kB)
Collecting pandas==0.25.3 (from datawig)
  Downloading pandas-0.25.3.tar.gz (12.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.6/12.6 MB 816.1 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting mxnet==1.4.0 (from datawig)
  Downloading mxnet-1.4.0-py2.py3-none-win_amd64.whl (21.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.9/21.9 MB 5.8 MB/s eta 0:00:00
Collecting numpy<1.15.0,>=1.8.2 (from mxnet==1.4.0->datawig)
  Downloading numpy-1.14.6.zip (4.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 11.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting requests<2.19.0,>=2.18.4 (from mxnet==1.4.0->datawig)
  Downloading requests-2.18.4-py2.py3-none-any.whl (88 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.7/88.7 kB 30.2 kB/s eta 0:00:00
Collecting graphviz<0.9.0,>=0.8.1 (from mxnet==1.4.0->datawig)
  Downloading graphviz-0.8.4-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from pandas==0.25.3->datawig) (2.8.2)
Requirement already satisfied: pytz>=2017.2 in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from pandas==0.25.3->datawig) (2023.3)
Requirement already satisfied: scipy>=0.17.0 in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from scikit-learn[alldeps]==0.22.1->datawig) (1.10.1)
Requirement already satisfied: joblib>=0.11 in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from scikit-learn[alldeps]==0.22.1->datawig) (1.2.0)
Requirement already satisfied: six>=1.5 in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from python-dateutil>=2.6.1->pandas==0.25.3->datawig) (1.16.0)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\zhimi\downloads\asset-management-topic-modeling\.venv\lib\site-packages (from requests<2.19.0,>=2.18.4->mxnet==1.4.0->datawig) (2022.12.7)
Collecting chardet<3.1.0,>=3.0.2 (from requests<2.19.0,>=2.18.4->mxnet==1.4.0->datawig)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 4.0 MB/s eta 0:00:00
Collecting idna<2.7,>=2.5 (from requests<2.19.0,>=2.18.4->mxnet==1.4.0->datawig)
  Downloading idna-2.6-py2.py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.5/56.5 kB 1.5 MB/s eta 0:00:00
Collecting urllib3<1.23,>=1.21.1 (from requests<2.19.0,>=2.18.4->mxnet==1.4.0->datawig)
  Downloading urllib3-1.22-py2.py3-none-any.whl (132 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.3/132.3 kB 3.8 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of scipy to determine which version is compatible with other requirements. This could take a while.
Collecting scipy>=0.17.0 (from scikit-learn[alldeps]==0.22.1->datawig)
  Downloading scipy-1.10.0-cp310-cp310-win_amd64.whl (42.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.5/42.5 MB 9.2 MB/s eta 0:00:00
  Downloading scipy-1.9.3-cp310-cp310-win_amd64.whl (40.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 MB 8.0 MB/s eta 0:00:00
  Downloading scipy-1.9.2-cp310-cp310-win_amd64.whl (40.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 MB 12.3 MB/s eta 0:00:00
  Downloading scipy-1.9.1-cp310-cp310-win_amd64.whl (38.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.6/38.6 MB 9.0 MB/s eta 0:00:00
  Downloading scipy-1.9.0-cp310-cp310-win_amd64.whl (38.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.6/38.6 MB 13.9 MB/s eta 0:00:00
  Downloading scipy-1.8.1-cp310-cp310-win_amd64.whl (36.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 36.9/36.9 MB 16.0 MB/s eta 0:00:00
  Downloading scipy-1.8.0-cp310-cp310-win_amd64.whl (37.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.0/37.0 MB 14.5 MB/s eta 0:00:00
INFO: pip is looking at multiple versions of scipy to determine which version is compatible with other requirements. This could take a while.
  Downloading scipy-1.7.3-cp310-cp310-win_amd64.whl (34.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.3/34.3 MB 10.6 MB/s eta 0:00:00
  Downloading scipy-1.7.2-1-cp310-cp310-win_amd64.whl (34.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.3/34.3 MB 15.6 MB/s eta 0:00:00
  Downloading scipy-1.6.1.tar.gz (27.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.3/27.3 MB 17.2 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [137 lines of output]
      setup.py:461: UserWarning: Unrecognized setuptools command ('dist_info --egg-base C:\Users\zhimi\AppData\Local\Temp\pip-modern-metadata-dpy2kcqo'), proceeding with generating Cython sources and expanding templates
        warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
      setup.py:563: DeprecationWarning:
     
        `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
        of the deprecation of `distutils` itself. It will be removed for
        Python >= 3.12. For older Python versions it will remain present.
        It is recommended to use `setuptools < 60.0` for those Python versions.
        For more details, see:
          https://numpy.org/devdocs/reference/distutils_status_migration.html
     
     
        from numpy.distutils.core import setup
      Running from SciPy source directory.
      INFO: lapack_opt_info:
      INFO: lapack_armpl_info:
      INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      INFO: customize MSVCCompiler
      INFO:   libraries armpl_lp64_mp not found in ['C:\\Users\\zhimi\\Downloads\\Asset-Management-Topic-Modeling\\.venv\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: lapack_mkl_info:
      INFO:   libraries mkl_rt not found in ['C:\\Users\\zhimi\\Downloads\\Asset-Management-Topic-Modeling\\.venv\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: openblas_lapack_info:
      INFO:   libraries openblas not found in ['C:\\Users\\zhimi\\Downloads\\Asset-Management-Topic-Modeling\\.venv\\lib', 'C:\\']
      INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
      INFO: customize GnuFCompiler
      WARN: Could not locate executable g77
      WARN: Could not locate executable f77
      INFO: customize IntelVisualFCompiler
      WARN: Could not locate executable ifort
      WARN: Could not locate executable ifl
      INFO: customize AbsoftFCompiler
      WARN: Could not locate executable f90
      INFO: customize CompaqVisualFCompiler
      WARN: Could not locate executable DF
      INFO: customize IntelItaniumVisualFCompiler
      WARN: Could not locate executable efl
      INFO: customize Gnu95FCompiler
      WARN: Could not locate executable gfortran
      WARN: Could not locate executable f95
      INFO: customize G95FCompiler
      WARN: Could not locate executable g95
      INFO: customize IntelEM64VisualFCompiler
      INFO: customize IntelEM64TFCompiler
      WARN: Could not locate executable efort
      WARN: Could not locate executable efc
      INFO: customize PGroupFlangCompiler
      WARN: Could not locate executable flang
      WARN: don't know how to compile Fortran code on platform 'nt'
      INFO:   NOT AVAILABLE
      INFO:
      INFO: openblas_clapack_info:
      INFO:   libraries openblas,lapack not found in ['C:\\Users\\zhimi\\Downloads\\Asset-Management-Topic-Modeling\\.venv\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: flame_info:
      INFO:   libraries flame not found in ['C:\\Users\\zhimi\\Downloads\\Asset-Management-Topic-Modeling\\.venv\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      INFO: accelerate_info:
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_3_10_threads_info:
      INFO: Setting PTATLAS=ATLAS
      INFO:   libraries tatlas,tatlas not found in C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib
      INFO:   libraries tatlas,tatlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_3_10_info:
      INFO:   libraries satlas,satlas not found in C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib
      INFO:   libraries satlas,satlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_threads_info:
      INFO: Setting PTATLAS=ATLAS
      INFO:   libraries ptf77blas,ptcblas,atlas not found in C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib
      INFO:   libraries ptf77blas,ptcblas,atlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: atlas_info:
      INFO:   libraries f77blas,cblas,atlas not found in C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib
      INFO:   libraries f77blas,cblas,atlas not found in C:\
      INFO: <class 'numpy.distutils.system_info.atlas_info'>
      INFO:   NOT AVAILABLE
      INFO:
      INFO: lapack_info:
      INFO:   libraries lapack not found in ['C:\\Users\\zhimi\\Downloads\\Asset-Management-Topic-Modeling\\.venv\\lib', 'C:\\']
      INFO:   NOT AVAILABLE
      INFO:
      C:\Users\zhimi\AppData\Local\Temp\pip-build-env-7ci0tnsq\overlay\Lib\site-packages\numpy\distutils\system_info.py:1902: UserWarning:
          Lapack (http://www.netlib.org/lapack/) libraries not found.
          Directories to search for the libraries can be specified in the
          numpy/distutils/site.cfg file (section [lapack]) or by setting
          the LAPACK environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
      INFO: lapack_src_info:
      INFO:   NOT AVAILABLE
      INFO:
      C:\Users\zhimi\AppData\Local\Temp\pip-build-env-7ci0tnsq\overlay\Lib\site-packages\numpy\distutils\system_info.py:1902: UserWarning:
          Lapack (http://www.netlib.org/lapack/) sources not found.
          Directories to search for the sources can be specified in the
          numpy/distutils/site.cfg file (section [lapack_src]) or by setting
          the LAPACK_SRC environment variable.
        return getattr(self, '_calc_info_{}'.format(name))()
      INFO:   NOT AVAILABLE
      INFO:
      Traceback (most recent call last):
        File "C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "C:\Users\zhimi\Downloads\Asset-Management-Topic-Modeling\.venv\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "C:\Users\zhimi\AppData\Local\Temp\pip-build-env-7ci0tnsq\overlay\Lib\site-packages\setuptools\build_meta.py", line 161, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "C:\Users\zhimi\AppData\Local\Temp\pip-build-env-7ci0tnsq\overlay\Lib\site-packages\setuptools\build_meta.py", line 253, in run_setup
          super(_BuildMetaLegacyBackend,
        File "C:\Users\zhimi\AppData\Local\Temp\pip-build-env-7ci0tnsq\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in run_setup
          exec(compile(code, __file__, 'exec'), locals())
        File "setup.py", line 588, in <module>
          setup_package()
        File "setup.py", line 584, in setup_package
          setup(**metadata)
        File "C:\Users\zhimi\AppData\Local\Temp\pip-build-env-7ci0tnsq\overlay\Lib\site-packages\numpy\distutils\core.py", line 135, in setup
          config = configuration()
        File "setup.py", line 499, in configuration
          raise NotFoundError(msg)
      numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
      To build Scipy from sources, BLAS & LAPACK libraries need to be installed.
      See site.cfg.example in the Scipy source directory and
      https://docs.scipy.org/doc/scipy/reference/building/index.html for details.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

zhimin-z avatar Apr 18 '23 17:04 zhimin-z