Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install fails on Windows 10 #6

Closed
FlorinAndrei opened this issue Aug 24, 2019 · 1 comment
Closed

pip install fails on Windows 10 #6

FlorinAndrei opened this issue Aug 24, 2019 · 1 comment
Milestone

Comments

@FlorinAndrei
Copy link

Windows 10
CUDA 10.0
python 3.7.4
pip 19.0.3

CUDA and cuDNN are installed and are working correctly - I've tested with tensorflow-gpu and it works fine.

Visual Studio is installed.

Trying to install fastrlock (really - trying to install cupy, for which fastrlock is a dependency) with pip and it fails. It's probably something simple but I'm a total newbie to Visual Studio (I'm more at home on Linux).

C:\Users\florin>pip3 install --user fastrlock
Collecting fastrlock
  Using cached https://files.pythonhosted.org/packages/8f/ff/6777b85fdbc6efd572a2b713e044c29f5f01ca8b1c74f8d94b427bac60c3/fastrlock-0.4.tar.gz
Building wheels for collected packages: fastrlock
  Building wheel for fastrlock (setup.py) ... error
  Complete output from command "c:\program files\python37\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\florin\\AppData\\Local\\Temp\\pip-install-479f2_e3\\fastrlock\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\florin\AppData\Local\Temp\pip-wheel-csg06n1t --python-tag cp37:
  building without Cython
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\fastrlock
  copying fastrlock\__init__.py -> build\lib.win-amd64-3.7\fastrlock
  copying fastrlock\rlock.pxd -> build\lib.win-amd64-3.7\fastrlock
  copying fastrlock\__init__.pxd -> build\lib.win-amd64-3.7\fastrlock
  copying fastrlock\_lock.pxi -> build\lib.win-amd64-3.7\fastrlock
  running build_ext
  building 'fastrlock.rlock' extension
  error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

  ----------------------------------------
  Failed building wheel for fastrlock
  Running setup.py clean for fastrlock
Failed to build fastrlock
Installing collected packages: fastrlock
  Running setup.py install for fastrlock ... error
    Complete output from command "c:\program files\python37\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\florin\\AppData\\Local\\Temp\\pip-install-479f2_e3\\fastrlock\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\florin\AppData\Local\Temp\pip-record-pqknhnzg\install-record.txt --single-version-externally-managed --compile --user --prefix=:
    building without Cython
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.7
    creating build\lib.win-amd64-3.7\fastrlock
    copying fastrlock\__init__.py -> build\lib.win-amd64-3.7\fastrlock
    copying fastrlock\rlock.pxd -> build\lib.win-amd64-3.7\fastrlock
    copying fastrlock\__init__.pxd -> build\lib.win-amd64-3.7\fastrlock
    copying fastrlock\_lock.pxi -> build\lib.win-amd64-3.7\fastrlock
    running build_ext
    building 'fastrlock.rlock' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

    ----------------------------------------
Command ""c:\program files\python37\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\florin\\AppData\\Local\\Temp\\pip-install-479f2_e3\\fastrlock\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\florin\AppData\Local\Temp\pip-record-pqknhnzg\install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in C:\Users\florin\AppData\Local\Temp\pip-install-479f2_e3\fastrlock\
You are using pip version 19.0.3, however version 19.2.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
@scoder scoder added this to the 0.4 milestone Aug 24, 2019
@scoder
Copy link
Owner

scoder commented Aug 24, 2019

I uploaded windows wheels to PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants