Install of PySuperTuxKartData getting stuck - python

I am trying to install PySuperTuxKart onto my windows 10 computer via anaconda.
However every time I try to install PySuperTuxKart, PySuperTuxKart installs fine but PySuperTuxKartData seems to hang. I have let it sit for 5 minutes with no progress being made. My metric is that the loading animation just gets stuck this whole time and does not move. I have tried this on python versions 3.9-3.7. It installs fine in a venv that is version 3.10 but I need a package that is only available up to python 3.9. I enabled the verbose flag on the pip install and this is the output.
Using pip 22.0.4 from C:\Users\<user>\Anaconda3\envs\test\lib\site-packages\pip (python 3.7)
Collecting PySuperTuxKart
Using cached PySuperTuxKart-1.1.2-cp37-cp37m-win_amd64.whl (2.7 MB)
Collecting PySuperTuxKartData
Using cached PySuperTuxKartData-1.0.0.tar.gz (2.6 kB)
Installing build dependencies ... Running command pip subprocess to install build dependencies
Collecting setuptools>=42
Using cached setuptools-62.1.0-py3-none-any.whl (1.1 MB)
Collecting requests
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Installing collected packages: certifi, wheel, urllib3, setuptools, idna, charset-normalizer, requests
Successfully installed certifi-2021.10.8 charset-normalizer-2.0.12 idna-3.3 requests-2.27.1 setuptools-62.1.0 urllib3-1.26.9 wheel-0.37.1
done
Getting requirements to build wheel ... Running command Getting requirements to build wheel
running egg_info
writing PySuperTuxKartData.egg-info\PKG-INFO
writing dependency_links to PySuperTuxKartData.egg-info\dependency_links.txt
writing requirements to PySuperTuxKartData.egg-info\requires.txt
writing top-level names to PySuperTuxKartData.egg-info\top_level.txt
reading manifest file 'PySuperTuxKartData.egg-info\SOURCES.txt'
writing manifest file 'PySuperTuxKartData.egg-info\SOURCES.txt'
done
Preparing metadata (pyproject.toml) ... Running command Preparing metadata (pyproject.toml)
running dist_info
creating C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info
writing C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\PKG-INFO
writing dependency_links to C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\dependency_links.txt
writing requirements to C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\requires.txt
writing top-level names to C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\top_level.txt
writing manifest file 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\SOURCES.txt'
writing manifest file 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData.egg-info\SOURCES.txt'
creating 'C:\Users\<user>\AppData\Local\Temp\pip-modern-metadata-lz0lblhq\PySuperTuxKartData-1.0.0.dist-info'
done
Collecting requests
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\<user>\anaconda3\envs\test\lib\site-packages (from requests->PySuperTuxKartData->PySuperTuxKart) (2021.10.8)
Collecting idna<4,>=2.5
Using cached idna-3.3-py3-none-any.whl (61 kB)
Building wheels for collected packages: PySuperTuxKartData
Building wheel for PySuperTuxKartData (pyproject.toml) ... Running command Building wheel for PySuperTuxKartData (pyproject.toml)
running bdist_wheel
running build
running build_py
creating build
creating build\lib
creating build\lib\pystk_data
copying .\setup.py -> build\lib\pystk_data
copying .\__init__.py -> build\lib\pystk_data
running fetch_data
It hangs on the running fetch_data step. Any suggestions?

Related

Error pip install web3 on windows even after installing microsoft build tools

I am new to python and i have have been trying to install web3 for some days even after installing microsoft build tools and checkmarking all the neccessities like windows 10sdk and all c++ build tools.But i'm still getting this error.I have googled this problem but still no solution,leaving me stuck at this step and its really frustrating , i even restarted my system after installing the microsoft build tools and yet i am still getting the error below.
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools>py -m pip install web3
Collecting web3
Using cached web3-5.28.0-py3-none-any.whl (499 kB)
Collecting aiohttp<4,>=3.7.4.post0
Using cached aiohttp-3.8.1-cp310-cp310-win_amd64.whl (555 kB)
Collecting eth-abi<3.0.0,>=2.0.0b6
Using cached eth_abi-2.1.1-py3-none-any.whl (27 kB)
Collecting hexbytes<1.0.0,>=0.1.0
Using cached hexbytes-0.2.2-py3-none-any.whl (6.1 kB)
Collecting ipfshttpclient==0.8.0a2
Using cached ipfshttpclient-0.8.0a2-py3-none-any.whl (82 kB)
Requirement already satisfied: pywin32>=223 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from web3) (303)
Collecting protobuf<4,>=3.10.0
Using cached protobuf-3.19.4-cp310-cp310-win_amd64.whl (895 kB)
Collecting eth-account<0.6.0,>=0.5.7
Using cached eth_account-0.5.7-py3-none-any.whl (101 kB)
Requirement already satisfied: eth-typing<3.0.0,>=2.0.0 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from web3) (2.3.0)
Requirement already satisfied: eth-hash[pycryptodome]<1.0.0,>=0.2.0 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from web3) (0.3.2)
Collecting lru-dict<2.0.0,>=1.1.6
Using cached lru-dict-1.1.7.tar.gz (10 kB)
Preparing metadata (setup.py) ... done
Collecting eth-utils<2.0.0,>=1.9.5
Using cached eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting websockets<10,>=9.1
Using cached websockets-9.1.tar.gz (76 kB)
Preparing metadata (setup.py) ... done
Collecting jsonschema<4.0.0,>=3.2.0
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Requirement already satisfied: requests<3.0.0,>=2.16.0 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from web3) (2.27.1)
Collecting multiaddr>=0.0.7
Using cached multiaddr-0.0.9-py2.py3-none-any.whl (16 kB)
Collecting attrs>=17.3.0
Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from aiohttp<4,>=3.7.4.post0->web3) (2.0.12)
Collecting aiosignal>=1.1.2
Using cached aiosignal-1.2.0-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0
Using cached yarl-1.7.2-cp310-cp310-win_amd64.whl (122 kB)
Collecting frozenlist>=1.1.1
Using cached frozenlist-1.3.0-cp310-cp310-win_amd64.whl (33 kB)
Collecting multidict<7.0,>=4.5
Using cached multidict-6.0.2-cp310-cp310-win_amd64.whl (27 kB)
Collecting async-timeout<5.0,>=4.0.0a3
Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting parsimonious<0.9.0,>=0.8.0
Using cached parsimonious-0.8.1.tar.gz (45 kB)
Preparing metadata (setup.py) ... done
Collecting rlp<3,>=1.0.0
Using cached rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting bitarray<1.3.0,>=1.2.1
Using cached bitarray-1.2.2.tar.gz (48 kB)
Preparing metadata (setup.py) ... done
Collecting eth-keys<0.4.0,>=0.3.4
Using cached eth_keys-0.3.4-py3-none-any.whl (21 kB)
Collecting eth-rlp<2,>=0.1.2
Using cached eth_rlp-0.3.0-py3-none-any.whl (5.0 kB)
Collecting eth-keyfile<0.6.0,>=0.5.0
Using cached eth_keyfile-0.5.1-py3-none-any.whl (8.3 kB)
Collecting pycryptodome<4,>=3.6.6
Using cached pycryptodome-3.14.1-cp35-abi3-win_amd64.whl (1.8 MB)
Collecting cytoolz<1.0.0,>=0.10.1
Using cached cytoolz-0.11.2.tar.gz (481 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from jsonschema<4.0.0,>=3.2.0->web3) (61.2.0)
Collecting six>=1.11.0
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyrsistent>=0.14.0
Using cached pyrsistent-0.18.1-cp310-cp310-win_amd64.whl (61 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from requests<3.0.0,>=2.16.0->web3) (2021.10.8)
Requirement already satisfied: toolz>=0.8.0 in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from cytoolz<1.0.0,>=0.10.1->eth-utils<2.0.0,>=1.9.5->web3) (0.11.2)
Collecting eth-rlp<2,>=0.1.2
Using cached eth_rlp-0.2.1-py3-none-any.whl (5.0 kB)
Collecting base58
Using cached base58-2.1.1-py3-none-any.whl (5.6 kB)
Requirement already satisfied: varint in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (1.0.2)
Requirement already satisfied: netaddr in c:\users\kadit cuy\appdata\local\programs\python\python310\lib\site-packages (from multiaddr>=0.0.7->ipfshttpclient==0.8.0a2->web3) (0.8.0)
Using legacy 'setup.py install' for lru-dict, since package 'wheel' is not installed.
Using legacy 'setup.py install' for websockets, since package 'wheel' is not installed.
Using legacy 'setup.py install' for bitarray, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cytoolz, since package 'wheel' is not installed.
Using legacy 'setup.py install' for parsimonious, since package 'wheel' is not installed.
Installing collected packages: lru-dict, bitarray, websockets, six, pyrsistent, pycryptodome, protobuf, multidict, hexbytes, frozenlist, cytoolz, base58, attrs, async-timeout, yarl, parsimonious, multiaddr, jsonschema, eth-utils, aiosignal, rlp, ipfshttpclient, eth-keys, eth-abi, aiohttp, eth-rlp, eth-keyfile, eth-account, web3
Running setup.py install for lru-dict ... error
error: subprocess-exited-with-error
× Running setup.py install for lru-dict did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running install
C:\Users\KADIT CUY\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
building 'lru' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lru-dict
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Please someone should help!!
You can try to install the wheel first: pip install wheel. Then you can avoid using setup.py install.
And you can update the Microsoft Visual C++ to 14 or greater like the error message suggestted.
Sidenote: The error originates from installing lru-dict, not web3 directly.
You seem to have visual studio 2022 installed. You should check that you have installed all optional features needed for compiling for python (from here):
Install the Python development workload and the optional Python native development tools option.
Install the latest Windows SDK (under Native development in the installer).
Optional: Set $env:PlatformToolset to your toolset version before building, if it doesn't detect it. (Alternatively, you could open the developer command prompt)
Update to the latest setuptools Python package version
Especially the last is needed to have support for the latest compilers. Run pip install --upgrade setuptools. Then try to install again

Successful build of Heroku Python App but execution is unsuccessful and open app throws error

I recently successfully deployed a Heroku app(view log below for details), but when I try to access my app through a browser, it returns with An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail. Furthermore, my app was for a Discord.Py bot, and the bot was not online like it should be.
Logs:
-----> Building on the Heroku-20 stack
-----> Using buildpack: heroku/python
-----> Python app detected
-----> No Python version was specified. Using the same version as the last build: python-3.9.9
To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
-----> Requirements file has been changed, clearing cached dependencies
-----> Installing python-3.9.9
-----> Installing pip 21.3.1, setuptools 57.5.0 and wheel 0.37.0
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting discord.py==1.6.0
Downloading discord.py-1.6.0-py3-none-any.whl (779 kB)
Collecting Flask==2.0.2
Downloading Flask-2.0.2-py3-none-any.whl (95 kB)
Collecting dnspython==1.16.0
Downloading dnspython-1.16.0-py2.py3-none-any.whl (188 kB)
Collecting PyNaCl==1.3.0
Downloading PyNaCl-1.3.0-cp34-abi3-manylinux1_x86_64.whl (759 kB)
Collecting async-timeout==3.0.1
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting aiohttp<3.8.0,>=3.6.0
Downloading aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_x86_64.whl (1.4 MB)
Collecting Jinja2>=3.0
Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting itsdangerous>=2.0
Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting Werkzeug>=2.0
Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB)
Collecting click>=7.1.2
Downloading click-8.0.3-py3-none-any.whl (97 kB)
Collecting cffi>=1.4.1
Downloading cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB)
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting yarl<2.0,>=1.0
Downloading yarl-1.7.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (304 kB)
Collecting attrs>=17.3.0
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting chardet<5.0,>=2.0
Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting typing-extensions>=3.6.5
Downloading typing_extensions-4.0.1-py3-none-any.whl (22 kB)
Collecting multidict<7.0,>=4.5
Downloading multidict-5.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (174 kB)
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)
Collecting idna>=2.0
Downloading idna-3.3-py3-none-any.whl (61 kB)
Installing collected packages: multidict, idna, yarl, typing-extensions, pycparser, MarkupSafe, chardet, attrs, async-timeout, Werkzeug, six, Jinja2, itsdangerous, click, cffi, aiohttp, PyNaCl, Flask, dnspython, discord.py
Successfully installed Flask-2.0.2 Jinja2-3.0.3 MarkupSafe-2.0.1 PyNaCl-1.3.0 Werkzeug-2.0.2 aiohttp-3.7.4.post0 async-timeout-3.0.1 attrs-21.4.0 cffi-1.15.0 chardet-4.0.0 click-8.0.3 discord.py-1.6.0 dnspython-1.16.0 idna-3.3 itsdangerous-2.0.1 multidict-5.2.0 pycparser-2.21 six-1.16.0 typing-extensions-4.0.1 yarl-1.7.2
-----> Discovering process types
Procfile declares types -> worker
-----> Compressing...
Done: 62M
-----> Launching...
Released v5
https://app.herokuapp.com/ deployed to Heroku
Your application is a worker (Procfile declares types -> worker) so it does respond to HTTP requests.
Change to web and make sure you bind the PORT provided by Heroku.
BTW BOTs can run as workers (without dealing with incoming requests) if they poll the server for messages/updates. This is a viable option too (keep it as worker) but ensure the BOT logs what it does at startup.

pip install is not working giving me error building wheel for lxml (setup.py)

I get the following problem when trying to install dronekit module in python.
pi#raspberrypi:~ $ pip install dronekit
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting dronekit
Using cached https://www.piwheels.org/simple/dronekit/dronekit-2.9.2-py3-none-any.whl (56 kB)
Collecting monotonic>=1.3
Using cached https://www.piwheels.org/simple/monotonic/monotonic-1.6-py2.py3-none-any.whl (5.3 kB)
Collecting pymavlink>=2.2.20
Using cached pymavlink-2.4.15-cp36-cp36m-linux_armv7l.whl
Collecting lxml
Using cached lxml-4.6.3.tar.gz (3.2 MB)
Collecting future
Using cached https://www.piwheels.org/simple/future/future-0.18.2-py3-none-any.whl (491 kB)
Building wheels for collected packages: lxml
Building wheel for lxml (setup.py) ... \^canceled

Build Wheel Error when i installing JupyterLab

After downloading VS2017 build tools And Python 3.9, i try to install JupyterLab :
Configuration
Operating System: Windows 10 Pro 64-bit (10.0, Build 19041) (19041.vb_release.191206-1406)
Processor: Intel(R) Core(TM) i5-5300U CPU # 2.30GHz (4 CPUs), ~2.3GHz
Memory: 16384MB RAM
Python version : 3.9.0
IDLE : Vs2017 Professional 15.9.28 (include Build tools)
pip install jupyterlab
and i get this :
Collecting jupyterlab
Using cached jupyterlab-2.2.9-py3-none-any.whl (7.9 MB)
Collecting jinja2>=2.10
Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting tornado!=6.0.0,!=6.0.1,!=6.0.2
Using cached tornado-6.0.4.tar.gz (496 kB)
Collecting jupyterlab-server<2.0,>=1.1.5
Using cached jupyterlab_server-1.2.0-py3-none-any.whl (29 kB)
Collecting notebook>=4.3.1
Using cached notebook-6.1.4-py3-none-any.whl (9.5 MB)
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-1.1.1.tar.gz (19 kB)
Collecting requests
Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting jsonschema>=3.0.1
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting json5
Using cached json5-0.9.5-py2.py3-none-any.whl (17 kB)
Collecting ipykernel
Using cached ipykernel-5.3.4-py3-none-any.whl (120 kB)
Collecting terminado>=0.8.3
Using cached terminado-0.9.1-py3-none-any.whl (13 kB)
Collecting jupyter-client>=5.3.4
Using cached jupyter_client-6.1.7-py3-none-any.whl (108 kB)
Collecting argon2-cffi
Using cached argon2-cffi-20.1.0.tar.gz (1.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting prometheus-client
Using cached prometheus_client-0.8.0-py2.py3-none-any.whl (53 kB)
Collecting pyzmq>=17
Using cached pyzmq-19.0.2-cp39-cp39-win_amd64.whl (695 kB)
Collecting nbconvert
Using cached nbconvert-6.0.7-py3-none-any.whl (552 kB)
Collecting ipython-genutils
Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)
Collecting traitlets>=4.2.1
Using cached traitlets-5.0.5-py3-none-any.whl (100 kB)
Collecting jupyter-core>=4.6.1
Using cached jupyter_core-4.6.3-py2.py3-none-any.whl (83 kB)
Collecting Send2Trash
Using cached Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting nbformat
Using cached nbformat-5.0.8-py3-none-any.whl (172 kB)
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Using cached urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
Collecting six>=1.11.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting attrs>=17.4.0
Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB)
Collecting pyrsistent>=0.14.0
Using cached pyrsistent-0.17.3.tar.gz (106 kB)
Requirement already satisfied: setuptools in c:\users\yasse\appdata\local\programs\python\python39\lib\site-packages (from jsonschema>=3.0.1->jupyterlab-server<2.0,>=1.1.5->jupyterlab) (50.3.2)
Collecting ipython>=5.0.0
Using cached ipython-7.18.1-py3-none-any.whl (786 kB)
Collecting pywinpty>=0.5; os_name == "nt"
Using cached pywinpty-0.5.7.tar.gz (49 kB)
Collecting python-dateutil>=2.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting cffi>=1.0.0
Using cached cffi-1.14.3-cp39-cp39-win_amd64.whl (179 kB)
Collecting mistune<2,>=0.8.1
Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting testpath
Using cached testpath-0.4.4-py2.py3-none-any.whl (163 kB)
Collecting defusedxml
Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting nbclient<0.6.0,>=0.5.0
Using cached nbclient-0.5.1-py3-none-any.whl (65 kB)
Collecting jupyterlab-pygments
Using cached jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)
Collecting bleach
Using cached bleach-3.2.1-py2.py3-none-any.whl (145 kB)
Collecting pandocfilters>=1.4.1
Using cached pandocfilters-1.4.3.tar.gz (16 kB)
Collecting entrypoints>=0.2.2
Using cached entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting pygments>=2.4.1
Using cached Pygments-2.7.2-py3-none-any.whl (948 kB)
Collecting pywin32>=1.0; sys_platform == "win32"
Using cached pywin32-228-cp39-cp39-win_amd64.whl (9.1 MB)
Collecting colorama; sys_platform == "win32"
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting decorator
Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting pickleshare
Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
Using cached prompt_toolkit-3.0.8-py3-none-any.whl (355 kB)
Collecting backcall
Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting jedi>=0.10
Using cached jedi-0.17.2-py2.py3-none-any.whl (1.4 MB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting nest-asyncio
Using cached nest_asyncio-1.4.2-py3-none-any.whl (5.3 kB)
Collecting async-generator
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting webencodings
Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting packaging
Using cached packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting wcwidth
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting parso<0.8.0,>=0.7.0
Using cached parso-0.7.1-py2.py3-none-any.whl (109 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Using legacy 'setup.py install' for tornado, since package 'wheel' is not installed.
Using legacy 'setup.py install' for MarkupSafe, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pyrsistent, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pywinpty, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pandocfilters, since package 'wheel' is not installed.
Building wheels for collected packages: argon2-cffi
Building wheel for argon2-cffi (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\yasse\appdata\local\programs\python\python39\python.exe' 'c:\users\yasse\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\yasse\AppData\Local\Temp\tmpal71y1ke'
cwd: C:\Users\yasse\AppData\Local\Temp\pip-install-bubdgxpe\argon2-cffi
Complete output (17 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\argon2
copying src\argon2\exceptions.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\low_level.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\_ffi_build.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\_legacy.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\_password_hasher.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\_utils.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\__init__.py -> build\lib.win-amd64-3.9\argon2
copying src\argon2\__main__.py -> build\lib.win-amd64-3.9\argon2
running build_clib
building 'argon2' library
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for argon2-cffi
Failed to build argon2-cffi
ERROR: Could not build wheels for argon2-cffi which use PEP 517 and cannot be installed directly
After checking some forum i found that Errors is from The Build tools but I install it And i don't know why its not working !
Have you tried installing the wheel module ?
pip3 install wheel

Heroku cant detect Procfile (Pycharm)

I have also tried using the echo command and i have it on github also but for some reason it wont be detected.
Here is what i have inside Procfile `"worker: python main.py"
Here is the build log:
-----> Python app detected
-----> Installing python-3.8.5
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
Collecting certifi==2020.6.20
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting chardet==3.0.4
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna==2.10
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting oauthlib==3.1.0
Downloading oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting PySocks==1.7.1
Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
Collecting requests==2.24.0
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting requests-oauthlib==1.3.0
Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting six==1.15.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting tweepy==3.9.0
Downloading tweepy-3.9.0-py2.py3-none-any.whl (30 kB)
Collecting urllib3==1.25.10
Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Installing collected packages: certifi, chardet, idna, oauthlib, PySocks, urllib3, requests, requests-oauthlib, six, tweepy
Successfully installed PySocks-1.7.1 certifi-2020.6.20 chardet-3.0.4 idna-2.10 oauthlib-3.1.0 requests-2.24.0 requests-oauthlib-1.3.0 six-1.15.0 tweepy-3.9.0 urllib3-1.25.10
-----> Discovering process types
-----> Compressing...
Done: 53.2M
-----> Launching...
Released v3
https://twitterbot1k.herokuapp.com/ deployed to Heroku
`
Have you added requirements.txt file in your root directory? I faced similar issue when I forgot to add requirements.txt. Please create empty file if you don't need any extra packages. It tells Heroku that your application is written in Python.

Categories

Resources