Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Pip install #31

Open
hahelui opened this issue Apr 14, 2024 · 0 comments
Open

Pip install #31

hahelui opened this issue Apr 14, 2024 · 0 comments

Comments

@hahelui
Copy link

hahelui commented Apr 14, 2024

I use Linux and I tried to install the module and here is my output of pip install :

Collecting JarvisAI
  Using cached JarvisAI-4.9-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: numpy in ./.venv/lib/python3.11/site-packages (from JarvisAI) (1.26.4)
Requirement already satisfied: gtts in ./.venv/lib/python3.11/site-packages (from JarvisAI) (2.5.1)
Collecting playsound (from JarvisAI)
  Using cached playsound-1.3.0-py3-none-any.whl
Collecting pyscreenshot (from JarvisAI)
  Using cached pyscreenshot-3.1-py3-none-any.whl.metadata (1.4 kB)
Collecting opencv-python (from JarvisAI)
  Using cached opencv_python-4.9.0.80-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Requirement already satisfied: SpeechRecognition in ./.venv/lib/python3.11/site-packages (from JarvisAI) (3.10.3)
Collecting pyjokes (from JarvisAI)
  Using cached pyjokes-0.6.0-py2.py3-none-any.whl.metadata (3.6 kB)
Requirement already satisfied: wikipedia in ./.venv/lib/python3.11/site-packages (from JarvisAI) (1.4.0)
Requirement already satisfied: scipy in ./.venv/lib/python3.11/site-packages (from JarvisAI) (1.13.0)
Collecting lazyme (from JarvisAI)
  Using cached lazyme-0.0.27.tar.gz (6.3 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: requests in ./.venv/lib/python3.11/site-packages (from JarvisAI) (2.31.0)
Requirement already satisfied: pyttsx3 in ./.venv/lib/python3.11/site-packages (from JarvisAI) (2.90)
Collecting spacy==3.5.0 (from JarvisAI)
  Using cached spacy-3.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
Collecting pywhatkit (from JarvisAI)
  Using cached pywhatkit-5.4-py3-none-any.whl.metadata (5.5 kB)
Collecting speedtest-cli (from JarvisAI)
  Using cached speedtest_cli-2.1.3-py2.py3-none-any.whl.metadata (6.8 kB)
Collecting pytube (from JarvisAI)
  Using cached pytube-15.0.0-py3-none-any.whl.metadata (5.0 kB)
Collecting pycountry (from JarvisAI)
  Using cached pycountry-23.12.11-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: pyaudio in ./.venv/lib/python3.11/site-packages (from JarvisAI) (0.2.14)
INFO: pip is looking at multiple versions of jarvisai to determine which version is compatible with other requirements. This could take a while.
Collecting JarvisAI
  Using cached JarvisAI-4.8-py3-none-any.whl.metadata (13 kB)
  Using cached JarvisAI-4.7-py3-none-any.whl.metadata (13 kB)
  Using cached JarvisAI-4.6-py3-none-any.whl.metadata (11 kB)
  Using cached JarvisAI-4.5-py3-none-any.whl.metadata (11 kB)
  Using cached JarvisAI-4.4-py3-none-any.whl.metadata (11 kB)
  Using cached JarvisAI-4.3-py3-none-any.whl.metadata (14 kB)
Collecting pipwin (from JarvisAI)
  Using cached pipwin-0.5.2.tar.gz (7.9 kB)
  Preparing metadata (setup.py) ... done
Collecting lxml (from JarvisAI)
  Using cached lxml-5.2.1-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (3.4 kB)
Requirement already satisfied: beautifulsoup4 in ./.venv/lib/python3.11/site-packages (from JarvisAI) (4.12.3)
Collecting download (from JarvisAI)
  Using cached download-0.3.5-py3-none-any.whl.metadata (3.8 kB)
Requirement already satisfied: torch in ./.venv/lib/python3.11/site-packages (from JarvisAI) (2.2.2)
Collecting googlesearch-python (from JarvisAI)
  Using cached googlesearch-python-1.2.3.tar.gz (3.9 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: spacy in ./.venv/lib/python3.11/site-packages (from JarvisAI) (3.7.4)
Collecting textdistance (from JarvisAI)
  Using cached textdistance-4.6.1-py3-none-any.whl.metadata (18 kB)
Collecting youtube-search-python (from JarvisAI)
  Using cached youtube_search_python-1.6.6-py3-none-any.whl.metadata (99 kB)
Collecting shutup (from JarvisAI)
  Using cached shutup-0.2.0-py3-none-any.whl.metadata (530 bytes)
Requirement already satisfied: Flask in ./.venv/lib/python3.11/site-packages (from JarvisAI) (3.0.3)
Collecting phonetics (from JarvisAI)
  Using cached phonetics-1.0.5.tar.gz (8.8 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: fuzzywuzzy in ./.venv/lib/python3.11/site-packages (from JarvisAI) (0.18.0)
Collecting googletrans (from JarvisAI)
  Using cached googletrans-3.0.0-py3-none-any.whl
Collecting wave (from JarvisAI)
  Using cached Wave-0.0.2.zip (38 kB)
  Preparing metadata (setup.py) ... done
Collecting JarvisAI
  Using cached JarvisAI-4.2-py3-none-any.whl.metadata (13 kB)
INFO: pip is still looking at multiple versions of jarvisai to determine which version is compatible with other requirements. This could take a while.
  Using cached JarvisAI-4.1-py3-none-any.whl.metadata (13 kB)
  Using cached JarvisAI-4.0-py3-none-any.whl.metadata (12 kB)
  Using cached JarvisAI-3.9-py3-none-any.whl.metadata (20 kB)
Collecting gtts==2.2.1 (from JarvisAI)
  Using cached gTTS-2.2.1-py3-none-any.whl.metadata (3.6 kB)
Collecting playsound==1.2.2 (from JarvisAI)
  Using cached playsound-1.2.2-py2.py3-none-any.whl.metadata (3.3 kB)
Collecting SpeechRecognition==3.8.1 (from JarvisAI)
  Using cached SpeechRecognition-3.8.1-py2.py3-none-any.whl.metadata (28 kB)
Collecting pipwin==0.5.0 (from JarvisAI)
  Using cached pipwin-0.5.0-py2.py3-none-any.whl.metadata (3.3 kB)
Collecting lxml==4.6.1 (from JarvisAI)
  Using cached lxml-4.6.1.tar.gz (3.2 MB)
  Preparing metadata (setup.py) ... done
Collecting beautifulsoup4==4.9.3 (from JarvisAI)
  Using cached beautifulsoup4-4.9.3-py3-none-any.whl.metadata (4.2 kB)
Collecting auto-face-recognition (from JarvisAI)
  Using cached auto_face_recognition-0.0.3-py3-none-any.whl.metadata (5.8 kB)
Collecting transformers==4.3.2 (from JarvisAI)
  Using cached transformers-4.3.2-py3-none-any.whl.metadata (36 kB)
Collecting lazyme==0.0.23 (from JarvisAI)
  Using cached lazyme-0.0.23.tar.gz (5.4 kB)
  Preparing metadata (setup.py) ... done
Collecting librosa==0.8.0 (from JarvisAI)
  Using cached librosa-0.8.0.tar.gz (183 kB)
  Preparing metadata (setup.py) ... done
Collecting JarvisAI
  Using cached JarvisAI-3.7.1-py3-none-any.whl.metadata (20 kB)
  Using cached JarvisAI-3.7-py3-none-any.whl.metadata (20 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached JarvisAI-3.6-py3-none-any.whl.metadata (19 kB)
  Using cached JarvisAI-3.5-py3-none-any.whl.metadata (19 kB)
  Using cached JarvisAI-3.4-py3-none-any.whl.metadata (15 kB)
  Using cached JarvisAI-3.3-py3-none-any.whl.metadata (15 kB)
  Using cached JarvisAI-3.2-py3-none-any.whl.metadata (15 kB)
  Using cached JarvisAI-3.1-py3-none-any.whl.metadata (11 kB)
  Using cached JarvisAI-3.0-py3-none-any.whl.metadata (11 kB)
  Using cached JarvisAI-0.2.9-py3-none-any.whl.metadata (10 kB)
Collecting numpy==1.18.5 (from JarvisAI)
  Using cached numpy-1.18.5.zip (5.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [56 lines of output]
      Running from numpy source directory.
      <string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      /tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        required_version = LooseVersion('0.29.14')
      /tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(cython_version) < required_version:
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              for i in range(1, RK_STATE_LEN):
                  self.rng_state.key[i] = val[i]
              self.rng_state.pos = i
      
              self._bitgen.state = &self.rng_state
              self._bitgen.next_uint64 = &mt19937_uint64
                                         ^
      ------------------------------------------------------------
      
      _mt19937.pyx:138:35: Cannot assign type 'uint64_t (*)(void *) except? -1 nogil' to 'uint64_t (*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
      Processing numpy/random/_bounded_integers.pxd.in
      Processing numpy/random/_mt19937.pyx
      Traceback (most recent call last):
        File "/tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py", line 238, in <module>
          main()
        File "/tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py", line 234, in main
          find_process_files(root_dir)
        File "/tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py", line 225, in find_process_files
          process(root_dir, fromfile, tofile, function, hash_db)
        File "/tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py", line 191, in process
          processor_function(fromfile, tofile)
        File "/tmp/pip-install-07tmoj79/numpy_ef5d41b89222442ca75ff95691700e8a/tools/cythonize.py", line 80, in process_pyx
          subprocess.check_call(
        File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/home/kira/Drakula-AI/pythonProject1/.venv/bin/python', '-m', 'cython', '-3', '--fast-fail', '-o', '_mt19937.c', '_mt19937.pyx']' returned non-zero exit status 1.
      Cythonizing sources
      Traceback (most recent call last):
        File "/home/kira/Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/kira/Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/kira/Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-i4rj5amd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 366, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-i4rj5amd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-i4rj5amd/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 488, in <module>
        File "<string>", line 469, in setup_package
        File "<string>", line 275, in generate_cython
      RuntimeError: Running cythonize failed!
      [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.

also trying to install the package trough pycharm I goot this :

Collecting JarvisAI==4.9
  Using cached JarvisAI-4.9-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: numpy in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (1.26.4)
Requirement already satisfied: gtts in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (2.5.1)
Collecting playsound (from JarvisAI==4.9)
  Using cached playsound-1.3.0-py3-none-any.whl
Collecting pyscreenshot (from JarvisAI==4.9)
  Using cached pyscreenshot-3.1-py3-none-any.whl.metadata (1.4 kB)
Collecting opencv-python (from JarvisAI==4.9)
  Using cached opencv_python-4.9.0.80-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (20 kB)
Requirement already satisfied: SpeechRecognition in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (3.10.3)
Collecting pyjokes (from JarvisAI==4.9)
  Using cached pyjokes-0.6.0-py2.py3-none-any.whl.metadata (3.6 kB)
Requirement already satisfied: wikipedia in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (1.4.0)
Requirement already satisfied: scipy in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (1.13.0)
Collecting lazyme (from JarvisAI==4.9)
  Using cached lazyme-0.0.27.tar.gz (6.3 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: requests in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (2.31.0)
Requirement already satisfied: pyttsx3 in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (2.90)
Collecting spacy==3.5.0 (from JarvisAI==4.9)
  Using cached spacy-3.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
Collecting pywhatkit (from JarvisAI==4.9)
  Using cached pywhatkit-5.4-py3-none-any.whl.metadata (5.5 kB)
Collecting speedtest-cli (from JarvisAI==4.9)
  Using cached speedtest_cli-2.1.3-py2.py3-none-any.whl.metadata (6.8 kB)
Collecting pytube (from JarvisAI==4.9)
  Using cached pytube-15.0.0-py3-none-any.whl.metadata (5.0 kB)
Collecting pycountry (from JarvisAI==4.9)
  Using cached pycountry-23.12.11-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: pyaudio in ./Drakula-AI/pythonProject1/.venv/lib/python3.11/site-packages (from JarvisAI==4.9) (0.2.14)
INFO: pip is looking at multiple versions of jarvisai to determine which version is compatible with other requirements. This could take a while.

ERROR: Could not find a version that satisfies the requirement mediapipe==0.8.11 (from jarvisai) (from versions: 0.9.0.1, 0.9.1.0, 0.9.2.1, 0.9.3.0, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.5, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11)
ERROR: No matching distribution found for mediapipe==0.8.11

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

No branches or pull requests

1 participant