PermissionError with pip3
Question This is the error when I try to get anything with pip3
I'm not sure what to do
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1435, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python3/dist-packages/pip/req.py", line 671, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/lib/python3/dist-packages/pip/req.py", line 901, in move_wheel_files
pycompile=self.pycompile,
File "…
Read more ⟶Why does this command kill my shell?
Question Update: This is a more general command that is more reproducible. ShellFish identified that there is a more general pattern:
non-existingcommand & existingcommand &
for example,
xyz & echo &
Also, I had a coworker try over an ssh connection and his connection was closed after running the command. So this doesn't appear to be limited to a certain terminal emulator.
Original question:
echo?a=1&b=2|3&c=4=
Behavior:
After executing the command, my current Gnome Terminal tab closes without warning.…
Read more ⟶Decrypt password created with htpasswd
Question I created a protection for my web pages with apache2 in ubuntu.
Now I am creating an application in c++ and I want it uses the same file that Apache2 uses for authentification, but my problem is that I don't know how to decrypt the password generated by apache2.
(Maybe I need a key that is used for encryption).
Thank you.
Answer .htpasswd entries are HASHES. They are not encrypted passwords.…
Read more ⟶PHP ImagickException: not authorized
Question Any ideas how to fix this ?
ImagickException: not authorized `/tmp/magick-1552lvf2nIjaqx1W' @ error/constitute.c/ReadImage/412 I thought it was a permission issue so just to test it out i set my /tmp dir to 777. No change. Its driving me crazy. The command :
<?php
$image = new \Imagick(); $image->readImageBlob(’<?xml version=“1.0” encoding=“UTF-8” standalone=“no”?>’ . $graph); Answer I have followed the below Steps to fix the Fatal error: Uncaught ImagickException: not authorized `.…
Read more ⟶Exclude an alias from virtualhost proxypass
Question I've following virtual host configuration. The desired result is:
If someone requests http://test.myserver.com/myapp, apache serves
him from /var/www/myapp And if http://test.myserver.com/ is
requested, apache redirects it to port 8069.
2nd is working but 1st is not. Can someone help please!
<VirtualHost *:80>
ServerName test.myserver.com
Alias /myapp /var/www/myapp
<Directory /var/www/myapp>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ProxyPass / http://localhost:8069/
ProxyPassReverse / http://localhost:8069/
</VirtualHost> Answer This is how I was able to achive the desired outcome.…
Read more ⟶s3cmd failed too many times
Question I used to be a happy s3cmd user. However recently when I try to transfer a large zip file (~7Gig) to Amazon S3, I am getting this error:
$> s3cmd put thefile.tgz s3://thebucket/thefile.tgz
…. 20480 of 7563176329 0% in 1s 14.97 kB/s failed WARNING: Upload failed: /thefile.tgz ([Errno 32] Broken pipe) WARNING: Retrying on lower speed (throttle=1.25) WARNING: Waiting 15 sec… thefile.tgz -> s3://thebucket/thefile.tgz [1 of 1] 8192 of 7563176329 0% in 1s 5.…
Read more ⟶Chromium throws NET::ERR_CERTIFICATE_TRANSPARENCY_REQUIRED [closed]
Question Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
</div>
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.…
Read more ⟶