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

Can't install beem due to Scrypt installation error (Windows): 'openssl/aes.h': No such file or directory #114

Closed
CryptoSharon opened this issue Oct 31, 2018 · 3 comments

Comments

@CryptoSharon
Copy link

I was trying to do pip install beem in order to run your steemmonsters app, but beem depends on Scrypt, and Scrypt doesn't seem to be able to run on Windows. I tried to install the OpenSSL package that it requires, but I failed. I don't exactly know what else it needs. I installed this and added it to my path.

The following is the error that I got.

    crypto_aes.c
    scrypt-1.2.1/libcperciva/crypto/crypto_aes.c(6): fatal error C1083: No se puede abrir el archivo incluir: 'openssl/aes.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command "c:\python37\python.exe -u -c "import setuptools, tokenize;
__file__='C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-6w9w987_\\scrypt\\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\pc\AppData\Local\Temp\pip-record-eu_c56pk\install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
C:\Users\pc\AppData\Local\Temp\pip-install-6w9w987_\scrypt\
@holgern
Copy link
Owner

holgern commented Nov 1, 2018

The easiest solution is to install anaconda and do a

conda install beem

@CryptoSharon
Copy link
Author

CryptoSharon commented Nov 2, 2018

OMG it's 631 MB on Conda just to install Beem. I'll do it but wow!

I'll try the Miniconda installer. (53mb) .. It extracts into 250 MB. Less, but still massive!

edit: I'm getting this error:

Solving environment: ...working... failed

PackagesNotFoundError: The following packages are not available from current channels:

  - beem

Current channels:

  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/win-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/pro/win-64
  - https://repo.anaconda.com/pkgs/pro/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-64
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

edit2: Used Conda search bar and found that it is indeed in Conda, but you need to do conda install -c conda-forge beem instead.

However, I got the following error. I'm going to try with admin cmd:

ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::conda-4.5.11-py37_0'.
PermissionError(13, 'Access denied')
Attempting to roll back.

Rolling back transaction: ...working... done

PermissionError(13, 'Access denied')

@CryptoSharon
Copy link
Author

Alright, that works. Installed Miniconda, opened admin console and conda-installed beem, then with the same admin console I did python setup install steemmonsters and it didn't throw errors. I'm stuck at Steemmonsters now and can't run it but that's another issue. Beem is done.

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