python273 / telegraph

Telegraph API wrapper | Telegra.ph
https://pypi.org/project/telegraph/
MIT License
287 stars 43 forks source link

error install windows 10 -python3.7 #28

Closed gorpoorko closed 3 years ago

gorpoorko commented 3 years ago

C:\Users\guilh>pip install telegraph Collecting telegraph Using cached telegraph-1.4.1.tar.gz (6.1 kB) ERROR: Command errored out with exit status 1: command: 'c:\users\guilh\appdata\local\programs\python\python37\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\guilh\AppData\Local\Temp\pip-install-meatektr\telegraph\setup.py'"'"'; file='"'"'C:\Users\guilh\AppData\Local\Temp\pip-install-meatektr\telegraph\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\guilh\AppData\Local\Temp\pip-pip-egg-info-vmcv64wz' cwd: C:\Users\guilh\AppData\Local\Temp\pip-install-meatektr\telegraph\ Complete output (28 lines): Traceback (most recent call last): File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\pkg_resources__init.py", line 2866, in get_entry_map ep_map = self._ep_map File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\init.py", line 2824, in getattr__ raise AttributeError(attr) AttributeError: _ep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\guilh\AppData\Local\Temp\pip-install-meatektr\telegraph\setup.py", line 58, in <module>
    'Programming Language :: Python :: Implementation :: CPython',
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 164, in setup
    _install_setup_requires(attrs)
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 154, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\setuptools\__init__.py", line 146, in __init__
    distutils.core.Distribution.__init__(self, filtered)
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\setuptools\dist.py", line 427, in __init__
    for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 655, in <genexpr>
    for entry in dist.get_entry_map(group).values()
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2869, in get_entry_map
    self._get_metadata('entry_points.txt'), self
  File "c:\users\guilh\appdata\local\programs\python\python37\lib\site-packages\pkg_resources\__init__.py", line 2549, in parse_map
    raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.