Closed xelor404 closed 3 years ago
anyone can help me please ?
Have you followed the how to run section of the README.md, ensure you've python 3.7+ and pip is updated to the latest. It also looks like you're trying to run pip install stravio
manually, in that case you probably want to look at their docs.
yes I followed the how-to run section but there are things doesn't work like the command " virtualenv venv " so i replace it with " python -m venv "folder name" (i already installed python 3.9.0 with the last version of pip ) and still I have the same problem
MYCMD : Microsoft Windows [version 10.0.19041.572] (c) 2020 Microsoft Corporation. Tous droits réservés.
C:\Users\Infinityprod>cd Desktop
C:\Users\Infinityprod\Desktop>python get-pip.py C:\Python\Python390\lib\site-packages\setuptools\distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first. warnings.warn( Defaulting to user installation because normal site-packages is not writeable Collecting pip Using cached pip-20.2.4-py2.py3-none-any.whl (1.5 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.4 Uninstalling pip-20.2.4: Successfully uninstalled pip-20.2.4 WARNING: The scripts pip.exe, pip3.9.exe and pip3.exe are installed in 'C:\Users\Infinityprod\AppData\Roaming\Python\Python39\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed pip-20.2.4
C:\Users\Infinityprod\Desktop> C:\Users\Infinityprod\Desktop>pip --version pip 20.2.4 from C:\Users\Infinityprod\AppData\Roaming\Python\Python39\site-packages\pip (python 3.9)
C:\Users\Infinityprod\Desktop>pip herlp ERROR: unknown command "herlp" - maybe you meant "help"
C:\Users\Infinityprod\Desktop>pip help
Usage:
pip
Commands: install Install packages. download Download packages. uninstall Uninstall packages. freeze Output installed packages in requirements format. list List installed packages. show Show information about installed packages. check Verify installed packages have compatible dependencies. config Manage local and global configuration. search Search PyPI for packages. cache Inspect and manage pip's wheel cache. wheel Build wheels from your requirements. hash Compute hashes of package archives. completion A helper command used for command completion. debug Show information useful for debugging. help Show help for commands.
General Options:
-h, --help Show help.
--isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
-v, --verbose Give more output. Option is additive, and can be used up to 3 times.
-V, --version Show version and exit.
-q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).
--log
C:\Users\Infinityprod\Desktop>python -m pip install --upgrade pip Defaulting to user installation because normal site-packages is not writeable Requirement already up-to-date: pip in c:\users\infinityprod\appdata\roaming\python\python39\site-packages (20.2.4)
C:\Users\Infinityprod\Desktop> C:\Users\Infinityprod\Desktop>cd strava2notion
C:\Users\Infinityprod\Desktop\strava2notion>python -m venv strv2nt
C:\Users\Infinityprod\Desktop\strava2notion>strv2nt/Scripts/activate 'strv2nt' n’est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.
C:\Users\Infinityprod\Desktop\strava2notion>strv2nt\Scripts\activate
(strv2nt) C:\Users\Infinityprod\Desktop\strava2notion>pip install -r requirements.txt Collecting stravaio==0.0.9 Using cached stravaio-0.0.9-py2.py3-none-any.whl (154 kB) Collecting notion==0.0.25 Using cached notion-0.0.25-py3-none-any.whl (39 kB) Collecting pandas Using cached pandas-1.1.3.tar.gz (5.2 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe' 'c:\users\infinityprod\desktop\strava2notion\strv2nt\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-0w31jsao\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' cwd: None Complete output (327 lines): Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment Collecting setuptools Using cached setuptools-50.3.2-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Collecting Cython<3,>=0.29.21 Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB) Collecting numpy==1.17.3 Using cached numpy-1.17.3.zip (6.4 MB) Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed. Installing collected packages: setuptools, wheel, Cython, numpy Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' ERROR: Command errored out with exit status 1: command: 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\setup.py'"'"'; file='"'"'C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\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\Infinityprod\AppData\Local\Temp\pip-record-uxoh74w2\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-0w31jsao\overlay' --compile --install-headers 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-0w31jsao\overlay\include\site\python3.9\numpy' cwd: C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\ Complete output (302 lines): Running from numpy source directory.
Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:
- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPi)
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\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blis not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
openblas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
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
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\system_info.py:690: 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.
self.calc_info()
blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\system_info.py:690: 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.
self.calc_info()
blas_src_info:
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\system_info.py:690: 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.
self.calc_info()
NOT AVAILABLE
'svnversion' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
openblas_lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
openblas_clapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas,lapack not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
flame_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries flame not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in C:\
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in C:\
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in C:\
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in C:\
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\system_info.py:1712: 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.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\system_info.py:1712: 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.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE
C:\Python\Python390\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.9
creating build\src.win-amd64-3.9\numpy
creating build\src.win-amd64-3.9\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Ic:\users\infinityprod\desktop\strava2notion\strv2nt\include -IC:\Python\Python390\include -IC:\Python\Python390\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include /Tc_configtest.c /Fo_configtest.obj
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\lib\x64 _configtest.obj /OUT:_configtest.exe
LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'kernel32.lib'
failure.
removing: _configtest.c _configtest.obj _configtest.obj.d
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\setup.py", line 443, in <module>
setup_package()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\setup.py", line 435, in setup_package
setup(**metadata)
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\core.py", line 171, in setup
return old_setup(**new_attr)
File "c:\users\infinityprod\desktop\strava2notion\strv2nt\lib\site-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Python\Python390\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python\Python390\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Python\Python390\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\install.py", line 62, in run
r = self.setuptools_run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\install.py", line 36, in setuptools_run
return distutils_install.run(self)
File "C:\Python\Python390\lib\distutils\command\install.py", line 546, in run
self.run_command('build')
File "C:\Python\Python390\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python\Python390\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\build.py", line 47, in run
old_build.run(self)
File "C:\Python\Python390\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Python\Python390\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python\Python390\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\build_src.py", line 142, in run
self.build_sources()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\build_src.py", line 153, in build_sources
self.build_library_sources(*libname_info)
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\build_src.py", line 286, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-r_ahitff\numpy\numpy\distutils\command\build_src.py", line 369, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 669, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe' 'c:\users\infinityprod\desktop\strava2notion\strv2nt\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-0w31jsao\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output. WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available. You should consider upgrading via the 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe -m pip install --upgrade pip' command.
(strv2nt) C:\Users\Infinityprod\Desktop\strava2notion>c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe -m pip install --upgrade pip Collecting pip Using cached pip-20.2.4-py2.py3-none-any.whl (1.5 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.3 Uninstalling pip-20.2.3: Successfully uninstalled pip-20.2.3 Successfully installed pip-20.2.4
(strv2nt) C:\Users\Infinityprod\Desktop\strava2notion>pip install -r requirements.txt Collecting stravaio==0.0.9 Using cached stravaio-0.0.9-py2.py3-none-any.whl (154 kB) Collecting notion==0.0.25 Using cached notion-0.0.25-py3-none-any.whl (39 kB) Collecting pandas Using cached pandas-1.1.3.tar.gz (5.2 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe' 'c:\users\infinityprod\desktop\strava2notion\strv2nt\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-1o4qxrhd\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' cwd: None Complete output (325 lines): Ignoring numpy: markers 'python_version == "3.6" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.7" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.8" and platform_system == "AIX"' don't match your environment Collecting setuptools Using cached setuptools-50.3.2-py3-none-any.whl (785 kB) Collecting wheel Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Collecting Cython<3,>=0.29.21 Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB) Collecting numpy==1.17.3 Using cached numpy-1.17.3.zip (6.4 MB) Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed. Installing collected packages: setuptools, wheel, Cython, numpy Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' ERROR: Command errored out with exit status 1: command: 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\setup.py'"'"'; file='"'"'C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\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\Infinityprod\AppData\Local\Temp\pip-record-51imk4qu\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-1o4qxrhd\overlay' --compile --install-headers 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-1o4qxrhd\overlay\include\site\python3.9\numpy' cwd: C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\ Complete output (302 lines): Running from numpy source directory.
Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:
- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPi)
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\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
blis_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blis not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
openblas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
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
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\system_info.py:690: 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.
self.calc_info()
blas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries blas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\system_info.py:690: 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.
self.calc_info()
blas_src_info:
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\system_info.py:690: 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.
self.calc_info()
NOT AVAILABLE
'svnversion' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
openblas_lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
openblas_clapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries openblas,lapack not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
flame_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries flame not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries tatlas,tatlas not found in C:\
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries satlas,satlas not found in C:\
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries ptf77blas,ptcblas,atlas not found in C:\
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in c:\users\infinityprod\desktop\strava2notion\strv2nt\lib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack_atlas not found in C:\
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries f77blas,cblas,atlas not found in C:\
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries lapack not found in ['c:\\users\\infinityprod\\desktop\\strava2notion\\strv2nt\\lib', 'C:\\']
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\system_info.py:1712: 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.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE
C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\system_info.py:1712: 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.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE
C:\Python\Python390\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.9
creating build\src.win-amd64-3.9\numpy
creating build\src.win-amd64-3.9\numpy\distutils
building library "npymath" sources
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -Ic:\users\infinityprod\desktop\strava2notion\strv2nt\include -IC:\Python\Python390\include -IC:\Python\Python390\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include /Tc_configtest.c /Fo_configtest.obj
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\lib\x64 _configtest.obj /OUT:_configtest.exe
LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'kernel32.lib'
failure.
removing: _configtest.c _configtest.obj _configtest.obj.d
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\setup.py", line 443, in <module>
setup_package()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\setup.py", line 435, in setup_package
setup(**metadata)
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\core.py", line 171, in setup
return old_setup(**new_attr)
File "c:\users\infinityprod\desktop\strava2notion\strv2nt\lib\site-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Python\Python390\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python\Python390\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Python\Python390\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\install.py", line 62, in run
r = self.setuptools_run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\install.py", line 36, in setuptools_run
return distutils_install.run(self)
File "C:\Python\Python390\lib\distutils\command\install.py", line 546, in run
self.run_command('build')
File "C:\Python\Python390\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python\Python390\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\build.py", line 47, in run
old_build.run(self)
File "C:\Python\Python390\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Python\Python390\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python\Python390\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\build_src.py", line 142, in run
self.build_sources()
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\build_src.py", line 153, in build_sources
self.build_library_sources(*libname_info)
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\build_src.py", line 286, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "C:\Users\Infinityprod\AppData\Local\Temp\pip-install-47gjklzx\numpy\numpy\distutils\command\build_src.py", line 369, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 669, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\infinityprod\desktop\strava2notion\strv2nt\scripts\python.exe' 'c:\users\infinityprod\desktop\strava2notion\strv2nt\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Infinityprod\AppData\Local\Temp\pip-build-env-1o4qxrhd\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.15.4; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.15.4; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output.
(strv2nt) C:\Users\Infinityprod\Desktop\strava2notion>
I can't see anything strange in your logs that is obvious to me why it is failing....you're running py3.9 which should be fine but I'm running 3.7 for reference, might be worth a try.
I did see this...WARNING: The scripts pip.exe, pip3.9.exe and pip3.exe are installed in C:\Users\Infinityprod\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
I wonder if at some point in the install it is fallling back to a version of python <3.5 and failiing
I had some issues installing this onto a different PC - I had to make sure I had Py 3.7.7 64-bit install. It did not work with 32-bit. Hope this helps