SevaSk / ecoute

Ecoute is a live transcription tool that provides real-time transcripts for both the user's microphone input (You) and the user's speakers output (Speaker) in a textbox. It also generates a suggested response using OpenAI's GPT-3.5 for the user to say based on the live transcription of the conversation.
https://github.com/SevaSk/ecoute
MIT License
5.85k stars 817 forks source link

Memory Error while installing requirements #106

Open aboda28 opened 1 year ago

aboda28 commented 1 year ago

D:\ecoute>pip install -r requirements.txt Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu 117 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status =None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host=' download.pytorch.org', port=443): Read timed out. (read timeout=15)")': /whl/cu1 17/numpy/ Collecting numpy==1.24.3 (from -r requirements.txt (line 1)) Using cached numpy-1.24.3-cp38-cp38-win_amd64.whl (14.9 MB) Collecting openai-whisper==20230314 (from -r requirements.txt (line 2)) Using cached openai-whisper-20230314.tar.gz (792 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting Wave==0.0.2 (from -r requirements.txt (line 3)) Using cached Wave-0.0.2.zip (38 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting openai==0.27.6 (from -r requirements.txt (line 4)) Using cached openai-0.27.6-py3-none-any.whl (71 kB) Collecting customtkinter==5.1.3 (from -r requirements.txt (line 5)) Using cached customtkinter-5.1.3-py3-none-any.whl (295 kB) Collecting PyAudioWPatch==0.2.12.5 (from -r requirements.txt (line 6)) Using cached PyAudioWPatch-0.2.12.5-cp38-cp38-win_amd64.whl (85 kB) Collecting torch (from -r requirements.txt (line 8)) Downloading https://download.pytorch.org/whl/cu117/torch-2.0.1%2Bcu117-cp38-cp 38-win_amd64.whl (2343.7 MB) --------------------------------------- 2.3/2.3 GB 1.5 MB/s eta 0:00:01 ERROR: Exception: Traceback (most recent call last): File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\cli\base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\cli\req_command.py", line 248, in wrapper return func(self, options, args) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\commands\install.py", line 377, in run requirement_set = resolver.resolve( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\resolver.py", line 92, in resolve result = self._result = resolver.resolve( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\resolvelib\resolvers.py", line 546, in resolve state = resolution.resolve(requirements, max_rounds=max_rounds) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\resolvelib\resolvers.py", line 397, in resolve self._add_to_criteria(self.state.criteria, r, parent=None) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\resolvelib\resolvers.py", line 173, in _add_to_criteria if not criterion.candidates: File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\resolvelib\structs.py", line 156, in bool return bool(self._sequence) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\found_candidates.py", line 155, in bool return any(self) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\found_candidates.py", line 143, in <genexp r> return (c for c in iterator if id(c) not in self._incompatible_ids) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_bu ilt candidate = func() File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\factory.py", line 206, in _makecandidate from_link self._link_candidate_cache[link] = LinkCandidate( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\candidates.py", line 293, in init super().init( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\candidates.py", line 156, in init__ self.dist = self._prepare() File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\candidates.py", line 225, in _prepare dist = self._prepare_distribution() File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\resolution\resolvelib\candidates.py", line 304, in _prepare_dist ribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)

File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\operations\prepare.py", line 516, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\operations\prepare.py", line 587, in _prepare_linked_requirement

local_file = unpack_url(

File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\operations\prepare.py", line 166, in unpack_url file = get_http_url( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\operations\prepare.py", line 107, in get_http_url from_path, content_type = download(link, temp_dir.path) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\network\download.py", line 147, in call for chunk in chunks: File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\cli\progress_bars.py", line 53, in _rich_progress_bar for chunk in iterable: File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_internal\network\utils.py", line 63, in response_chunks for chunk in response.raw.stream( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\urllib3\response.py", line 622, in stream data = self.read(amt=amt, decode_content=decode_content) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\urllib3\response.py", line 561, in read data = self._fp_read(amt) if not fp_closed else b"" File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\urllib3\response.py", line 527, in _fp_read return self._fp.read(amt) if amt is not None else self._fp.read() File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\cachecontrol\filewrapper.py", line 96, in read self._close() File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\cachecontrol\filewrapper.py", line 76, in _close self.callback(result) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\cachecontrol\controller.py", line 353, in cache_response self._cache_set(cache_url, request, response, body, expires_time) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\cachecontrol\controller.py", line 274, in _cache_set self.serializer.dumps(request, response, body), File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\cachecontrol\serialize.py", line 70, in dumps return b",".join([b"cc=4", msgpack.dumps(data, use_bin_type=True)]) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\init__.py", line 38, in packb return Packer(**kwargs).pack(o) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\fallback.py", line 883, in pack self._pack(obj) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\fallback.py", line 862, in _pack return self._pack_map_pairs( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\fallback.py", line 968, in _pack_map_pairs self._pack(v, nest_limit - 1) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\fallback.py", line 862, in _pack return self._pack_map_pairs( File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\fallback.py", line 967, in _pack_map_pairs self._pack(k, nest_limit - 1) File "c:\users\windows\appdata\local\programs\python\python38\lib\site-package s\pip_vendor\msgpack\fallback.py", line 815, in _pack return self._buffer.write(obj) MemoryError

D:\ecoute>

rmhckrkz commented 1 year ago

@aboda28 please, uninstall python and reinstall again other version. Looks like you have more than one version of python and the issue is with path.