Open nedbat opened 7 years ago
Original comment by Félix Antoine Goudreault (Bitbucket: fgoudreault, GitHub: fgoudreault)
Yes, pip install -e seems to work.
@fgoudreault does "pip install -e ." work for you?
Original comment by Félix Antoine Goudreault (Bitbucket: fgoudreault, GitHub: fgoudreault)
I used python setup.py develop where setup.py looks like:
#!python
from setuptools import setup
import versioneer
setup(name="name",
description="description",
url="url",
install_requires=["nose", "pep8", "coverage", "openpyxl"],
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass())
@fgoudreault thanks for the link to the pypa issue. I didn't know about that one. It mentions easy_install. Can you show the specific commands you are using to run the installation? @chinux23 What commands did you use to install?
Original comment by Félix Antoine Goudreault (Bitbucket: fgoudreault, GitHub: fgoudreault)
I got the same error on windows 10 pro using Miniconda in a virtual env. conda version: 4.3.22 python version: 3.6.1
Also, removing coverage in the install requires fixes the issue. Installing coverage through pip before calling the setup fixes the issue also. There is an issue on setuptools about that : https://github.com/pypa/setuptools/issues/819
Hmm, I have no idea why that would happen. I don't know where there's a 0x90 byte in the coverage.py metadata.
Is there any way you could debug into pkg_resources__init__.py to see what it's looking at?
Originally reported by Chen Huang (Bitbucket: chinux23, GitHub: chinux23)
I am using Windows 10 with Anaconda 64 bit python 3.5. It seems I can't put coverage as part of a requirement in any setup scripts.
For example, running the following setup script will fail:
Any thoughts?
By revmoing "coverage" in the setup script, the install script pass.