Skip to content

Not able to pip install package in anaconda on windows 10 #13

@Joost-A

Description

@Joost-A

I tried to install the package with the anaconda prompt on a windows 10 system using the command 'pip install ovf'. I recieved the following error message:

Collecting ovf
  Using cached ovf-0.4.3.tar.gz (492 kB)
    ERROR: Command errored out with exit status 1:
     command: 'c:\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-0ueof6kx\\ovf\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-0ueof6kx\\ovf\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-install-0ueof6kx\ovf\pip-egg-info'
         cwd: C:\Users\user\AppData\Local\Temp\pip-install-0ueof6kx\ovf\
    Complete output (9 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\user\AppData\Local\Temp\pip-install-0ueof6kx\ovf\setup.py", line 123, in <module>
        long_description = read(README),
      File "C:\Users\user\AppData\Local\Temp\pip-install-0ueof6kx\ovf\setup.py", line 45, in read
        with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
      File "c:\anaconda3\lib\codecs.py", line 897, in open
        file = builtins.open(filename, mode, buffering)
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-0ueof6kx\\ovf\\..\\README.md'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I then tried to clone the respository with git. I gave the anaconda prompt the command: "pip install git+https://github.com/spirit-code/ovf.git" and got the following error message.

Collecting git+https://github.com/spirit-code/ovf.git
  Cloning https://github.com/spirit-code/ovf.git to c:\users\user\appdata\local\temp\pip-req-build-k2mltrb6
  Running command git clone -q https://github.com/spirit-code/ovf.git 'C:\Users\user\AppData\Local\Temp\pip-req-build-k2mltrb6'
    ERROR: Command errored out with exit status 1:
     command: 'c:\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-req-build-k2mltrb6\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-req-build-k2mltrb6\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\user\AppData\Local\Temp\pip-req-build-k2mltrb6\pip-egg-info'
         cwd: C:\Users\user\AppData\Local\Temp\pip-req-build-k2mltrb6\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\anaconda3\lib\tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Local\\Temp\\pip-req-build-k2mltrb6\\setup.py'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Details;
-python version: 3.6
-pip version: 20.0.2
-operating system : 64 bit windows 10
-git version: 2.25.1.windows.1

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