getting error while installing twilio using pip - twilio

ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\Users\krish\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\twilio\rest\api\v2010\account\sip\domain\auth_types\auth_calls_mapping\pycache\auth_calls_credential_list_mapping.cpython-38.pyc'

please refer this and explain we cant answer by just watching error learn how to ask on stackoverflow how to ask question

Related

brew install specific version of a package fails

For my project, I need to install a specific version of the icu4c package. I used to follow the instructions written in this answer and it was working. However, recently, when I needed to do the same, it failed with the following error
Error: icu4c: undefined method `cellar' for #<BottleSpecification:0x00007fa0d75096a8>
After some investigations, I concluded that brew has new style of .rb files and old versions may not be compatible. To fix it, I run brew style --fix icu4c.rb which seemed to fix the style issues. However, now, I got the following error:
Error: Failed to load cask: ./icu4c.rb
Cask 'icu4c' is unreadable: wrong constant name #<Class:0x00007fa68d2d9278>
Warning: Treating ./icu4c.rb as a formula.
==> Downloading https://ghcr.io/v2/homebrew/core/icu4c/manifests/67.1
#=#=#
curl: (22) The requested URL returned error: 404
Error: Failed to download resource "icu4c_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/icu4c/manifests/67.1
I saw a number of places that this might be due to curl or xcode command line tools. I updated both of them but could not proceed further. Any help would be greatly appreciated.

Issue during Binary Installation for Drake on Ubuntu. When running the install_prereqs command I receive the error 8:

Okay. I will also post this on stackoverflow and update here if I found I solution there.
I am currently trying to install Drake's binary installation for python (note I am downloading the bionic release for Ubuntu). I am following the instructions found here: https://drake.mit.edu/python_bindings.html#inside-virtualenv I have noticed once I run:
<venv_path>/share/drake/setup/install_prereqs
I receive the following error that states that it cannot find the bionic release.:
Notice err 8 that states Err:8 http://ppa.launchpad.net/zedtux/naturalscrolling/ubuntu bionic Release
404 Not Found [IP: 91.189.95.85 80]
I believe this is why is subsequently cannot import pydrake. Has anyone run into this issue before? Do you have any suggestions as to why this may be the case?
I think that if you run "sudo apt update" on the command line, you'll see the same error. If so, your problem is not related to Drake. The Ubuntu installation itself is broken, because it is configured to use PPA that no longer exists.
You should disable or remove that PPA; perhaps https://askubuntu.com/questions/307/how-can-ppas-be-removed is useful, or else just search "remove ubuntu ppa" and there are several suggestions.

installing hdf5, mattorch/matio for lua/torch

I am configuring the packages for torch.I can't install these packages using luarocks.
for the matio, I followed the instruction on github, the matio is installed. But I cannot require it.
for the hdf5,see following.
Does anyone know what is the problem? I am new to Lua. Thanks very much!
$luarocks install hdf5
then I got the error information:
CMake Error at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find HDF5: Found unsuitable version "", but required is at least
"1.8" (found HDF5_hdf5_LIBRARY-NOTFOUND)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/FindHDF5.cmake:398 (find_package_handle_standard_args)
CMakeLists.txt:4 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_hdf5-20-0-5408/torch-hdf5/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
Error: Build error: Failed building.
I encountered the same problem on ubuntu >= 13.04, this command solves my problem:
sudo apt-get install libhdf5-serial-dev hdf5-tools
Then you can use luarocks to install hdf5
luarocks install hdf5
For other systems, you can reference this link for dependencies.

Mesa Installation: confiuguration process is ok but error in installation process

Hello i am a new user of ubuntu. I am trying to install mesa in ubuntu.The configuration process is ok.But when i am try to install, it shows this message
xmlconfig.c:34:19: fatal error: expat.h: No such file or directory
what will be the solutions of this problem?
Thanks in advance
Have you got the build-essential package installed?

GeoIP install failure, advice needed

Several hours of frustration here and looking to see if anyone has any advice.
I'm trying to install GeoIP vie Homebrew and receive the following error just prior to the install finishing:
"Error: The linking step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link geoip'"
brew link geoip returned this error:
"Error: Could not symlink file: /usr/local/Cellar/geoip/1.4.8/etc/GeoIP.conf.default
/usr/local/etc is not writable. You should change its permissions."
I also tried "sudo link geoip" and recieved this error:
"Cowardly refusing to `sudo brew link'"
I'm not entirely familiar with permissions and such and was wondering what I needed to do from the command line to get this to link properly. Any help greatly appreciated.
I think I found the answer. This script fixes the permissions issue:
ruby -e "$(curl -fsSL https://gist.github.com/raw/768518/fix_homebrew.rb)"

Resources