Install JarvisAI pip error
Slient1802 opened this issue · comments
Describe the issues:
I had installed python 3.10 + 3.11,Pycharm...
Error when I install the Jarvis pip
How to Reproduce:
Steps to reproduce the behavior by text:
- Install pip:
pip install JarvisAI
- See this error pop up:
Collecting JarvisAI
Using cached JarvisAI-4.2-py3-none-any.whl (2.5 MB)
Collecting shutup
Using cached shutup-0.2.0-py3-none-any.whl (1.5 kB)
Collecting torch
Downloading torch-1.13.1-cp310-cp310-win_amd64.whl (162.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.6/162.6 MB 4.2 MB/s eta 0:00:00
Collecting gtts
Using cached gTTS-2.3.0-py3-none-any.whl (26 kB)
Requirement already satisfied: wikipedia in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (1.4.0)
Requirement already satisfied: pywhatkit in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (5.4)
Requirement already satisfied: beautifulsoup4 in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (4
.11.1)
Requirement already satisfied: requests in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (2.28.1)
Collecting googlesearch-python
Using cached googlesearch_python-1.1.0-py3-none-any.whl (3.6 kB)
Requirement already satisfied: pyjokes in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (0.6.0)
Collecting pipwin
Using cached pipwin-0.5.2.tar.gz (7.9 kB)
Preparing metadata (setup.py) ... done
Collecting playsound==1.2.2
Using cached playsound-1.2.2-py2.py3-none-any.whl (6.0 kB)
Collecting fuzzywuzzy
Using cached fuzzywuzzy-0.18.0-py2.py3-none-any.whl (18 kB)
Requirement already satisfied: numpy in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (1.23.4)
Collecting lxml
Using cached lxml-4.9.2-cp310-cp310-win_amd64.whl (3.8 MB)
Requirement already satisfied: SpeechRecognition in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI)
(3.9.0)
Collecting youtube-search-python
Using cached youtube_search_python-1.6.6-py3-none-any.whl (89 kB)
Collecting pytube
Using cached pytube-12.1.2-py3-none-any.whl (57 kB)
Collecting phonetics
Using cached phonetics-1.0.5.tar.gz (8.8 kB)
Preparing metadata (setup.py) ... done
Collecting mediapipe==0.8.11
Using cached mediapipe-0.8.11-cp310-cp310-win_amd64.whl (49.0 MB)
Collecting download
Using cached download-0.3.5-py3-none-any.whl (8.8 kB)
Collecting pyaudio
Using cached PyAudio-0.2.13-cp310-cp310-win_amd64.whl (164 kB)
Collecting pyscreenshot
Using cached pyscreenshot-3.0-py3-none-any.whl (27 kB)
Collecting wave
Using cached Wave-0.0.2.zip (38 kB)
Preparing metadata (setup.py) ... done
Collecting opencv-python
Using cached opencv_python-4.7.0.68-cp37-abi3-win_amd64.whl (38.2 MB)
Requirement already satisfied: pyttsx3 in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (2.90)
Collecting spacy
Using cached spacy-3.4.4-cp310-cp310-win_amd64.whl (11.9 MB)
Requirement already satisfied: Flask in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (from JarvisAI) (2.2.2)
Collecting googletrans
Using cached googletrans-3.0.0.tar.gz (17 kB)
Preparing metadata (setup.py) ... done
Collecting JarvisAI
Using cached JarvisAI-4.1-py3-none-any.whl (2.5 MB)
Using cached JarvisAI-4.0-py3-none-any.whl (2.5 MB)
Collecting webrtcvad
Using cached webrtcvad-2.0.10.tar.gz (66 kB)
Preparing metadata (setup.py) ... done
Collecting JarvisAI
Using cached JarvisAI-3.9-py3-none-any.whl (36 kB)
Collecting pipwin==0.5.0
Using cached pipwin-0.5.0-py2.py3-none-any.whl (7.6 kB)
Collecting shutup==0.1.3
Using cached shutup-0.1.3-py3-none-any.whl (1.3 kB)
Collecting youtube-search-python==1.5.3
Using cached youtube_search_python-1.5.3-py3-none-any.whl (73 kB)
Collecting librosa==0.8.0
Using cached librosa-0.8.0.tar.gz (183 kB)
Preparing metadata (setup.py) ... done
Collecting transformers==4.3.2
Using cached transformers-4.3.2-py3-none-any.whl (1.8 MB)
Collecting beautifulsoup4==4.9.3
Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting SpeechRecognition==3.8.1
Using cached SpeechRecognition-3.8.1-py2.py3-none-any.whl (32.8 MB)
Collecting opencv-contrib-python==4.5.2.52
Using cached opencv-contrib-python-4.5.2.52.tar.gz (149.7 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [316 lines of output]
Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "linux" and platform_machine == "aarch64"' don't ma
tch your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "darwin" and platform_machine == "aarch64"' don't m
atch your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine != "aarch64"' don't match your environment
Collecting setuptools
Using cached setuptools-65.6.3-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
Collecting scikit-build
Downloading scikit_build-0.16.4-py3-none-any.whl (78 kB)
-------------------------------------- 78.6/78.6 kB 727.3 kB/s eta 0:00:00
Collecting cmake
Using cached cmake-3.25.0-py2.py3-none-win_amd64.whl (32.6 MB)
Collecting pip
Using cached pip-22.3.1-py3-none-any.whl (2.1 MB)
Collecting numpy==1.19.3
Using cached numpy-1.19.3.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[275 lines of output]
setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10.
warnings.warn(
Running from numpy source directory.
setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding te
mplates
run_build = parse_setuppy_commands()
Processing numpy/random\_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
Processing numpy/random\mtrand.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\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anac
onda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
blis_info:
libraries blis not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anacon
da3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\an
aconda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\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\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anac
onda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anac
onda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\U
sers\\Admin\\anaconda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users
\\Admin\\anaconda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\system_i
nfo.py:1914: 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\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anacon
da3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\system_i
nfo.py:1914: 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\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\system_i
nfo.py:1914: 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
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anac
onda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\an
aconda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Ad
min\\anaconda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
flame_info:
libraries flame not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anaco
nda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\envs\My_project\lib
libraries tatlas,tatlas not found in C:\Users\Admin\anaconda3\envs\My_project\lib
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries tatlas,tatlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\Library\lib
libraries tatlas,tatlas not found in C:\Users\Admin\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\Admin\anaconda3\envs\My_project\lib
libraries satlas,satlas not found in C:\Users\Admin\anaconda3\envs\My_project\lib
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries satlas,satlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\Library\lib
libraries satlas,satlas not found in C:\Users\Admin\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\Admin\anaconda3\envs\My_project\lib
libraries ptf77blas,ptcblas,atlas not found in C:\Users\Admin\anaconda3\envs\My_project\lib
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries ptf77blas,ptcblas,atlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\Library\lib
libraries ptf77blas,ptcblas,atlas not found in C:\Users\Admin\anaconda3\Library\lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\envs\My_project\lib
libraries f77blas,cblas,atlas not found in C:\Users\Admin\anaconda3\envs\My_project\lib
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries f77blas,cblas,atlas not found in C:\Users\Admin\anaconda3\envs\My_project\libs
libraries lapack_atlas not found in C:\Users\Admin\anaconda3\Library\lib
libraries f77blas,cblas,atlas not found in C:\Users\Admin\anaconda3\Library\lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Users\\Admin\\anaconda3\\envs\\My_project\\lib', 'C:\\', 'C:\\Users\\Admin\\anac
onda3\\envs\\My_project\\libs', 'C:\\Users\\Admin\\anaconda3\\Library\\lib']
NOT AVAILABLE
C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\system_i
nfo.py:1748: 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\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\system_i
nfo.py:1748: 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
numpy_linalg_lapack_lite:
FOUND:
language = c
define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\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
creating build
creating build\src.win-amd64-3.10
creating build\src.win-amd64-3.10\numpy
creating build\src.win-amd64-3.10\numpy\distutils
building library "npymath" sources
Traceback (most recent call last):
File "C:\Users\Admin\anaconda3\envs\My_project\Lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line
351, in <module>
main()
File "C:\Users\Admin\anaconda3\envs\My_project\Lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line
333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\Admin\anaconda3\envs\My_project\Lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line
152, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\build_meta.py",
line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\build_meta.py",
line 248, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\build_meta.py",
line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\__init__.py", li
ne 165, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\core.
py", line 148, in setup
dist.run_commands()
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\dist.
py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\dist.
py", line 986, in run_command
cmd_obj.run()
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\command\dist_inf
o.py", line 31, in run
egg_info.run()
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\egg_info.py", line 24, in run
self.run_command("build_src")
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\cmd.p
y", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\dist.
py", line 986, in run_command
cmd_obj.run()
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\build_src.py", line 144, in run
self.build_sources()
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\build_src.py", line 155, in build_sources
self.build_library_sources(*libname_info)
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\build_src.py", line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 658, in get_mathlib_info
st = config_cmd.try_link('int main(void) { return 0;}')
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\comma
nd\config.py", line 243, in try_link
self._link(body, headers, include_dirs,
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\config.py", line 162, in _link
return self._wrap_method(old_config._link, lang,
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\config.py", line 96, in _wrap_method
ret = mth(*((self,)+args))
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\comma
nd\config.py", line 137, in _link
(src, obj) = self._compile(body, headers, include_dirs, lang)
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\config.py", line 105, in _compile
src, obj = self._wrap_method(old_config._compile, lang,
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
command\config.py", line 96, in _wrap_method
ret = mth(*((self,)+args))
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\comma
nd\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\_msvc
compiler.py", line 401, in compile
self.spawn(args)
File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-rj_aw3he\overlay\Lib\site-packages\setuptools\_distutils\_msvc
compiler.py", line 505, in spawn
return super().spawn(cmd, env=env)
File "C:\Users\Admin\AppData\Local\Temp\pip-install-w_b5kd3_\numpy_04ac7cc3e5884d778a1a420bec7a5697\numpy\distutils\
ccompiler.py", line 90, in <lambda>
m = lambda self, *args, **kw: func(self, *args, **kw)
TypeError: CCompiler_spawn() got an unexpected keyword argument 'env'
[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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Expected behavior:
Install JarvisAI pip
You are having some problem while installing numpy. Check this in logs-
Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "linux" and platform_machine == "aarch64"' don't ma
tch your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "darwin" and platform_machine == "aarch64"' don't m
atch your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine != "aarch64"' don't match your environment
So try numpy in venv seperately and then install JarvisAI. You can also try without using anaconda, I mean use python 3.8 or above itself (original) without conda or anaconda.
@Dipeshpal hmm that's very weird, because I had install numpy already
Requirement already satisfied: numpy in c:\users\admin\anaconda3\envs\my_project\lib\site-packages (1.23.4)
and what do you mean by "try without using anaconda"?
try to run without venv? or try I have to uninstall the anaconda? or I have to run with python interpreter 3.11 (original)/conda? (I'm using Pycharm btw)
When I exit venv to install the Numpy and JarvisAI it's still successfully but the program seem to not recognize I had install the pip @@
Traceback (most recent call last):
File "**************", line 1, in <module>
import JarvisAI
ModuleNotFoundError: No module named 'JarvisAI'
Process finished with exit code 1
Requirement already satisfied: JarvisAI in c:\users\admin\anaconda3\lib\site-packages (4.2)
Requirement already satisfied: fuzzywuzzy in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.18.0)
Requirement already satisfied: lazyme in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.0.27)
Requirement already satisfied: googletrans in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (3.0.0)
Requirement already satisfied: textdistance in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (4.2.1)
Requirement already satisfied: speedtest-cli in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (2.1.3)
Requirement already satisfied: halo in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.0.31)
Requirement already satisfied: mediapipe==0.8.11 in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.8.11)
Requirement already satisfied: scipy in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.7.3)
Requirement already satisfied: download in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.3.5)
Requirement already satisfied: pyttsx3 in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (2.90)
Requirement already satisfied: numpy in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.21.5)
Requirement already satisfied: pyscreenshot in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (3.0)
Requirement already satisfied: spacy in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (3.4.3)
Requirement already satisfied: pyjokes in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.6.0)
Requirement already satisfied: pywhatkit in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (5.4)
Requirement already satisfied: googlesearch-python in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.1.0)
Requirement already satisfied: pytube in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (12.1.0)
Requirement already satisfied: lxml in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (4.9.1)
Requirement already satisfied: playsound in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.2.2)
Requirement already satisfied: gtts in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (2.2.4)
Requirement already satisfied: Flask in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.1.2)
Requirement already satisfied: youtube-search-python in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.5.1)
Requirement already satisfied: torch in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.13.0)
Requirement already satisfied: pycaw in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (20220416)
Requirement already satisfied: pipwin in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.5.2)
Requirement already satisfied: requests in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (2.25.1)
Requirement already satisfied: shutup in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.2.0)
Requirement already satisfied: pycountry in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (22.3.5)
Requirement already satisfied: pyaudio in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.2.12)
Requirement already satisfied: wikipedia in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.4.0)
Requirement already satisfied: phonetics in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (1.0.5)
Requirement already satisfied: deepspeech in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.9.3)
Requirement already satisfied: SpeechRecognition in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (3.8.1)
Requirement already satisfied: wave in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (0.0.2)
Requirement already satisfied: opencv-python in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (4.6.0.66)
Requirement already satisfied: beautifulsoup4 in c:\users\admin\anaconda3\lib\site-packages (from JarvisAI) (4.9.3)
Requirement already satisfied: opencv-contrib-python in c:\users\admin\anaconda3\lib\site-packages (from mediapipe==0.8.11->Ja
rvisAI) (4.6.0.66)
Requirement already satisfied: protobuf<4,>=3.11 in c:\users\admin\anaconda3\lib\site-packages (from mediapipe==0.8.11->Jarvis
AI) (3.20.1)
Requirement already satisfied: attrs>=19.1.0 in c:\users\admin\anaconda3\lib\site-packages (from mediapipe==0.8.11->JarvisAI)
(21.4.0)
Requirement already satisfied: matplotlib in c:\users\admin\anaconda3\lib\site-packages (from mediapipe==0.8.11->JarvisAI) (3.
5.2)
Requirement already satisfied: absl-py in c:\users\admin\anaconda3\lib\site-packages (from mediapipe==0.8.11->JarvisAI) (1.3.0
)
Requirement already satisfied: soupsieve>1.2 in c:\users\admin\anaconda3\lib\site-packages (from beautifulsoup4->JarvisAI) (2.
3.1)
Requirement already satisfied: six in c:\users\admin\anaconda3\lib\site-packages (from download->JarvisAI) (1.16.0)
Requirement already satisfied: tqdm in c:\users\admin\anaconda3\lib\site-packages (from download->JarvisAI) (4.64.1)
Requirement already satisfied: Werkzeug>=0.15 in c:\users\admin\anaconda3\lib\site-packages (from Flask->JarvisAI) (2.0.3)
Requirement already satisfied: itsdangerous>=0.24 in c:\users\admin\anaconda3\lib\site-packages (from Flask->JarvisAI) (2.0.1)
Requirement already satisfied: Jinja2>=2.10.1 in c:\users\admin\anaconda3\lib\site-packages (from Flask->JarvisAI) (2.11.3)
Requirement already satisfied: click>=5.1 in c:\users\admin\anaconda3\lib\site-packages (from Flask->JarvisAI) (8.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\admin\anaconda3\lib\site-packages (from requests->JarvisAI) (202
2.9.24)
Requirement already satisfied: idna<3,>=2.5 in c:\users\admin\anaconda3\lib\site-packages (from requests->JarvisAI) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\admin\anaconda3\lib\site-packages (from requests->JarvisAI) (
1.26.11)
Requirement already satisfied: chardet<5,>=3.0.2 in c:\users\admin\anaconda3\lib\site-packages (from requests->JarvisAI) (3.0.
4)
Requirement already satisfied: httpx==0.13.3 in c:\users\admin\anaconda3\lib\site-packages (from googletrans->JarvisAI) (0.13.
3)
Requirement already satisfied: hstspreload in c:\users\admin\anaconda3\lib\site-packages (from httpx==0.13.3->googletrans->Jar
visAI) (2022.12.1)
Requirement already satisfied: httpcore==0.9.* in c:\users\admin\anaconda3\lib\site-packages (from httpx==0.13.3->googletrans-
>JarvisAI) (0.9.1)
Requirement already satisfied: sniffio in c:\users\admin\anaconda3\lib\site-packages (from httpx==0.13.3->googletrans->JarvisA
I) (1.2.0)
Requirement already satisfied: rfc3986<2,>=1.3 in c:\users\admin\anaconda3\lib\site-packages (from httpx==0.13.3->googletrans-
>JarvisAI) (1.5.0)
Requirement already satisfied: h2==3.* in c:\users\admin\anaconda3\lib\site-packages (from httpcore==0.9.*->httpx==0.13.3->goo
gletrans->JarvisAI) (3.2.0)
Requirement already satisfied: h11<0.10,>=0.8 in c:\users\admin\anaconda3\lib\site-packages (from httpcore==0.9.*->httpx==0.13
.3->googletrans->JarvisAI) (0.9.0)
Requirement already satisfied: hyperframe<6,>=5.2.0 in c:\users\admin\anaconda3\lib\site-packages (from h2==3.*->httpcore==0.9
.*->httpx==0.13.3->googletrans->JarvisAI) (5.2.0)
Requirement already satisfied: hpack<4,>=3.0 in c:\users\admin\anaconda3\lib\site-packages (from h2==3.*->httpcore==0.9.*->htt
px==0.13.3->googletrans->JarvisAI) (3.0.0)
Requirement already satisfied: spinners>=0.0.24 in c:\users\admin\anaconda3\lib\site-packages (from halo->JarvisAI) (0.0.24)
Requirement already satisfied: log-symbols>=0.0.14 in c:\users\admin\anaconda3\lib\site-packages (from halo->JarvisAI) (0.0.14
)
Requirement already satisfied: colorama>=0.3.9 in c:\users\admin\anaconda3\lib\site-packages (from halo->JarvisAI) (0.4.5)
Requirement already satisfied: termcolor>=1.1.0 in c:\users\admin\anaconda3\lib\site-packages (from halo->JarvisAI) (2.1.1)
Requirement already satisfied: docopt in c:\users\admin\anaconda3\lib\site-packages (from pipwin->JarvisAI) (0.6.2)
Requirement already satisfied: packaging in c:\users\admin\anaconda3\lib\site-packages (from pipwin->JarvisAI) (21.3)
Requirement already satisfied: pyprind in c:\users\admin\anaconda3\lib\site-packages (from pipwin->JarvisAI) (2.11.3)
Requirement already satisfied: js2py in c:\users\admin\anaconda3\lib\site-packages (from pipwin->JarvisAI) (0.74)
Requirement already satisfied: pySmartDL>=1.3.1 in c:\users\admin\anaconda3\lib\site-packages (from pipwin->JarvisAI) (1.3.4)
Requirement already satisfied: psutil in c:\users\admin\anaconda3\lib\site-packages (from pycaw->JarvisAI) (5.9.0)
Requirement already satisfied: comtypes in c:\users\admin\anaconda3\lib\site-packages (from pycaw->JarvisAI) (1.1.10)
Requirement already satisfied: setuptools in c:\users\admin\anaconda3\lib\site-packages (from pycountry->JarvisAI) (63.4.1)
Requirement already satisfied: entrypoint2 in c:\users\admin\anaconda3\lib\site-packages (from pyscreenshot->JarvisAI) (1.1)
Requirement already satisfied: mss in c:\users\admin\anaconda3\lib\site-packages (from pyscreenshot->JarvisAI) (7.0.1)
Requirement already satisfied: EasyProcess in c:\users\admin\anaconda3\lib\site-packages (from pyscreenshot->JarvisAI) (1.1)
Requirement already satisfied: pypiwin32 in c:\users\admin\anaconda3\lib\site-packages (from pyttsx3->JarvisAI) (223)
Requirement already satisfied: pywin32 in c:\users\admin\anaconda3\lib\site-packages (from pyttsx3->JarvisAI) (302)
Requirement already satisfied: Pillow in c:\users\admin\anaconda3\lib\site-packages (from pywhatkit->JarvisAI) (9.2.0)
Requirement already satisfied: pyautogui in c:\users\admin\anaconda3\lib\site-packages (from pywhatkit->JarvisAI) (0.9.53)
Requirement already satisfied: pathy>=0.3.5 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (0.10.0)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI)
(1.0.9)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (2.0.7
)
Requirement already satisfied: langcodes<4.0.0,>=3.2.0 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (3
.3.0)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4 in c:\users\admin\anaconda3\lib\site-packages (from spacy
->JarvisAI) (1.10.2)
Requirement already satisfied: typer<0.8.0,>=0.3.0 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (0.7.0
)
Requirement already satisfied: srsly<3.0.0,>=2.4.3 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (2.4.5
)
Requirement already satisfied: thinc<8.2.0,>=8.1.0 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (8.1.5
)
Requirement already satisfied: wasabi<1.1.0,>=0.9.1 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (0.10
.1)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (3.0
.8)
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.10 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI
) (3.0.10)
Requirement already satisfied: spacy-loggers<2.0.0,>=1.0.0 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI
) (1.0.3)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in c:\users\admin\anaconda3\lib\site-packages (from spacy->JarvisAI) (2
.0.8)
Requirement already satisfied: typing-extensions in c:\users\admin\anaconda3\lib\site-packages (from torch->JarvisAI) (4.3.0)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\admin\anaconda3\lib\site-packages (from Jinja2>=2.10.1->Flask->Jar
visAI) (2.0.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\admin\anaconda3\lib\site-packages (from packaging->pipwin-
>JarvisAI) (3.0.9)
Requirement already satisfied: smart-open<6.0.0,>=5.2.1 in c:\users\admin\anaconda3\lib\site-packages (from pathy>=0.3.5->spac
y->JarvisAI) (5.2.1)
Requirement already satisfied: blis<0.8.0,>=0.7.8 in c:\users\admin\anaconda3\lib\site-packages (from thinc<8.2.0,>=8.1.0->spa
cy->JarvisAI) (0.7.9)
Requirement already satisfied: confection<1.0.0,>=0.0.1 in c:\users\admin\anaconda3\lib\site-packages (from thinc<8.2.0,>=8.1.
0->spacy->JarvisAI) (0.0.3)
Requirement already satisfied: pyjsparser>=2.5.1 in c:\users\admin\anaconda3\lib\site-packages (from js2py->pipwin->JarvisAI)
(2.7.1)
Requirement already satisfied: tzlocal>=1.2 in c:\users\admin\anaconda3\lib\site-packages (from js2py->pipwin->JarvisAI) (4.2)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\admin\anaconda3\lib\site-packages (from matplotlib->mediapipe==0.
8.11->JarvisAI) (1.4.2)
Requirement already satisfied: cycler>=0.10 in c:\users\admin\anaconda3\lib\site-packages (from matplotlib->mediapipe==0.8.11-
>JarvisAI) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\admin\anaconda3\lib\site-packages (from matplotlib->mediapipe==0.
8.11->JarvisAI) (4.25.0)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\admin\anaconda3\lib\site-packages (from matplotlib->mediapipe=
=0.8.11->JarvisAI) (2.8.2)
Requirement already satisfied: PyTweening>=1.0.1 in c:\users\admin\anaconda3\lib\site-packages (from pyautogui->pywhatkit->Jar
visAI) (1.0.4)
Requirement already satisfied: mouseinfo in c:\users\admin\anaconda3\lib\site-packages (from pyautogui->pywhatkit->JarvisAI) (
0.1.3)
Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\admin\anaconda3\lib\site-packages (from pyautogui->pywhatkit->Jar
visAI) (0.1.28)
Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\admin\anaconda3\lib\site-packages (from pyautogui->pywhatkit->Ja
rvisAI) (0.0.9)
Requirement already satisfied: pymsgbox in c:\users\admin\anaconda3\lib\site-packages (from pyautogui->pywhatkit->JarvisAI) (1
.0.9)
Requirement already satisfied: pyrect in c:\users\admin\anaconda3\lib\site-packages (from pygetwindow>=0.0.5->pyautogui->pywha
tkit->JarvisAI) (0.2.0)
Requirement already satisfied: tzdata in c:\users\admin\anaconda3\lib\site-packages (from tzlocal>=1.2->js2py->pipwin->JarvisA
I) (2022.7)
Requirement already satisfied: pytz-deprecation-shim in c:\users\admin\anaconda3\lib\site-packages (from tzlocal>=1.2->js2py->
pipwin->JarvisAI) (0.1.0.post0)
Requirement already satisfied: pyperclip in c:\users\admin\anaconda3\lib\site-packages (from mouseinfo->pyautogui->pywhatkit->
JarvisAI) (1.8.2)