I installed torch 1.5.1 using conda install with CUDA 10.2. I was able to install it successfully. While importing torch in Jupyter, I am getting below error.
OSError: [WinError 127] The specified procedure could not be found. Error loading "c:\users\shashank\anaconda3\lib\site-packages\torch\lib\caffe2.dll" or one of its dependencies.
Related
The package will not install.
In the command prompt I entered, 'pip install yfinance'
C:\Users\gam19\AppData\Local\Temp\xmlXPathInitw4g8q0z6.c(1): fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x86\\cl.exe' failed with exit code 2
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
You can download the wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml and install it (E.g. pip install lxml‑4.9.0‑cp311‑cp311‑win_amd64.whl). Trying pip install yfinance might work after that.
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
I am fairly new to R studio, any help would be appreciated. I am installing r studio on my Mac, I am getting an error while trying to install tensorflow
devtools::install_github("rstudio/tensorflow")
library(tensorflow)
install_tensorflow()
I get this error
Error: Prerequisites for installing TensorFlow not available.
Execute the following at a terminal to install the prerequisites:
$ sudo /usr/bin/easy_install pip
$ sudo /usr/local/bin/pip install --upgrade virtualenv
Any help would be appreciated thank you!
From the official Rstudio website:
TensorFlow is distributed as a Python package and so needs to be
installed within a Python environment on your system. By default, the
install_tensorflow() function attempts to install TensorFlow within
it’s own isolated Python environment (“r-tensorflow”).
And the python installation mostly relies on pip for installing it's dependencies. As the error message suggests, install pip and upgrade the virtualenv and see if that fixes the issue.
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
Trying to install rpy2 on a new Linux installation. Have installed R, ipython, python-devel etc on the system. When executing sudo pip install rpy2 I get an error - "missing python.h". This file is available on my system but not found.
What can I do?