Skip to content

Installation issue with pip #18

Open
@aritra019

Description

@aritra019

I am getting the following error messege while installing mpi4pyscf as pip3.8 install mpi4pyscf. Please let me know what is going wrong here.

Defaulting to user installation because normal site-packages is not writeable Collecting mpi4pyscf Using cached mpi4pyscf-0.3.1.tar.gz (49 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yokk4qqc/mpi4pyscf_846a600085724b7f9468b417f916d1ec/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yokk4qqc/mpi4pyscf_846a600085724b7f9468b417f916d1ec/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-imhocte0 cwd: /tmp/pip-install-yokk4qqc/mpi4pyscf_846a600085724b7f9468b417f916d1ec/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-yokk4qqc/mpi4pyscf_846a600085724b7f9468b417f916d1ec/setup.py", line 15, in <module> with open(os.path.join(topdir, 'requirements.txt'), 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-yokk4qqc/mpi4pyscf_846a600085724b7f9468b417f916d1ec/requirements.txt' ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/05/7b/227c77a3c5ef88ff9ef61058287ef898e16eca0eeb198decc50274d11f55/mpi4pyscf-0.3.1.tar.gz#sha256=724c1271e4d23f1de74482813dceeba8db4189f0e44c8ecb1fdb398c1c6d854f (from https://pypi.org/simple/mpi4pyscf/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Using cached mpi4pyscf-0.3.0.tar.gz (914 bytes) WARNING: Generating metadata for package mpi4pyscf produced metadata for project name unknown. Fix your #egg=mpi4pyscf fragments. WARNING: Discarding https://files.pythonhosted.org/packages/bf/de/d2a4998a7ec005957fd199b338ecb4d002fa0269256e62f3c46408e61cb4/mpi4pyscf-0.3.0.tar.gz#sha256=b7d9926e8f970e056261d84b537ab41c04d20d44d97c70cae711c46454bfec5e (from https://pypi.org/simple/mpi4pyscf/). Requested unknown from https://files.pythonhosted.org/packages/bf/de/d2a4998a7ec005957fd199b338ecb4d002fa0269256e62f3c46408e61cb4/mpi4pyscf-0.3.0.tar.gz#sha256=b7d9926e8f970e056261d84b537ab41c04d20d44d97c70cae711c46454bfec5e has inconsistent name: filename has 'mpi4pyscf', but metadata has 'UNKNOWN' ERROR: Could not find a version that satisfies the requirement mpi4pyscf (from versions: 0.3.0, 0.3.1) ERROR: No matching distribution found for mpi4pyscf WARNING: You are using pip version 21.1.1; however, version 21.1.2 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions