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.

pip2/3 install not working

See original GitHub issue

I tried to update holoviews with pip2 and pip3 and ran into the following:

± pip2 install holoviews --upgrade --user
Collecting holoviews
  Using cached https://files.pythonhosted.org/packages/3b/09/a52d35bd4f59c5d62bf7baf04b2980d697fe4ceecda193c0ce8a4a3f957f/holoviews-1.10.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/ahundt/pip-install-CGRjGQ/holoviews/setup.py", line 75, in <module>
        version=get_setup_version("holoviews"),
      File "/tmp/ahundt/pip-install-CGRjGQ/holoviews/setup.py", line 68, in get_setup_version
        return version.Version.setup_version(basepath, reponame, archive_commit="$Format:%h$")
    AttributeError: type object 'Version' has no attribute 'setup_version'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/ahundt/pip-install-CGRjGQ/holoviews/
-> [1]
± pip3 install holoviews --upgrade --user
Collecting holoviews
  Using cached https://files.pythonhosted.org/packages/3b/09/a52d35bd4f59c5d62bf7baf04b2980d697fe4ceecda193c0ce8a4a3f957f/holoviews-1.10.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/ahundt/pip-install-pc44o4v0/holoviews/setup.py", line 75, in <module>
        version=get_setup_version("holoviews"),
      File "/tmp/ahundt/pip-install-pc44o4v0/holoviews/setup.py", line 68, in get_setup_version
        return version.Version.setup_version(basepath, reponame, archive_commit="$Format:%h$")
    AttributeError: type object 'Version' has no attribute 'setup_version'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/ahundt/pip-install-pc44o4v0/holoviews/

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ceballcommented, Jun 6, 2018

My guess is that you have an older version of param, which is providing a version.py file incompatible with the current holoviews. If you don’t have param 1.6.1, I think that first running pip2 install --upgrade --user param or pip3 install --upgrade --user param before upgrading holoviews might solve your problem. (Note: commands not tested.)

This problem of requiring param at install time for pip users occurs because pip must build holoviews from the sdist before installing it; the problem will go away when holoviews provides wheels on pypi (soon!).

The problem of mismatched param and holoviews versions at build time (e.g. for people using the sdist) will be fixed when holoviews specifies build time dependencies and everyone has a new enough version of pip (>=10), i.e. at some point in the future…

1reaction
philippjfrcommented, Jun 20, 2018

Wheels for holoviews and pyviz_comms have now been uploaded.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip3 install not working properly and cannot link to python3
I am using a Mac and have both python 2 and 3 installed. However when I try to run a python 3 script...
Read more >
pip install --upgrade pip breaks pip · Issue #6784 · pypa/pip
This bug looks very close to #5432 "pip install --upgrade pip breaks pip, still". ... before /usr/local/bin/pip , everything fails.
Read more >
How to install modules with PIP (and fix it when it fails) - Medium
Assuming that, the first thing to do is to check if the module exists. The main way to do this is to go...
Read more >
How To Fix PIP Install Not Working? - TechNewsToday
When attempting to install Python packages, you may encounter errors stating PIP is not recognized, command not found, or can't open the file....
Read more >
ID Badge Pick Set PIP-23 - Foley Belsaw Locksmithing
The I.D. Badge Pick Set is a handy way to carry a lock picking set and a means of identification at the same...
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