google-deepmind / google-deepmind/alphafold

UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 22: character maps to <undefined>

Open
#808 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14.9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Currently working on installing and setting up v2.3.2. Running Windows 11, Docker v24.0.2, and Debian Linux 9.

(NOTE — Not an expert compsci guy, just a tech guy tryna help some science guys.)

When trying to install the `run_docker.py ` dependencies from `requirements.txt`, I am get the following:

```
C:\Users\user_name\Downloads\alphafold-main\alphafold-main>pip3 install -r docker/requirements.txt
Collecting absl-py==1.0.0 (from -r docker/requirements.txt (line 2))
Using cached absl_py-1.0.0-py3-none-any.whl (126 kB)
Collecting docker==5.0.0 (from -r docker/requirements.txt (line 3))
Using cached docker-5.0.0-py2.py3-none-any.whl (146 kB)
Collecting six (from absl-py==1.0.0->-r docker/requirements.txt (line 2))
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting websocket-client>=0.32.0 (from docker==5.0.0->-r docker/requirements.txt (line 3))
Obtaining dependency information for websocket-client>=0.32.0 from https://files.pythonhosted.org/packages/d3/a3/63e9329c8cc9be6153e919e17d0ef5b60d537fed78564872951b95bcc17c/websocket_client-1.6.1-py3-none-any.whl.metadata
Using cached websocket_client-1.6.1-py3-none-any.whl.metadata (7.6 kB)
Collecting requests!=2.18.0,>=2.14.2 (from docker==5.0.0->-r docker/requirements.txt (line 3))
Obtaining dependency information for requests!=2.18.0,>=2.14.2 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
INFO: pip is looking at multiple versions of docker to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement pywin32==227; sys_platform == "win32" (from docker) (from versions: 303, 304, 305, 306)
ERROR: No matching distribution found for pywin32==227; sys_platform == "win32"
```

Referencing another issue request, [linked here](https://github.com/docker/docker-py/issues/2033), I figured that I needed to install a different version of `pywin32`. I subsequently attempted to install [227](https://pypi.org/project/pywin32/227/), [306](https://pypi.org/project/pywin32/), [304](https://pypi.org/project/pywin32/), and [220](https://pypi.org/project/pypiwin32/220/#files) with the follow always appearing:

```
C:\Users\user_name\Downloads\alphafold-main\alphafold-main>pip3 install -r pywin32-304.0-cp311-cp311-win32.whl
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\cli\base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\cli\req_command.py", line 248, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\commands\install.py", line 342, in run
reqs = self.get_requirements(args, options, finder, session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\cli\req_command.py", line 436, in get_requirements
for parsed_req in parse_requirements(
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\req\req_file.py", line 148, in parse_requirements
for parsed_line in parser.parse(filename, constraint):
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\req\req_file.py", line 335, in parse
yield from self._parse_and_recurse(filename, constraint)
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\req\req_file.py", line 340, in _parse_and_recurse
for line in self._parse_file(filename, constraint):
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\req\req_file.py", line 371, in _parse_file
_, content = get_file_content(filename, self._session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\req\req_file.py", line 549, in get_file_content
content = auto_decode(f.read())
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user_name\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pip\_internal\utils\encoding.py", line 34, in auto_decode
return data.decode(
^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\encodings\cp1252.py", line 15, in decode
return codecs.charmap_decode(input,errors,decoding_table)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 22: character maps to
```
Any and all help appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.