LoyceV
Legendary
Online
Activity: 3304
Merit: 16635
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
August 05, 2019, 01:33:10 PM |
|
What's the output when you run pip3 install -r requirements.txt ? pip3: pip3 install -r requirements.txt Traceback (most recent call last): File "/usr/bin/pip3", line 9, in <module> from pip import main ImportError: cannot import name 'main' pip: pip install -r requirements.txt Collecting requests-html==0.10.0 (from -r requirements.txt (line 1)) ERROR: Could not find a version that satisfies the requirement requests-html==0.10.0 (from -r requirements.txt (line 1)) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6) ERROR: No matching distribution found for requests-html==0.10.0 (from -r requirements.txt (line 1)) That's the only thing I ran and it worked. I'm trying to run it on my VP (Ubuntu 16.04.6 LTS).
|
|
|
|
|
|
|
"With e-currency based on cryptographic proof, without the need to
trust a third party middleman, money can be secure and transactions
effortless." -- Satoshi
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
TryNinja
Legendary
Offline
Activity: 2828
Merit: 6984
|
|
August 05, 2019, 01:36:47 PM |
|
pip3: pip3 install -r requirements.txt Traceback (most recent call last): File "/usr/bin/pip3", line 9, in <module> from pip import main ImportError: cannot import name 'main' Looks like an Issue with pip3. It's running an error when you try to use it to download the requirements. Try: python3 -m pip install requests-html==0.10.0
|
. .HUGE. | | | | | | █▀▀▀▀ █ █ █ █ █ █ █ █ █ █ █ █▄▄▄▄ | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ . CASINO & SPORTSBOOK ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | ▀▀▀▀█ █ █ █ █ █ █ █ █ █ █ █ ▄▄▄▄█ | | |
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
|
August 05, 2019, 01:38:20 PM |
|
What's the output when you run pip3 install -r requirements.txt ? pip3: pip3 install -r requirements.txt Traceback (most recent call last): File "/usr/bin/pip3", line 9, in <module> from pip import main ImportError: cannot import name 'main' Did you upgrade pip3 outside of your distributions package manager (i.e. using pip3 --upgrade) ? That's not really recommended. If you however still want to use the up-do-date (and not supported by your OS) version of pip, try it with the following command: python3 -m pip install -r requirements.txt
|
|
|
|
LoyceV
Legendary
Online
Activity: 3304
Merit: 16635
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
August 05, 2019, 01:56:05 PM |
|
Try: python3 -m pip install requests-html==0.10.0 python3 -m pip install requests-html==0.10.0 Collecting requests-html==0.10.0 ERROR: Could not find a version that satisfies the requirement requests-html==0.10.0 (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6) ERROR: No matching distribution found for requests-html==0.10.0 Did you upgrade pip3 outside of your distributions package manager (i.e. using pip3 --upgrade) ? That's not really recommended. That's what it told me to do, and indeed I did that. If you however still want to use the up-do-date (and not supported by your OS) version of pip, try it with the following command: python3 -m pip install -r requirements.txt
python3 -m pip install -r requirements.txt Collecting requests-html==0.10.0 (from -r requirements.txt (line 1)) ERROR: Could not find a version that satisfies the requirement requests-html==0.10.0 (from -r requirements.txt (line 1)) (from versions: 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6) ERROR: No matching distribution found for requests-html==0.10.0 (from -r requirements.txt (line 1)) I didn't intend to do it outside my package manager though.
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
|
August 06, 2019, 07:22:29 AM |
|
That's what it told me to do, and indeed I did that.
Usually it is not recommended to do that. Such problems can appear when mixing distribution manager (apt-get) and other tools to update software (in this case pip itself). Did it say that there is a new version and you should update or that it is mandatory ? Anyway, i would try to uninstall it and reinstall the package-manager version of pip, and then try it again without updating pip: sudo python3 -m pip uninstall pip && sudo apt-get install python3-pip --reinstall
Using python3 -m pip install -r requirements.txt should work afterwards. By the way, which version of python3 and pip are you using? python3 --version && pip3 --version
|
|
|
|
Aero Blue (OP)
|
|
August 06, 2019, 02:42:10 PM |
|
That's what it told me to do, and indeed I did that.
Usually it is not recommended to do that. Such problems can appear when mixing distribution manager (apt-get) and other tools to update software (in this case pip itself). Did it say that there is a new version and you should update or that it is mandatory ? Anyway, i would try to uninstall it and reinstall the package-manager version of pip, and then try it again without updating pip: sudo python3 -m pip uninstall pip && sudo apt-get install python3-pip --reinstall
Using python3 -m pip install -r requirements.txt should work afterwards. By the way, which version of python3 and pip are you using? python3 --version && pip3 --version
Do you have Python 3.6? I completely forgot it was only available for that specific version of Python
|
My Legacy #NoPaidSig BTC: 14EQ2GvKbfkwU8JZ8PdWoAqDUWByzRAn4E
|
|
|
LoyceV
Legendary
Online
Activity: 3304
Merit: 16635
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
August 10, 2019, 11:44:46 AM Last edit: August 10, 2019, 11:56:43 AM by LoyceV |
|
Anyway, i would try to uninstall it and reinstall the package-manager version of pip, and then try it again without updating pip: sudo python3 -m pip uninstall pip && sudo apt-get install python3-pip --reinstall
Using python3 -m pip install -r requirements.txt should work afterwards. It fails here: Collecting websockets (from pyppeteer>=0.0.14->requests-html==0.10.0->-r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/79/78/17e97a159dc55308b1468a638c7267f19765281f6205ec9c15253c154022/websockets-8.0.2.tar.gz (57kB) 100% |################################| 61kB 12.8MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-9fhjti3j/websockets/setup.py", line 27, in <module> raise Exception("websockets requires Python >= 3.6.") Exception: websockets requires Python >= 3.6. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9fhjti3j/websockets/ You are using pip version 8.1.1, however version 19.2.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. By the way, which version of python3 and pip are you using? python3 --version && pip3 --version
Python 3.5.2 pip 8.1.1 from /usr/lib/python3/dist-packages (python 3.5) Do you have Python 3.6? I completely forgot it was only available for that specific version of Python My Python version older I give up for now, I've been busy fixing other stuff, but this VPS turns out to be too unstable for any serious use so I'll continue this when I have a better VPS.
|
|
|
|
Sohyun Park
Member
Offline
Activity: 103
Merit: 10
|
|
August 22, 2019, 09:50:19 AM |
|
I might be misunderstanding all of it but have a query in mind. The forum is for learning from others posts and comment and contributing if we can right? If we make a bot post some content then how can we get all of the knowledge?
|
|
|
|
bob123
Legendary
Offline
Activity: 1624
Merit: 2481
|
|
August 22, 2019, 02:23:26 PM |
|
I might be misunderstanding all of it but have a query in mind. The forum is for learning from others posts and comment and contributing if we can right? If we make a bot post some content then how can we get all of the knowledge?
"AutoReply" might be not the best suited name. What the script actually does is to check the threads you provide and bump them if the requirements allow it (i.e. 24 hours have passed). This is not meant to be used to participate in discussions or to spam random topics, but to bump your own topics (e.g. offering service) for more visibility while not breaking the forum rules and having the least amount of work. It is more an "AutoBump" script, than "AutoReply".
|
|
|
|
Sohyun Park
Member
Offline
Activity: 103
Merit: 10
|
|
August 23, 2019, 06:30:56 AM |
|
I might be misunderstanding all of it but have a query in mind. The forum is for learning from others posts and comment and contributing if we can right? If we make a bot post some content then how can we get all of the knowledge?
"AutoReply" might be not the best suited name. What the script actually does is to check the threads you provide and bump them if the requirements allow it (i.e. 24 hours have passed). This is not meant to be used to participate in discussions or to spam random topics, but to bump your own topics (e.g. offering service) for more visibility while not breaking the forum rules and having the least amount of work. It is more an "AutoBump" script, than "AutoReply". Thanks for the informative reply. Got it.
|
|
|
|
|