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

installation error #6077

Closed
appleGun22 opened this issue Nov 22, 2020 · 3 comments
Closed

installation error #6077

appleGun22 opened this issue Nov 22, 2020 · 3 comments
Labels
bug This is a bug with the library. off-topic This does not belong here.

Comments

@appleGun22
Copy link

appleGun22 commented Nov 22, 2020

I'm trying to download discord.py libray but i get every time this wierd error

C:\python>pip3 install discord.py
Collecting discord.py
Using cached discord.py-1.5.1-py3-none-any.whl (701 kB)
Collecting aiohttp<3.7.0,>=3.6.0
Using cached aiohttp-3.6.3.tar.gz (1.1 MB)
ERROR: Exception:
Traceback (most recent call last):
File "c:\users*\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\base_command.py", line 228, in _main
status = self.run(options, args)
File "c:\users*
\appdata\local\programs\python\python39\lib\site-packages\pip_internal\cli\req_command.py", line 182, in wrapper
return func(self, options, args)
File "c:\users*\appdata\local\programs\python\python39\lib\site-packages\pip_internal\commands\install.py", line 323, in run
requirement_set = resolver.resolve(
File "c:\users*
\appdata\local\programs\python\python39\lib\site-packages\pip_internal\resolution\legacy\resolver.py", line 183, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "c:\users*\appdata\local\programs\python\python39\lib\site-packages\pip_internal\resolution\legacy\resolver.py", line 388, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "c:\users*
\appdata\local\programs\python\python39\lib\site-packages\pip_internal\resolution\legacy\resolver.py", line 340, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(req)
File "c:\users*\appdata\local\programs\python\python39\lib\site-packages\pip_internal\operations\prepare.py", line 482, in prepare_linked_requirement
abstract_dist = _get_prepared_distribution(
File "c:\users*
\appdata\local\programs\python\python39\lib\site-packages\pip_internal\operations\prepare.py", line 91, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "c:\users*\appdata\local\programs\python\python39\lib\site-packages\pip_internal\distributions\sdist.py", line 38, in prepare_distribution_metadata
self._setup_isolation(finder)
File "c:\users*
\appdata\local\programs\python\python39\lib\site-packages\pip_internal\distributions\sdist.py", line 65, in _setup_isolation
self.req.build_env = BuildEnvironment()
File "c:\users*\appdata\local\programs\python\python39\lib\site-packages\pip_internal\build_env.py", line 82, in init
fp.write(textwrap.dedent(
File "c:\users*
\appdata\local\programs\python\python39\lib\encodings\cp1251.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 148-152: character maps to

im guessing its because my user name(c:\users\***) is not an english text, but i didn't had problems with it before

@appleGun22 appleGun22 added the bug This is a bug with the library. label Nov 22, 2020
@ghost
Copy link

ghost commented Nov 22, 2020

try change yo useename or PC name

@appleGun22
Copy link
Author

try change yo useename or PC name

yeah as i thought that was the problem, now it works

@Harmon758
Copy link
Contributor

This is an issue with pip, not discord.py. See pypa/pip#9054.

For code block usage, see https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks.

@dpy-manager-bot dpy-manager-bot added the off-topic This does not belong here. label Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug with the library. off-topic This does not belong here.
Projects
None yet
Development

No branches or pull requests

3 participants