NVIDIA / NVIDIA/apex

Installation Error

Open
#884 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.5k
Avg merge
2d 4h
Merged PRs (30d)
3

Description

I tried to install apex using the command-

pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./

I get the following error-

/home/prithila/anaconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py:244: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-70bolni2
Created temporary directory: /tmp/pip-req-tracker-7h40_c27
Initialized build tracking at /tmp/pip-req-tracker-7h40_c27
Created build tracker: /tmp/pip-req-tracker-7h40_c27
Entered build tracker: /tmp/pip-req-tracker-7h40_c27
Created temporary directory: /tmp/pip-install-8cnlrzsn
Cleaning up...
Removed build tracker: '/tmp/pip-req-tracker-7h40_c27'
ERROR: You must give at least one requirement to install (see "pip help install")
Exception information:
Traceback (most recent call last):
File "/home/prithila/anaconda3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
status = self.run(options, args)
File "/home/prithila/anaconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 301, in run
wheel_cache
File "/home/prithila/anaconda3/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 292, in populate_requirement_set
'(see "pip help %(name)s")' % opts)
pip._internal.exceptions.CommandError: You must give at least one requirement to install (see "pip help install")
1 location(s) to search for versions of pip:

Can anyone please help me solve this error?
Thanks!!!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported pip installation command from the Apex repository and compare its arguments with the project's installation guidance. The issue does not mention a source file or test; done would mean identifying the installation failure's cause and documenting or correcting the relevant installation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.