Closed mariasolruiz closed 1 year ago
Hi there! Thanks for trying ALLSorts.
I'm not too familiar with Windows command line, but let's give it a go:
Could you please do a dir
of the contents in C:\Users\solci\Documents\GitHub\ALLSorts?
Could you also please run python and do a:
> import sys
> sys.executable
Cheers, Breon.
Hi Breon,
Thanks for your assistance! I'm not familiar with python so I tried the python commands in two ways, I'm attaching the results.
Best,
Maria Sol
El mar, 8 feb 2022 a la(s) 19:27, Breon Schmidt @.***) escribió:
Hi there! Thanks for trying ALLSorts.
I'm not too familiar with Windows command line, but let's give it a go:
Could you please do a dir of the contents in C:\Users\solci\Documents\GitHub\ALLSorts?
Could you also please run python and do a:
import sys sys.executable
Cheers, Breon.
— Reply to this email directly, view it on GitHub https://github.com/Oshlack/ALLSorts/issues/7#issuecomment-1033125775, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO5EC3DXDIXSZQ6NTHGQN3U2GKDPANCNFSM5NR5NENQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
C:\Users\solci\Documents\GitHub\ALLSorts>dir Volume in drive C is Windows-SSD Volume Serial Number is 98A7-B841
Directory of C:\Users\solci\Documents\GitHub\ALLSorts
02/03/2022 05:19 PM
C:\Users\solci\Documents\GitHub\ALLSorts>
Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information.
import sys sys.executable 'C:\Users\solci\anaconda3\envs\allsorts\python.exe'
Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information.
import sys sys.executable 'C:\Users\solci\anaconda3\python.exe'
Could you try navigating into the ALLSorts root (the one with setup.py in the directory) and just doing a:
pip install .
Ok, it ran! I was missing the final space and stop. However, it returned several error messages, I'm attaching the result
El mar, 8 feb 2022 a la(s) 23:19, Breon Schmidt @.***) escribió:
Could you try navigating into the ALLSorts root (the one with setup.py in the directory) and just doing a:
pip install .
— Reply to this email directly, view it on GitHub https://github.com/Oshlack/ALLSorts/issues/7#issuecomment-1033270747, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO5ECYIXSBLAOGD2NEFPRLU2HFM5ANCNFSM5NR5NENQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
(base) C:\Users\solci>conda activate allsorts
(allsorts) C:\Users\solci>cd Documents
(allsorts) C:\Users\solci\Documents>cd GitHub
(allsorts) C:\Users\solci\Documents\GitHub>cd ALLSorts
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>pip install ERROR: You must give at least one requirement to install (see "pip help install")
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>pip install . Processing c:\users\solci\documents\github\allsorts DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Collecting joblib==0.15.1 Using cached joblib-0.15.1-py3-none-any.whl (298 kB) Collecting matplotlib==3.2.1 Using cached matplotlib-3.2.1.tar.gz (40.3 MB) Collecting numpy==1.18.1 Using cached numpy-1.18.1.zip (5.4 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\solci\anaconda3\envs\allsorts\python.exe' 'C:\Users\solci\anaconda3\envs\allsorts\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\solci\AppData\Local\Temp\tmpba77m4u1' cwd: C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0 Complete output (205 lines): Running from numpy source directory. setup.py:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates run_build = parse_setuppy_commands() C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\tools\cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. required_version = LooseVersion('0.29.14') C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\tools\cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < required_version: Processing numpy/random_bounded_integers.pxd.in Processing numpy/random\mtrand.pyx Processing numpy/random_bit_generator.pyx Processing numpy/random_bounded_integers.pyx.in Processing numpy/random_common.pyx Processing numpy/random_generator.pyx Processing numpy/random_mt19937.pyx Processing numpy/random_pcg64.pyx Processing numpy/random_philox.pyx Processing numpy/random_sfc64.pyx Cythonizing sources blas_opt_info: blas_mkl_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries mkl_rt not found in ['C:\Users\solci\anaconda3\envs\allsorts\lib', 'C:\', 'C:\Users\solci\anaconda3\envs\allsorts\libs', 'C:\Users\solci\anaconda3\Library\lib'] NOT AVAILABLE
blis_info:
libraries blis not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\numpy\distutils\system_info.py:1896: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
blas_info:
libraries blas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\numpy\distutils\system_info.py:1896: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
blas_src_info:
NOT AVAILABLE
C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\numpy\distutils\system_info.py:1896: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
NOT AVAILABLE
'svnversion' is not recognized as an internal or external command,
operable program or batch file.
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
flame_info:
libraries flame not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries tatlas,tatlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries tatlas,tatlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries lapack_atlas not found in C:\Users\solci\anaconda3\Library\lib
libraries tatlas,tatlas not found in C:\Users\solci\anaconda3\Library\lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries satlas,satlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries satlas,satlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries lapack_atlas not found in C:\Users\solci\anaconda3\Library\lib
libraries satlas,satlas not found in C:\Users\solci\anaconda3\Library\lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries ptf77blas,ptcblas,atlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries ptf77blas,ptcblas,atlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries lapack_atlas not found in C:\Users\solci\anaconda3\Library\lib
libraries ptf77blas,ptcblas,atlas not found in C:\Users\solci\anaconda3\Library\lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries f77blas,cblas,atlas not found in C:\Users\solci\anaconda3\envs\allsorts\lib
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries f77blas,cblas,atlas not found in C:\Users\solci\anaconda3\envs\allsorts\libs
libraries lapack_atlas not found in C:\Users\solci\anaconda3\Library\lib
libraries f77blas,cblas,atlas not found in C:\Users\solci\anaconda3\Library\lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Users\\solci\\anaconda3\\envs\\allsorts\\lib', 'C:\\', 'C:\\Users\\solci\\anaconda3\\envs\\allsorts\\libs', 'C:\\Users\\solci\\anaconda3\\Library\\lib']
NOT AVAILABLE
C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\numpy\distutils\system_info.py:1730: 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))()
lapack_src_info:
NOT AVAILABLE
C:\Users\solci\AppData\Local\Temp\pip-install-4hip9obe\numpy_d679ac27220740cda523f51b558417c0\numpy\distutils\system_info.py:1730: 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))()
NOT AVAILABLE
C:\Users\solci\AppData\Local\Temp\pip-build-env-mzpl5xje\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running dist_info
running build_src
build_src
building py_modules sources
building library "npymath" sources
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/40/de/0ea5092b8bfd2e3aa6fdbb2e499a9f9adf810992884d414defc1573dca3f/numpy-1.18.1.zip#sha256=b6ff59cee96b454516e47e7721098e6ceebef435e3e21ac2d6c3b8b02628eb77 (from https://pypi.org/simple/numpy/) (requires-python:>=3.5). Command errored out with exit status 1: 'C:\Users\solci\anaconda3\envs\allsorts\python.exe' 'C:\Users\solci\anaconda3\envs\allsorts\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\solci\AppData\Local\Temp\tmpba77m4u1' Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement numpy==1.18.1 (from allsorts) (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0, 1.13.1, 1.13.3, 1.14.0rc1, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0rc1, 1.15.0rc2, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0rc1, 1.16.0rc2, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0rc1, 1.17.0rc2, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0rc1, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0rc1, 1.19.0rc2, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0rc1, 1.20.0rc2, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0rc1, 1.21.0rc2, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.22.0rc1, 1.22.0rc2, 1.22.0rc3, 1.22.0, 1.22.1, 1.22.2) ERROR: No matching distribution found for numpy==1.18.1
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>
Ok, this seems to be surround some issue finding the required version of numpy.
I've removed some hard dependencies for things that probably didn't need them in setup.py. In the ALLSorts root could you please:
git pull
Then try the below again:
pip install .
thanks! I've tried it and it seems to have a problem with scikit-learn, I'm attaching the results
El mar, 8 feb 2022 a la(s) 23:38, Breon Schmidt @.***) escribió:
Ok, this seems to be surround some issue finding the required version of numpy.
I've removed some hard dependencies for things that probably didn't need them in setup.py. In the ALLSorts root could you please:
git pull
Then try the below again:
pip install .
— Reply to this email directly, view it on GitHub https://github.com/Oshlack/ALLSorts/issues/7#issuecomment-1033284493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO5EC5OKADUAFX4R6BE5W3U2HHTLANCNFSM5NR5NENQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
(base) C:\Users\solci\Documents\GitHub\ALLSorts>conda activate allsorts
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>git pull remote: Enumerating objects: 5, done. remote: Counting objects: 100% (5/5), done. remote: Compressing objects: 100% (3/3), done. remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), 679 bytes | 52.00 KiB/s, done. From https://github.com/Oshlack/ALLSorts 5b124f5..acc294d master -> origin/master Updating 5b124f5..acc294d Fast-forward setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>pip install . Processing c:\users\solci\documents\github\allsorts DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Collecting joblib==0.15.1 Using cached joblib-0.15.1-py3-none-any.whl (298 kB) Collecting matplotlib==3.2.1 Using cached matplotlib-3.2.1.tar.gz (40.3 MB) Collecting scikit-learn==0.22.1 Downloading scikit-learn-0.22.1.tar.gz (6.9 MB) |████████████████████████████████| 6.9 MB 1.6 MB/s Collecting umap-learn==0.4.4 Downloading umap-learn-0.4.4.tar.gz (69 kB) |████████████████████████████████| 69 kB 1.4 MB/s Collecting plotly==4.14.3 Downloading plotly-4.14.3-py2.py3-none-any.whl (13.2 MB) |████████████████████████████████| 13.2 MB 6.4 MB/s Collecting kaleido==0.1.0 Downloading kaleido-0.1.0-py2.py3-none-win_amd64.whl (56.0 MB) |████████████████████████████████| 56.0 MB 6.4 MB/s Collecting cycler>=0.10 Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.3.2-cp39-cp39-win_amd64.whl (52 kB) |████████████████████████████████| 52 kB 4.1 MB/s Collecting numpy>=1.11 Using cached numpy-1.22.2-cp39-cp39-win_amd64.whl (14.7 MB) Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB) |████████████████████████████████| 98 kB 3.9 MB/s Collecting python-dateutil>=2.1 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) |████████████████████████████████| 247 kB 6.4 MB/s Collecting retrying>=1.3.3 Downloading retrying-1.3.3.tar.gz (10 kB) Collecting six Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting scipy>=0.17.0 Downloading scipy-1.8.0-cp39-cp39-win_amd64.whl (36.9 MB) |████████████████████████████████| 36.9 MB 6.8 MB/s Collecting numba!=0.47,>=0.46 Downloading numba-0.55.1-cp39-cp39-win_amd64.whl (2.4 MB) |████████████████████████████████| 2.4 MB 6.4 MB/s Collecting tbb Downloading tbb-2021.5.1-py3-none-win_amd64.whl (278 kB) |████████████████████████████████| 278 kB 6.8 MB/s Requirement already satisfied: setuptools in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from numba!=0.47,>=0.46->umap-learn==0.4.4->ALLSorts==0.1.3) (58.0.4) Collecting numpy>=1.11 Downloading numpy-1.21.5-cp39-cp39-win_amd64.whl (14.0 MB) |████████████████████████████████| 14.0 MB 502 kB/s Collecting llvmlite<0.39,>=0.38.0rc1 Downloading llvmlite-0.38.0-cp39-cp39-win_amd64.whl (23.2 MB) |████████████████████████████████| 23.2 MB 6.4 MB/s Building wheels for collected packages: ALLSorts, matplotlib, scikit-learn, umap-learn, retrying Building wheel for ALLSorts (setup.py) ... done Created wheel for ALLSorts: filename=ALLSorts-0.1.3-py3-none-any.whl size=9896755 sha256=27259d2e5aade47b2a87424f00d4f9c69baa10e866c7e30891246ff028ae7586 Stored in directory: C:\Users\solci\AppData\Local\Temp\pip-ephem-wheel-cache-td3ljv_j\wheels\30\e4\c7\8267633a8f697347e9d417e2c1b61a19dbbfb1f26009045292 Building wheel for matplotlib (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\solci\anaconda3\envs\allsorts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\matplotlib_f7d5add8b54e40a4b51b1b1c1b6feff9\setup.py'"'"'; file='"'"'C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\matplotlib_f7d5add8b54e40a4b51b1b1c1b6feff9\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\solci\AppData\Local\Temp\pip-wheel-l5jnxakl' cwd: C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\matplotlib_f7d5add8b54e40a4b51b1b1c1b6feff9\ Complete output (577 lines):
Edit setup.cfg to change the build options; suppress output with --quiet.
BUILDING MATPLOTLIB matplotlib: yes [3.2.1] python: yes [3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)]] platform: yes [win32] sample_data: yes [installing] tests: no [skipping due to configuration] agg: yes [installing] tkagg: yes [installing; run-time loading from Python Tcl/Tk] macosx: no [Mac OS-X only]
ERROR: Failed building wheel for matplotlib Running setup.py clean for matplotlib Building wheel for scikit-learn (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\solci\anaconda3\envs\allsorts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\scikit-learn_561cae57c8c04156a74a725835147362\setup.py'"'"'; file='"'"'C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\scikit-learn_561cae57c8c04156a74a725835147362\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\solci\AppData\Local\Temp\pip-wheel-qxma3jfj' cwd: C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\scikit-learn_561cae57c8c04156a74a725835147362\ Complete output (22 lines): Partial import of sklearn during the build process. Traceback (most recent call last): File "C:\Users\solci\AppData\Local\Temp\pip-install-1800hnrr\s
Well that's progress!
It looks like a couple issues have arisen. Matplotlib seems to require "Microsoft Visual C++ 14.0 or greater".
The scikit-learn dependency is important as the model was build with that version. But perhaps we can find a way around that.
Can you edit the setup.py file and remove the following two lines:
"matplotlib==3.2.1", "scikit-learn==0.22.1",
Then reinstall using pip install .
. If that all goes well, then we try:
conda install -c anaconda scikit-learn=0.22.1
and then
conda install matplotlib
If the matplotlib installation fails, we might still be OK as most of the plots are now using Plotly.
Well, no error messages up to this point! yeay. Thanks a lot :)
Next I tried running the test, but it failed because "pandas" module was lacking. I installed that module by using: "pip install wheel", and then "pip install pandas".
Next I ran the test again but a different error message occurred (I'm attaching the results). I am trying to solve it using the Numba documentation....I will try to solve it and if it becomes impossible to me I will reach out to you again, I feel bad for asking so many questions!
Thank you,
Maria Sol
El mié, 9 feb 2022 a la(s) 00:24, Breon Schmidt @.***) escribió:
Well that's progress!
It looks like a couple issues have arisen. Matplotlib seems to require "Microsoft Visual C++ 14.0 or greater".
The scikit-learn dependency is important as the model was build with that version. But perhaps we can find a way around that.
Can you edit the setup.py file and remove the following two lines:
"matplotlib==3.2.1", "scikit-learn==0.22.1",
Then reinstall using pip install .. If that all goes well, then we try:
conda install -c anaconda scikit-learn=0.22.1 and then conda install matplotlib
If the matplotlib installation fails, we might still be OK as most of the plots are now using Plotly.
— Reply to this email directly, view it on GitHub https://github.com/Oshlack/ALLSorts/issues/7#issuecomment-1033305474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMO5ECYDPRWRAHQW74RK6BTU2HM63ANCNFSM5NR5NENQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>pip install . Processing c:\users\solci\documents\github\allsorts DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Requirement already satisfied: joblib==0.15.1 in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from ALLSorts==0.1.3) (0.15.1) Collecting umap-learn==0.4.4 Using cached umap_learn-0.4.4-py3-none-any.whl Collecting plotly==4.14.3 Using cached plotly-4.14.3-py2.py3-none-any.whl (13.2 MB) Collecting kaleido==0.1.0 Using cached kaleido-0.1.0-py2.py3-none-win_amd64.whl (56.0 MB) Collecting retrying>=1.3.3 Using cached retrying-1.3.3-py3-none-any.whl Requirement already satisfied: six in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from plotly==4.14.3->ALLSorts==0.1.3) (1.16.0) Collecting numba!=0.47,>=0.46 Using cached numba-0.55.1-cp39-cp39-win_amd64.whl (2.4 MB) Requirement already satisfied: numpy>=1.17 in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from umap-learn==0.4.4->ALLSorts==0.1.3) (1.21.5) Requirement already satisfied: scipy>=1.3.1 in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from umap-learn==0.4.4->ALLSorts==0.1.3) (1.8.0) Collecting scikit-learn>=0.20 Downloading scikit_learn-1.0.2-cp39-cp39-win_amd64.whl (7.2 MB) |████████████████████████████████| 7.2 MB 3.2 MB/s Requirement already satisfied: tbb in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from umap-learn==0.4.4->ALLSorts==0.1.3) (2021.5.1) Requirement already satisfied: llvmlite<0.39,>=0.38.0rc1 in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from numba!=0.47,>=0.46->umap-learn==0.4.4->ALLSorts==0.1.3) (0.38.0) Requirement already satisfied: setuptools in c:\users\solci\anaconda3\envs\allsorts\lib\site-packages (from numba!=0.47,>=0.46->umap-learn==0.4.4->ALLSorts==0.1.3) (58.0.4) Collecting threadpoolctl>=2.0.0 Downloading threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Building wheels for collected packages: ALLSorts Building wheel for ALLSorts (setup.py) ... done Created wheel for ALLSorts: filename=ALLSorts-0.1.3-py3-none-any.whl size=9896735 sha256=7efdb0fc745f85d1bef22640e3dac53fcc6dcb3cb8f5b8e721f997e24822886b Stored in directory: C:\Users\solci\AppData\Local\Temp\pip-ephem-wheel-cache-lrgoypmb\wheels\30\e4\c7\8267633a8f697347e9d417e2c1b61a19dbbfb1f26009045292 Successfully built ALLSorts Installing collected packages: threadpoolctl, scikit-learn, retrying, numba, umap-learn, plotly, kaleido, ALLSorts Successfully installed ALLSorts-0.1.3 kaleido-0.1.0 numba-0.55.1 plotly-4.14.3 retrying-1.3.3 scikit-learn-1.0.2 threadpoolctl-3.1.0 umap-learn-0.4.4
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>conda install -c anaconda scikit-learn=0.22.1 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: done
==> WARNING: A newer version of conda exists. <== current version: 4.10.3 latest version: 4.11.0
Please update conda by running
$ conda update -n base -c defaults conda
environment location: C:\Users\solci\anaconda3\envs\allsorts
added / updated specs:
The following packages will be downloaded:
package | build
---------------------------|-----------------
joblib-0.17.0 | py_0 205 KB anaconda
numpy-1.19.1 | py38h5510c5b_0 21 KB anaconda
numpy-base-1.19.1 | py38ha3acd2a_0 4.9 MB anaconda
pip-20.2.4 | py38_0 2.0 MB anaconda
scipy-1.5.0 | py38h9439919_0 15.3 MB anaconda
------------------------------------------------------------
Total: 22.4 MB
The following NEW packages will be INSTALLED:
blas anaconda/win-64::blas-1.0-mkl icc_rt anaconda/win-64::icc_rt-2019.0.0-h0cc432a_1 intel-openmp anaconda/win-64::intel-openmp-2020.2-254 joblib anaconda/noarch::joblib-0.17.0-py_0 mkl anaconda/win-64::mkl-2019.4-245 mkl-service anaconda/win-64::mkl-service-2.3.0-py38hb782905_0 mkl_fft anaconda/win-64::mkl_fft-1.2.0-py38h45dec08_0 mkl_random anaconda/win-64::mkl_random-1.1.0-py38hf9181ef_0 numpy anaconda/win-64::numpy-1.19.1-py38h5510c5b_0 numpy-base anaconda/win-64::numpy-base-1.19.1-py38ha3acd2a_0 scikit-learn anaconda/win-64::scikit-learn-0.22.1-py38h6288b17_0 scipy anaconda/win-64::scipy-1.5.0-py38h9439919_0 six anaconda/noarch::six-1.15.0-py_0
The following packages will be SUPERSEDED by a higher-priority channel:
ca-certificates pkgs/main::ca-certificates-2021.10.26~ --> anaconda::ca-certificates-2020.10.14-0 certifi pkgs/main::certifi-2021.10.8-py39haa9~ --> anaconda::certifi-2020.6.20-py38_0 openssl pkgs/main::openssl-1.1.1m-h2bbff1b_0 --> anaconda::openssl-1.1.1h-he774522_0 pip pkgs/main::pip-21.2.4-py39haa95532_0 --> anaconda::pip-20.2.4-py38_0 python pkgs/main::python-3.9.7-h6244533_1 --> anaconda::python-3.8.3-he1778fa_2 setuptools pkgs/main::setuptools-58.0.4-py39haa9~ --> anaconda::setuptools-46.4.0-py38_0 wincertstore pkgs/main::wincertstore-0.2-py39haa95~ --> anaconda::wincertstore-0.2-py38_0
Proceed ([y]/n)? y
Downloading and Extracting Packages joblib-0.17.0 | 205 KB | ############################################################################ | 100% numpy-1.19.1 | 21 KB | ############################################################################ | 100% numpy-base-1.19.1 | 4.9 MB | ############################################################################ | 100% pip-20.2.4 | 2.0 MB | ############################################################################ | 100% scipy-1.5.0 | 15.3 MB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>conda install matplotlib Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: done
==> WARNING: A newer version of conda exists. <== current version: 4.10.3 latest version: 4.11.0
Please update conda by running
$ conda update -n base -c defaults conda
environment location: C:\Users\solci\anaconda3\envs\allsorts
added / updated specs:
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2021.10.8 | py38haa95532_2 152 KB
cycler-0.11.0 | pyhd3eb1b0_0 12 KB
freetype-2.10.4 | hd328e21_0 466 KB
joblib-0.15.1 | py_0 208 KB
kiwisolver-1.3.1 | py38hd77b12b_0 52 KB
libpng-1.6.37 | h2a8f88b_0 333 KB
matplotlib-3.4.3 | py38haa95532_0 29 KB
matplotlib-base-3.4.3 | py38h49ac443_0 5.5 MB
numpy-1.18.1 | py38h93ca92e_0 6 KB
numpy-base-1.18.1 | py38hc3f5095_1 3.8 MB
pillow-8.4.0 | py38hd45dc43_0 911 KB
pyqt-5.9.2 | py38hd77b12b_6 3.3 MB
qt-5.9.7 | vc14h73c81de_0 72.5 MB
scipy-1.4.1 | py38h9439919_0 12.0 MB
sip-4.19.13 | py38hd77b12b_0 261 KB
tornado-6.1 | py38h2bbff1b_0 612 KB
zlib-1.2.11 | h8cc25b3_4 112 KB
------------------------------------------------------------
Total: 100.3 MB
The following NEW packages will be INSTALLED:
brotli pkgs/main/win-64::brotli-1.0.9-ha925a31_2 cycler pkgs/main/noarch::cycler-0.11.0-pyhd3eb1b0_0 fonttools pkgs/main/noarch::fonttools-4.25.0-pyhd3eb1b0_0 freetype pkgs/main/win-64::freetype-2.10.4-hd328e21_0 icu pkgs/main/win-64::icu-58.2-ha925a31_3 jpeg pkgs/main/win-64::jpeg-9d-h2bbff1b_0 kiwisolver pkgs/main/win-64::kiwisolver-1.3.1-py38hd77b12b_0 libpng pkgs/main/win-64::libpng-1.6.37-h2a8f88b_0 libtiff pkgs/main/win-64::libtiff-4.2.0-hd0e1b90_0 libwebp pkgs/main/win-64::libwebp-1.2.0-h2bbff1b_0 lz4-c pkgs/main/win-64::lz4-c-1.9.3-h2bbff1b_1 matplotlib pkgs/main/win-64::matplotlib-3.4.3-py38haa95532_0 matplotlib-base pkgs/main/win-64::matplotlib-base-3.4.3-py38h49ac443_0 munkres pkgs/main/noarch::munkres-1.1.4-py_0 olefile pkgs/main/noarch::olefile-0.46-pyhd3eb1b0_0 pillow pkgs/main/win-64::pillow-8.4.0-py38hd45dc43_0 pyparsing pkgs/main/noarch::pyparsing-3.0.4-pyhd3eb1b0_0 pyqt pkgs/main/win-64::pyqt-5.9.2-py38hd77b12b_6 python-dateutil pkgs/main/noarch::python-dateutil-2.8.2-pyhd3eb1b0_0 qt pkgs/main/win-64::qt-5.9.7-vc14h73c81de_0 sip pkgs/main/win-64::sip-4.19.13-py38hd77b12b_0 tk pkgs/main/win-64::tk-8.6.11-h2bbff1b_0 tornado pkgs/main/win-64::tornado-6.1-py38h2bbff1b_0 xz pkgs/main/win-64::xz-5.2.5-h62dcd97_0 zlib pkgs/main/win-64::zlib-1.2.11-h8cc25b3_4 zstd pkgs/main/win-64::zstd-1.4.9-h19a0ad4_0
The following packages will be UPDATED:
ca-certificates anaconda::ca-certificates-2020.10.14-0 --> pkgs/main::ca-certificates-2021.10.26-haa95532_4 certifi anaconda::certifi-2020.6.20-py38_0 --> pkgs/main::certifi-2021.10.8-py38haa95532_2 openssl anaconda::openssl-1.1.1h-he774522_0 --> pkgs/main::openssl-1.1.1m-h2bbff1b_0
The following packages will be SUPERSEDED by a higher-priority channel:
joblib anaconda::joblib-0.17.0-py_0 --> pkgs/main::joblib-0.15.1-py_0 numpy anaconda::numpy-1.19.1-py38h5510c5b_0 --> pkgs/main::numpy-1.18.1-py38h93ca92e_0 numpy-base anaconda::numpy-base-1.19.1-py38ha3ac~ --> pkgs/main::numpy-base-1.18.1-py38hc3f5095_1 scipy anaconda::scipy-1.5.0-py38h9439919_0 --> pkgs/main::scipy-1.4.1-py38h9439919_0
Proceed ([y]/n)? y
Downloading and Extracting Packages cycler-0.11.0 | 12 KB | ############################################################################ | 100% sip-4.19.13 | 261 KB | ############################################################################ | 100% kiwisolver-1.3.1 | 52 KB | ############################################################################ | 100% qt-5.9.7 | 72.5 MB | ############################################################################ | 100% tornado-6.1 | 612 KB | ############################################################################ | 100% freetype-2.10.4 | 466 KB | ############################################################################ | 100% zlib-1.2.11 | 112 KB | ############################################################################ | 100% pyqt-5.9.2 | 3.3 MB | ############################################################################ | 100% joblib-0.15.1 | 208 KB | ############################################################################ | 100% matplotlib-base-3.4. | 5.5 MB | ############################################################################ | 100% numpy-base-1.18.1 | 3.8 MB | ############################################################################ | 100% scipy-1.4.1 | 12.0 MB | ############################################################################ | 100% libpng-1.6.37 | 333 KB | ############################################################################ | 100% certifi-2021.10.8 | 152 KB | ############################################################################ | 100% matplotlib-3.4.3 | 29 KB | ############################################################################ | 100% numpy-1.18.1 | 6 KB | ############################################################################ | 100% pillow-8.4.0 | 911 KB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'. Rolling back transaction: done
LinkError: post-link script failed for package defaults::qt-5.9.7-vc14h73c81de_0 location of failed script: C:\Users\solci\anaconda3\envs\allsorts\Scripts.qt-post-link.bat ==> script messages <==
That's OK! Please reach out if you're still having trouble. I might have to find a more cross-system friendly approach for this installation.
Someone ran into a similar issue with Numba, it was resolved here #6 . It has to do with UMAP.
Cheers, Breon.
Hi! I'm having difficulties in installing ALLSorts. I have sucessfully installed Anaconda (I've checked it through Anaconda Prompt), I've created the environment and activated it, but I cannot install ALLSorts. The error message is:
(allsorts) C:\Users\solci\Documents\GitHub>pip install ALLSorts ERROR: Could not find a version that satisfies the requirement ALLSorts (from versions: none) ERROR: No matching distribution found for ALLSorts
or
(allsorts) C:\Users\solci\Documents\GitHub\ALLSorts>pip install ALLSorts ERROR: Could not find a version that satisfies the requirement ALLSorts (from versions: none) ERROR: No matching distribution found for ALLSorts
I would appreciate any suggestions on this issue! Thank you!