Not able to install python package secp256k1 - python-3.6

I am getting the below error while installing secp256k1 python package. I am using python3.6 version
pip install secp256k1
0.28
Using bundled libsecp256k1
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\secp256k1
copying secp256k1\__init__.py -> build\lib.win-amd64-3.5\secp256k1
copying secp256k1\__main__.py -> build\lib.win-amd64-3.5\secp256k1
running build_clib
error: [WinError 193] %1 is not a valid Win32 application

Related

During Instl apache-airflow got the error: subprocess-exited-with-error, Building wheel for setproctitle (pyproject.toml) did not run successfully

pip install apache-airflow
pip3.9 install apache-airflow
The Err by Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Using legacy 'setup.py install' for flask-login, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-nvd3, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-slugify, since package 'wheel' is not installed.
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Using legacy 'setup.py install' for unicodecsv, since package 'wheel' is not installed.
Using legacy 'setup.py install' for blinker, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Flask-JWT-Extended, since package 'wheel' is not installed.
Building wheels for collected packages: setproctitle
Building wheel for setproctitle (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for setproctitle (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
running bdist_wheel
running build
running build_ext
building 'setproctitle' extension
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for setproctitle
Failed to build setproctitle
ERROR: Could not build wheels for setproctitle, which is required to install pyproject.toml-based projects
actually already tried to downgrade the pip version from pip 22.0.3 to 20.2.4
pip install --upgrade pip==20.2.4
like solution in the thread "Could not build wheels for setproctitle..."
still the same error

Getting error while running pipenv install grpc-googlep-pubsub-v1==0.11.1

I have install pipenv and then trying to install grpc-googlep-pubsub-v1 module via pipenv.
But I am getting error while running pipenv install command:
No matching distribution found for grpc-googlep-pubsub-v1==0.11.1
I am using python 3.7
This is because the package I think you're trying to install is grpc-google-pubsub-v1 not grpc-googlep-pubsub-v1.
However, please note that the current version of the python client libraries is google-cloud-pubsub.

install salt-minion throw Error: Package: salt-2018.3.3-1.el7.noarch (salt-latest) Requires: python-psutil

I have installed python-psutil with pip and can use it in python.
but still install failed.
Salt requires some python modules to be installed before installing Salt. So just try after installing the given python dependency module into your machine.
Command : pip install psutil
Reference - https://pypi.org/project/psutil/

Trying to install Tensorflow-Probability using reticulate - how to specify user?

In order to install the greta package, I need to first install tensorflow-probability. Tensorflow and Python 3.7 Anaconda are already installed.
When I attempt the following command in R: reticulate::conda_install("r-tensorflow", "tensorflow-probability", pip = TRUE), I get the following:
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied:
'C:\\Users\\PHILTE~1\\ANACON~1\\envs\\r-tensorflow\\Lib\\site-packages\\numpy\\core\\multiarray.cp36-win_amd64.pyd'
Consider using the `--user` option or check the permissions.
I have admin permissions on my laptop, so I'm unsure why I'm getting an access denied. But how do I add the --user command within the reticulate command?
This webpage fixed it all for me: http://preposterior.updog.co/november-8-2018-getting-your-computing-environment-ready-for-greta.html#november-8-2018-getting-your-computing-environment-ready-for-greta
Steps:
Install Anaconda
Open Anaconda Prompt and run the following:
conda activate r-tensorflow
pip install --no-dependencies tensorflow-probability==0.4.0
conda install tensorflow=1.11
pip install h5py pyyaml requests Pillow scipy
Back in R, install the greta package from CRAN.
From version 0.4.0, greta now includes a install_greta_deps() function that installs all the relevant python modules required for greta.
You can learn more here:
https://greta-stats.org/articles/get_started.html

How do I solve a "dll not found" error when building R Packages?

I am trying to build the RSAP package by Piers Harding (https://github.com/piersharding/RSAP). I followed his instructions for how to build on an R > 3.x.x version. When building the library via...:
R CMD INSTALL --build --preclean --clean --no-multiarch -l C:/RSAP RSAP
... I get the error "RSAP dll not found".
I am using the 64bit version of R 3.5.1 and latest RTools. I am on Windows 10.

Resources