question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'module' object has no attribute 'evaluate_marker'

See original GitHub issue

I’m getting the following when trying to install vcrpy:

Downloading/unpacking vcrpy==1.6.1 (from -r requirements-tests.txt (line 12))
  Using download cache from ...
  Running setup.py egg_info for package vcrpy
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File ".../env/build/vcrpy/setup.py", line 36, in <module>
        if key.startswith(':') and pkg_resources.evaluate_marker(key[1:]):
    AttributeError: 'module' object has no attribute 'evaluate_marker'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File ".../env/build/vcrpy/setup.py", line 36, in <module>

    if key.startswith(':') and pkg_resources.evaluate_marker(key[1:]):

AttributeError: 'module' object has no attribute 'evaluate_marker'

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
charlaxcommented, Jul 29, 2015

This happens when using distribute-0.6.34-py2.7.egg, which is pretty old.

0reactions
graingertcommented, Jul 12, 2017

@Lushali also that’s a bug in pbr that mock is using

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'module' object has no attribute - python
E.g. I had a module called commands which is also a Python library module. This proved to be difficult to track down as...
Read more >
AttributeError: 'module' object has no attribute 'which' #32
I installed pydeface on my CentOS 7.6, and my python version is 2.7.5 I got the following message when running pydeface on my...
Read more >
[Solved] AttributeError: 'module' object has no attribute
Click here to subscribe - https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww▻Instagram ...
Read more >
Plesk Migration Fails with "AttributeError: 'module' object ...
An attempt to connect to the remote server ends up with the following error ... AttributeError: 'module' object has no attribute 'getlocale'.
Read more >
AttributeError: \'module\' object has no attribute
I have two python modules: a.py import b def hello(): print "hello" print "a.py" print hello() print b.hi() b.py import a def hi():...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found