I have connected to my raspberry pi via vs code. I wanted to install flask, but from this time I have connected to my raspy via vs code, terminal giving me following error: 'WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa140c730>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flask/
I also tried to do the same by restarting my raspi and connect directly with my local machines terminal and pip install flask, but again the same issue. Connection to the internet exists, I can ping for example google with my raspi.
I read in stack overflow something about needed proxy configurations but I never did it before and I am also not using any proxies, what is confusing me. Has somebody an idea how to solve it?
I'm trying to install mariadb on macOs Big Sur(version 11.2.3) with m1 chip. Tried the following official link here and here, but when i run the command
brew install mariadb
then after some time it gives me this error
curl: (7) Failed to connect to pkg-containers.githubusercontent.com port 443: Operation timed out
Error: mariadb: Failed to download resource "mecab"
Download failed: https://ghcr.io/v2/homebrew/core/mecab/blobs/sha256:495c42533a5ea5bdedcf4a95c05e613c3579f626b17d0df0396d8a0ea9328bbe
Any help would be appreciated!.
It is a probably a problem with my connection. Please see more details here
I am on Ubuntu 18.04 and when I install LXD with sudo snap install lxd the install is broken somehow and somewhere.
i.e lxc list returns
Error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: connection refused
BUT
/snap/bin/lxc list works fine.
Can someone crafty with SNAPS help me out here so that I can just use lxc instead of /snap/bin/lxc
I am currently using Python (Version: 3.5.2 |Anaconda 4.2.0 (64-bit)|). While i am trying to install tensorflow , it is throwing an error. I don't understand how to solve. Below is the error:
Collecting tensorflow
Cache entry deserialization failed, entry ignored
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after
connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel
connection failed: 407 Proxy Authentication Required',))':
/simple/tensorflow/
Could not find a version that satisfies the requirement tensorflow (from
versions: )
No matching distribution found for tensorflow
Cache entry deserialization failed, entry ignored
I don't have any internet connection problem. Could anyone please help me regarding this.
To install tensorflow behind a proxy follow the below steps
Step 1: Setting environment variables
HTTP_PROXY = http://user:password#proxy:portnumber
HTTPS_PROXY = https://user:password#proxy:portnumber
Step 2: Setting proxy servers in .condarc file.
In ".condarc" file which will be in /Users/username/.condarc, add the below lines
proxy_servers:
http: http://user:password#proxy:portnumber
https: https://user:password#proxy:portnumber
Step 3: Install through Anaconda (conda prompt)
Method 1:
Open conda prompt, create new environment for installation through the below commands
conda create -n tensorflow
activate tensorflow
conda install jupyter
conda install scipy
conda install tensorflow
Method 2:
Download the below listed files:
tensorflow jar with name win-64/tensorflow-1.3.0-py36_0.tar.bz2 from link
protobuf jar with name win-64/protobuf-3.2.0-py36_0.tar.bz2 from link
repodata.json.bz2 from link
Now in conda prompt, move to the downloaded directory and give these commands
conda install tensorflow-1.3.0-py36_0.tar.bz2
conda install protobuf-3.2.0-py36_0.tar.bz2
Now you are all set either by method 1 or method 2.
To check the installation from conda prompt itself, give these commands
python ####this will open python workspace from conda
import tensorflow as tf ####if running this didnt gave any error u r all set
NOTE:
If any of the conda commands didn't work(as you are under proxy), give these commands:
conda config --set ssl_verify no
set NO_PROXY=continuum.io,anaconda.org
Hope this helps :)
I'm having a little trouble getting my client to connect. I'm able to have ngrok tell me the port, but when I go to the client and execute:
ssh pairup#ngrok.com -p 57613
I get
ssh_exchange_identification: Connection closed by remote host
Any ideas why this is happening? I'm on a Mac, and I followed these steps: https://www.adaptivelab.com/blog/pair-programming-with-tmux/
Thanks a lot for your time
It could be that you don't have the ssh server installed on the machine you're running ngrok, so, the connection is refused.
To install it just type the following in a terminal:
sudo apt-get install openssh-server