AlgoVPN problem running python3 -m pip install -r requirements.txt #14284
Replies: 2 comments
-
I forgot to mention the OS was Ubuntu 18.04. Following further research I found the problem was with AppArmor. I went around in circles for a few hours before giving up. I changed OS's on my VPS to Debian 10 and hit the same AppArmor brick wall when running python3 -m pip install -r requirements.txt So, two OS's out of 3 prevent Algo VPN from being installed smoothly. Is there any way for me to work around the requirement for AppArmor? |
Beta Was this translation helpful? Give feedback.
-
As noted in Unsupported Cloud Providers, Algo supports Ubuntu Server 18.04 or 20.04 and does not support OpenVZ. |
Beta Was this translation helpful? Give feedback.
-
I have setup Algo VPN many times on various KVM Ubuntu Servers but recently ran into issues on a new OpenVZ (not sure if that matters) VPS when running: python3 -m pip install -r requirements.txt
I received the following error and don't know where to start:
ERROR: Exception:
Traceback (most recent call last):
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
status = self.run(options, args)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
return func(self, options, args)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 316, in run
reqs, check_supported_wheels=not options.target_dir
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
collected.requirements, max_rounds=try_to_avoid_resolution_too_deep
File "/root/algo/.env/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
if not criterion.candidates:
File "/root/algo/.env/lib/python3.6/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in bool
return bool(self._sequence)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 140, in bool
return any(self)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 128, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 32, in _iter_built
candidate = func()
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 209, in _make_candidate_from_link
version=version,
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in init
version=version,
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init
self.dist = self._prepare()
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
dist = self._prepare_distribution()
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in _prepare_distribution
self._ireq, parallel_builds=True
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 552, in _prepare_linked_requirement
self.download_dir, hashes
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/operations/prepare.py", line 249, in unpack_url
unpack_file(file.path, location, file.content_type)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/utils/unpacking.py", line 256, in unpack_file
untar_file(filename, location)
File "/root/algo/.env/lib/python3.6/site-packages/pip/_internal/utils/unpacking.py", line 226, in untar_file
with open(path, "wb") as destfp:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 112: ordinal not in range(128)
Beta Was this translation helpful? Give feedback.
All reactions