Skip to content

[Bug]: Install error Cannot unpack file /tmp/pip-unpack-_d5u6dgt/crystaltoolkit #399

@cedricrocha

Description

@cedricrocha

Code snippet

pip install https://github.com/materialsproject/crystaltoolkit
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/materialsproject/crystaltoolkit
  Downloading https://github.com/materialsproject/crystaltoolkit
     / 406.0 kB 27.5 kB/s 0:00:13
  ERROR: Cannot unpack file /tmp/pip-unpack-_d5u6dgt/crystaltoolkit (downloaded from /tmp/pip-req-build-nqy_xmc1, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-nqy_xmc1

What happened?

Hello

I'm trying to install crystaltoolkit from pip install and getting errors like

ERROR: Exception:
Traceback (most recent call last):
File "/home/cedric/.local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 3070, in _dep_map
return self.__dep_map
File "/home/cedric/.local/lib/python3.8/site-packages/pip/_vendor/pkg_resources/init.py", line 2863, in getattr
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

So I tried instead installing from github.

pip install https://github.com/materialsproject/crystaltoolkit
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/materialsproject/crystaltoolkit
Downloading https://github.com/materialsproject/crystaltoolkit
/ 406.0 kB 27.5 kB/s 0:00:13
ERROR: Cannot unpack file /tmp/pip-unpack-_d5u6dgt/crystaltoolkit (downloaded from /tmp/pip-req-build-nqy_xmc1, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-nqy_xmc1

Can you please help me?

Version

Ubuntu 20.04.6 LTS

Which OS?

  • MacOS
  • Windows
  • Linux

Log output

ERROR: Cannot unpack file /tmp/pip-unpack-_d5u6dgt/crystaltoolkit (downloaded from /tmp/pip-req-build-nqy_xmc1, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-nqy_xmc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions