Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requirments installation fails #2

Open
alexppmax opened this issue Dec 28, 2020 · 0 comments
Open

Requirments installation fails #2

alexppmax opened this issue Dec 28, 2020 · 0 comments

Comments

@alexppmax
Copy link

I'm trying to install this on a VPS that I have running Ubuntu, but it's always failing at installing the requirments for the env.

Here's what I get, maybe you guys can help? Fantastic bot, we were looking for one for a while

`(env) telegrampricebot@cloud:~/Uniswap-Telegram-Bot$ pip install -r requirements.txt
Collecting astroid==2.4.2 (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/24/a8/5133f51967fb21e46ee50831c3f5dda49e976b7f915408d670b1603d41d6/astroid-2.4.2-py3-none-any.whl (213kB)
100% |████████████████████████████████| 215kB 4.7MB/s
Collecting certifi==2020.11.8 (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/c1/6f/3d85f0850962279a7e4c622695d7b3171e95ac65308a57d3b29738b27149/certifi-2020.11.8-py2.py3-none-any.whl (155kB)
100% |████████████████████████████████| 163kB 5.7MB/s
Collecting chardet==3.0.4 (from -r requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
100% |████████████████████████████████| 143kB 8.1MB/s
Collecting colorama==0.4.4 (from -r requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl
Collecting idna==2.10 (from -r requirements.txt (line 5))
Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)
100% |████████████████████████████████| 61kB 9.2MB/s
Collecting isort==5.6.4 (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/ee/e3/75cacbe65a236934860880547fc612e8e3856b5cc3844a8beddae05e7b60/isort-5.6.4-py3-none-any.whl (98kB)
100% |████████████████████████████████| 102kB 9.5MB/s
Collecting lazy-object-proxy==1.4.3 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/54/d9/4288a0101a8860515aa2a76c3c5c3ffe7c7777b68ddffd2c7703a35e866e/lazy_object_proxy-1.4.3-cp35-cp35m-manylinux1_x86_64.whl (55kB)
100% |████████████████████████████████| 61kB 9.3MB/s
Collecting mccabe==0.6.1 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl
Collecting pylint==2.6.0 (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/fb/13/519c1264a134beab2be4bac8dd3e64948980a5ca7833b31cf0255b21f20a/pylint-2.6.0-py3-none-any.whl (325kB)
100% |████████████████████████████████| 327kB 3.7MB/s
Collecting requests==2.25.0 (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
100% |████████████████████████████████| 61kB 9.2MB/s
Collecting six==1.15.0 (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl
Collecting toml==0.10.2 (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl
Collecting typed-ast==1.4.1 (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/96/d7/c964472320ea65f17b2874fff37560c3c7e862fe7993a4f215319fe43e1b/typed_ast-1.4.1-cp35-cp35m-manylinux1_x86_64.whl (737kB)
100% |████████████████████████████████| 747kB 1.6MB/s
Collecting urllib3==1.26.2 (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/f5/71/45d36a8df68f3ebb098d6861b2c017f3d094538c0fb98fa61d4dc43e69b9/urllib3-1.26.2-py2.py3-none-any.whl (136kB)
100% |████████████████████████████████| 143kB 8.6MB/s
Collecting wrapt==1.12.1 (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz
Building wheels for collected packages: wrapt
Running setup.py bdist_wheel for wrapt ... error
Complete output from command /home/telegrampricebot/Uniswap-Telegram-Bot/env/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-fskdc5gw/wrapt/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpknv10cmypip-wheel- --python-tag cp35:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help

error: invalid command 'bdist_wheel'


Failed building wheel for wrapt
Running setup.py clean for wrapt
Failed to build wrapt
Installing collected packages: lazy-object-proxy, wrapt, typed-ast, six, astroid, certifi, chardet, colorama, idna, isort, mccabe, toml, pylint, urllib3, requests
Running setup.py install for wrapt ... done
Exception:
Traceback (most recent call last):
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/commands/install.py", line 335, in run
prefix=options.prefix_path,
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/req/req_set.py", line 732, in install
**kwargs
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/req/req_install.py", line 837, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/req/req_install.py", line 1039, in move_wheel_files
isolated=self.isolated,
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/wheel.py", line 344, in move_wheel_files
clobber(source, lib_dir, True)
File "/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pip/wheel.py", line 322, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python3.5/shutil.py", line 115, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/telegrampricebot/Uniswap-Telegram-Bot/env/lib/python3.5/site-packages/pycache/six.cpython-35.pyc'`

Thanks,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant