error when updating. 'pyfunceble' in section 'console_scripts' already exists
See original GitHub issueuser@computer:~/repos/PyFunceble$ . venv/bin/activate && pip3 install -e .
Obtaining file:///home/user/repos/PyFunceble
Collecting colorama>=0.3.9 (from PyFunceble-dev==0.133.1)
Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Collecting domain2idna>=1.6.1 (from PyFunceble-dev==0.133.1)
Using cached https://files.pythonhosted.org/packages/4e/27/b7336824583e26d3e33f7b6917c00e51b7c8a94bc1d4b78d6aa1eb9c7e8b/domain2idna-1.6.1-py3-none-any.whl
Collecting PyYAML>=3.13 (from PyFunceble-dev==0.133.1)
Collecting requests>=2.19.1 (from PyFunceble-dev==0.133.1)
Using cached https://files.pythonhosted.org/packages/ff/17/5cbb026005115301a8fb2f9b0e3e8d32313142fe8b617070e7baad20554f/requests-2.20.1-py2.py3-none-any.whl
Collecting setuptools>=40.4.3 (from PyFunceble-dev==0.133.1)
Using cached https://files.pythonhosted.org/packages/e7/16/da8cb8046149d50940c6110310983abb359bbb8cbc3539e6bef95c29428a/setuptools-40.6.2-py2.py3-none-any.whl
Collecting urllib3>=1.23 (from PyFunceble-dev==0.133.1)
Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests>=2.19.1->PyFunceble-dev==0.133.1)
Downloading https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl (154kB)
100% |████████████████████████████████| 163kB 2.9MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.19.1->PyFunceble-dev==0.133.1)
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.8,>=2.5 (from requests>=2.19.1->PyFunceble-dev==0.133.1)
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Installing collected packages: colorama, setuptools, domain2idna, PyYAML, certifi, chardet, idna, urllib3, requests, PyFunceble-dev
Found existing installation: PyFunceble-dev 0.127.5
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 360, in run
prefix=options.prefix_path,
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 778, in install
requirement.uninstall(auto_confirm=True)
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 734, in uninstall
FakeFile(dist.get_metadata_lines('entry_points.txt'))
File "/usr/lib/python3.6/configparser.py", line 763, in readfp
self.read_file(fp, source=filename)
File "/usr/lib/python3.6/configparser.py", line 718, in read_file
self._read(f, source)
File "/usr/lib/python3.6/configparser.py", line 1092, in _read
fpname, lineno)
configparser.DuplicateOptionError: While reading from '<???>' [line 3]: option 'pyfunceble' in section 'console_scripts' already exists
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
e` does not install console scripts · Issue #11067 · pypa/pip
Description No console scripts are installed when using editable mode for pip install. Expected behavior Console scripts should be installed ...
Read more >Simple index - piwheels
... holodex hardlyjson adafruit-circuitpython-wsgi ftpackage ringo-tag mondriaan nctevn rqrcode pycsvy django-simple-error pyriksprot-tagger tle2czml modpy ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks. You did.
It’s 2:48PM Saturday afternoon here 😃
I am using setup.py as part of distro packaging https://build.opensuse.org/package/show/home:jayvdb:py-new/python-PyFunceble
The dev branch also has the same problem https://github.com/funilrys/PyFunceble/blob/dev/setup.py#L193
Note this breaks any use of pkg_resources after installation, even unrelated to pyfunceble ; it breaks other packages installed into the same site-packages that pyfunceble is installed into. pytest is just one example.