Skip to content

Unable to Install Steem for Python (VS 2015/2017) #227

Description

@n-exploit

I am unable to install the Steem module for Python. I first attempted to install VS Community 2017 and the latest Build Tools and subsequently, VS Community 2015 and 2015 Build Tools. Each version and combination result in the same error.

I've also tried running the pip install -U steem command from the VS command line as well.

Version of Python you are running

3.6.5

Version of steem-python you are running

Installation Attempt - 1.0

Expected Behavior

Full Installation

Actual Behavior

**warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools**

----------------------------------------

Command "c:\python36\python.exe -u -c "import setuptools, tokenize;file='C:\Users\\AppData\Local\Temp\pip-install-h0xsk1qe\pycrypto\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*\AppData\Local\Temp\pip-record-dlsh6zuo\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users***\AppData\Local\Temp\pip-install-h0xsk1qe\pycrypto\

Steps to reproduce

Attempt fresh install of steem

Activity

  1. holgern commented on Apr 29, 2018

    @holgern

    PyCrypto is broken and it is not possible to compile it on windows without patching it first. Patches can be found in the conda feedstock for example.

  2. holgern commented on Apr 29, 2018

    @holgern

    Try conda install steem

  3. holgern commented on Apr 30, 2018

    @holgern

    Sorry, my tip was not complete:
    conda config --add channels conda-forge
    conda install steem

  4. n-exploit commented on Apr 30, 2018

    @n-exploit
    Author

    Thank you, this solved it!

  5. cyon1c commented on Apr 30, 2018

    @cyon1c
    Contributor

    @roadscape - Seems we need a spike or quick discussion how/if we're going to handle supporting Windows machines. I'm not sure if I want to be running tests against multiple environments as we already have 5 test suites to run, this would start driving our testing complexity way up, but it may be desirable if we want to have first class support for windows.

  6. roadscape commented on Apr 30, 2018

    @roadscape
    Contributor

    @cyon1c - not sure we need tests for Windows but thinking we might want to include these tips in the README.

  7. holgern commented on May 1, 2018

    @holgern

    I'm the maintainer of https://github.com/conda-forge/steem-feedstock.
    @roadscape - You can find a detailed installation guide in the readme file https://github.com/conda-forge/steem-feedstock/blob/master/README.md.
    Feel free to copy the badges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions