i want to install these dependencies (streamlit, fbprophet, yfinance, plotly)
i run : pip install streamlit fbprophet yfinance plotly
it is showing this error in the terminal!
Collecting streamlit
Using cached streamlit-1.14.0-py2.py3-none-any.whl (9.2 MB)
Collecting fbprophet
Using cached fbprophet-0.7.1.tar.gz (64 kB)
Preparing metadata (setup.py) ... done
Collecting yfinance
Using cached yfinance-0.1.85-py2.py3-none-any.whl (29 kB)
Collecting plotly
Using cached plotly-5.11.0-py2.py3-none-any.whl (15.3 MB)
Collecting typing-extensions>=3.10.0.0
Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting requests>=2.4
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting pympler>=0.9
Using cached Pympler-1.0.1-py3-none-any.whl (164 kB)
Collecting watchdog
Using cached watchdog-2.1.9-py3-none-win_amd64.whl (78 kB)
Collecting pandas>=0.21.0
Using cached pandas-1.5.1-cp39-cp39-win_amd64.whl (10.9 MB)
Collecting pydeck>=0.1.dev5
Using cached pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
Collecting altair>=3.2.0
Using cached altair-4.2.0-py3-none-any.whl (812 kB)
Collecting toml
Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting importlib-metadata>=1.4
Using cached importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting click>=7.0
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting pillow>=6.2.0
Using cached Pillow-9.3.0-cp39-cp39-win_amd64.whl (2.5 MB)
Collecting protobuf<4,>=3.12
Using cached protobuf-3.20.3-cp39-cp39-win_amd64.whl (904 kB)
Collecting validators>=0.2
Using cached validators-0.20.0.tar.gz (30 kB)
Preparing metadata (setup.py) ... done
Collecting gitpython!=3.1.19
Using cached GitPython-3.1.29-py3-none-any.whl (182 kB)
Collecting numpy
Using cached numpy-1.23.4-cp39-cp39-win_amd64.whl (14.7 MB)
Collecting semver
Using cached semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting pyarrow>=4.0
Using cached pyarrow-10.0.0-cp39-cp39-win_amd64.whl (20.0 MB)
Collecting python-dateutil
Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting blinker>=1.0.0
Using cached blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting packaging>=14.1
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting rich>=10.11.0
Using cached rich-12.6.0-py3-none-any.whl (237 kB)
Collecting tornado>=5.0
Using cached tornado-6.2-cp37-abi3-win_amd64.whl (425 kB)
Collecting cachetools>=4.0
Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting tzlocal>=1.1
Using cached tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting Cython>=0.22
Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
Collecting cmdstanpy==0.9.5
Using cached cmdstanpy-0.9.5-py3-none-any.whl (37 kB)
Collecting pystan>=2.14
Using cached pystan-3.5.0-py3-none-any.whl (13 kB)
Collecting matplotlib>=2.0.0
Using cached matplotlib-3.6.2-cp39-cp39-win_amd64.whl (7.2 MB)
Collecting LunarCalendar>=0.0.9
Using cached LunarCalendar-0.0.9-py2.py3-none-any.whl (18 kB)
Collecting convertdate>=2.1.2
Using cached convertdate-2.4.0-py3-none-any.whl (47 kB)
Collecting holidays>=0.10.2
Using cached holidays-0.16-py3-none-any.whl (184 kB)
Collecting setuptools-git>=1.2
Using cached setuptools_git-1.2-py2.py3-none-any.whl (10 kB)
Collecting tqdm>=4.36.1
Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
Collecting multitasking>=0.0.7
Using cached multitasking-0.0.11-py3-none-any.whl (8.5 kB)
Collecting appdirs>=1.4.4
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting lxml>=4.5.1
Using cached lxml-4.9.1-cp39-cp39-win_amd64.whl (3.6 MB)
Collecting tenacity>=6.2.0
Using cached tenacity-8.1.0-py3-none-any.whl (23 kB)
Collecting toolz
Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting entrypoints
Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting jinja2
Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting jsonschema>=3.0
Using cached jsonschema-4.17.0-py3-none-any.whl (83 kB)
Collecting colorama
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting pymeeus<=1,>=0.3.13
Using cached PyMeeus-0.5.11.tar.gz (5.4 MB)
Preparing metadata (setup.py) ... done
Collecting gitdb<5,>=4.0.1
Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
Collecting korean-lunar-calendar
Using cached korean_lunar_calendar-0.3.1-py3-none-any.whl (9.0 kB)
Collecting hijri-converter
Using cached hijri_converter-2.2.4-py3-none-any.whl (14 kB)
Collecting zipp>=0.5
Using cached zipp-3.10.0-py3-none-any.whl (6.2 kB)
Collecting ephem>=3.7.5.3
Using cached ephem-4.1.3-cp39-cp39-win_amd64.whl (1.4 MB)
Collecting pytz
Using cached pytz-2022.6-py2.py3-none-any.whl (498 kB)
Collecting contourpy>=1.0.1
Using cached contourpy-1.0.6-cp39-cp39-win_amd64.whl (161 kB)
Collecting fonttools>=4.22.0
Using cached fonttools-4.38.0-py3-none-any.whl (965 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.4.4-cp39-cp39-win_amd64.whl (55 kB)
Collecting pyparsing>=2.2.1
Using cached clikit-0.6.2-py2.py3-none-any.whl (91 kB)
Collecting pystan>=2.14
Using cached pystan-3.4.0-py3-none-any.whl (13 kB)
Using cached pystan-3.3.0-py3-none-any.whl (13 kB)
Using cached pystan-3.2.0-py3-none-any.whl (13 kB)
Using cached pystan-3.1.1-py3-none-any.whl (13 kB) ╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\Admin\AppData\Local\Temp\pip-install-cpz50fug\pystan_29b2e0ee589444e48d57493b846dbeee\setup.py", line 122, in <module>
from Cython.Build.Inline import _get_build_extension
ModuleNotFoundError: No module named 'Cython'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
how do i solve this? i tried on different devices it is showing more errors...i used anaconda navigator to run this project.
ModuleNotFoundError: No module named 'Cython'
You need Cython inorder to install pystan
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
I have installed rasa on Max OSX and this output on the terminal:
python3.8 -m pip install rasa
Collecting rasa
Using cached rasa-2.2.2-py3-none-any.whl (688 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/2d/6d/bb/486f8c893f1dcc917860a5b3e2f2ca286c398f7d548ffc649c/aiohttp-3.6.3-cp38-cp38-macosx_10_9_x86_64.whl
Collecting apscheduler<3.7,>=3.6
Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB)
Collecting ujson<4.0,>=1.35
Using cached ujson-3.2.0-cp38-cp38-macosx_10_14_x86_64.whl (45 kB)
Collecting absl-py<0.11,>=0.9
Using cached absl_py-0.10.0-py3-none-any.whl (127 kB)
Collecting jsonschema<3.3,>=3.2
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting tqdm<4.51,>=4.31
Using cached tqdm-4.50.2-py2.py3-none-any.whl (70 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/e3/20/a2/d1e894c0ef62547559ba0cca55e27dc5dcf65ad87abea69d32/sanic_jwt-1.4.1-py3-none-any.whl
Collecting multidict<5.0,>=4.6
Using cached multidict-4.7.6-cp38-cp38-macosx_10_14_x86_64.whl (48 kB)
Collecting rasa-sdk<3.0.0,>=2.2.0
Using cached rasa_sdk-2.2.0-py3-none-any.whl (42 kB)
Collecting redis<4.0,>=3.4
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting questionary<1.6.0,>=1.5.1
Using cached questionary-1.5.2-py3-none-any.whl (26 kB)
Collecting async_generator<1.11,>=1.10
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/96/aa/c2/aab14cd3ad606228f7c3d151a0ec7da79978964a2b2e92db91/regex-2020.9.27-cp38-cp38-macosx_10_9_x86_64.whl
Collecting sentry-sdk<0.20.0,>=0.17.0
Using cached sentry_sdk-0.19.5-py2.py3-none-any.whl (128 kB)
Requirement already satisfied: setuptools>=41.0.0 in ./venv/lib/python3.8/site-packages (from rasa) (50.3.2)
Collecting jsonpickle<1.5,>=1.3
Using cached jsonpickle-1.4.2-py2.py3-none-any.whl (36 kB)
Collecting packaging<21.0,>=20.0
Using cached packaging-20.8-py2.py3-none-any.whl (39 kB)
Collecting fbmessenger<6.1.0,>=6.0.0
Using cached fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB)
Collecting attrs<20.3,>=19.3
Using cached attrs-20.2.0-py2.py3-none-any.whl (48 kB)
Collecting rocketchat_API<1.10.0,>=0.6.31
Using cached rocketchat_API-1.9.1-py3-none-any.whl (9.8 kB)
Collecting coloredlogs<15,>=10
Using cached coloredlogs-14.3-py2.py3-none-any.whl (44 kB)
Collecting python-dateutil<2.9,>=2.8
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting networkx<2.6,>=2.4
Using cached networkx-2.5-py3-none-any.whl (1.6 MB)
Collecting tensorflow-probability<0.12,>=0.11
Using cached tensorflow_probability-0.11.1-py2.py3-none-any.whl (4.3 MB)
Collecting pykwalify<1.8.0,>=1.7.0
Using cached pykwalify-1.7.0-py2.py3-none-any.whl (40 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/08/8f/5f/253d0105a55bd84ee61ef0d37dbf70421e61e0cd70cef7c5e1/terminaltables-3.1.0-py3-none-any.whl
Collecting pytz<2021.0,>=2019.1
Using cached pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting colorhash<1.1.0,>=1.0.2
Using cached colorhash-1.0.3-py3-none-any.whl (4.0 kB)
Collecting joblib<0.16.0,>=0.15.1
Using cached joblib-0.15.1-py3-none-any.whl (298 kB)
Collecting kafka-python<3.0,>=1.4
Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/cd/d4/31/74e1cb4f74bd72a0e74d6fbb28f5093b9a2168df275aa59440/twilio-6.45.4-py2.py3-none-any.whl
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/bf/4f/4e/831c191578fd8b676533e1bf85e4710e3215c72c1d3d0d6710/colorclass-2.2.0-py3-none-any.whl
Collecting PyJWT<1.8,>=1.7
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting pydot<1.5,>=1.4
Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/1a/d3/89/63aef88b581e7acc2c48812e6160a2bae57b6ef180f6e1f293/mattermostwrapper-2.2-py3-none-any.whl
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/64/0e/23/0691479628b75b644d805dec9434665a3066e9be25c05cc3b9/pyTelegramBotAPI-3.7.4-py3-none-any.whl
Collecting python-engineio<3.14,>=3.11
Using cached python_engineio-3.13.2-py2.py3-none-any.whl (50 kB)
Collecting cloudpickle<1.5,>=1.2
Using cached cloudpickle-1.4.1-py3-none-any.whl (26 kB)
Collecting python-socketio<4.7,>=4.4
Using cached python_socketio-4.6.1-py2.py3-none-any.whl (51 kB)
Collecting psycopg2-binary<2.9.0,>=2.8.2
Using cached psycopg2_binary-2.8.6-cp38-cp38-macosx_10_9_x86_64.macosx_10_9_intel.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.5 MB)
Collecting sklearn-crfsuite<0.4,>=0.3
Using cached sklearn_crfsuite-0.3.6-py2.py3-none-any.whl (12 kB)
Collecting tensorflow-estimator<2.4,>=2.3
Using cached tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
Collecting scikit-learn<0.24,>=0.22
Using cached scikit_learn-0.23.2-cp38-cp38-macosx_10_9_x86_64.whl (7.2 MB)
Collecting matplotlib<3.4,>=3.1
Using cached matplotlib-3.3.3-cp38-cp38-macosx_10_9_x86_64.whl (8.5 MB)
Collecting tensorflow_hub<0.10,>=0.9
Using cached tensorflow_hub-0.9.0-py2.py3-none-any.whl (103 kB)
Collecting scipy<2.0.0,>=1.4.1
Using cached scipy-1.5.4-cp38-cp38-macosx_10_9_x86_64.whl (29.0 MB)
Collecting aio-pika<7.0.0,>=6.7.1
Using cached aio_pika-6.7.1-py3-none-any.whl (41 kB)
Collecting boto3<2.0,>=1.12
Using cached boto3-1.16.41-py2.py3-none-any.whl (130 kB)
Collecting tensorflow<2.4,>=2.3
Using cached tensorflow-2.3.1-cp38-cp38-macosx_10_14_x86_64.whl (165.2 MB)
Collecting webexteamssdk<1.7.0,>=1.1.1
Using cached webexteamssdk-1.6-py3-none-any.whl (113 kB)
Collecting oauth2client==4.1.3
Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB)
Collecting pymongo[srv,tls]<3.11,>=3.8
Using cached pymongo-3.10.1-cp38-cp38-macosx_10_9_x86_64.whl (351 kB)
Collecting slackclient<3.0.0,>=2.0.0
Using cached slackclient-2.9.3-py2.py3-none-any.whl (96 kB)
Collecting sanic<21.0.0,>=19.12.2
Using cached sanic-20.9.1-py3-none-any.whl (79 kB)
Collecting tensorflow-text<2.4,>=2.3; sys_platform != "win32"
Using cached tensorflow_text-2.3.0-cp38-cp38-macosx_10_9_x86_64.whl (2.2 MB)
Collecting SQLAlchemy<1.4.0,>=1.3.3
Using cached SQLAlchemy-1.3.22-cp38-cp38-macosx_10_14_x86_64.whl (1.2 MB)
Collecting ruamel.yaml<0.17.0,>=0.16.5
Using cached ruamel.yaml-0.16.12-py2.py3-none-any.whl (111 kB)
Collecting numpy<2.0,>=1.16
Using cached numpy-1.19.4-cp38-cp38-macosx_10_9_x86_64.whl (15.3 MB)
Collecting sanic-cors<0.11.0,>=0.10.0b1
Using cached Sanic_Cors-0.10.0.post3-py2.py3-none-any.whl (17 kB)
Collecting tensorflow-addons<=0.12,>=0.10
Using cached tensorflow_addons-0.11.2-cp38-cp38-macosx_10_13_x86_64.whl (613 kB)
Collecting requests<3.0,>=2.23
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting prompt-toolkit<3.0,>=2.0
Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
Collecting chardet<4.0,>=2.0
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting async-timeout<4.0,>=3.0
Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting yarl<1.6.0,>=1.0
Using cached yarl-1.5.1-cp38-cp38-macosx_10_14_x86_64.whl (128 kB)
Collecting tzlocal>=1.2
Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Collecting six>=1.4.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/3d/22/08/7042eb6309c650c7b53615d5df5cc61f1ea9680e7edd3a08d2/pyrsistent-0.17.3-cp38-cp38-macosx_10_9_x86_64.whl
Collecting certifi
Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
Collecting urllib3>=1.10.0
Using cached urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting humanfriendly>=7.1
Using cached humanfriendly-9.1-py2.py3-none-any.whl (86 kB)
Collecting decorator>=4.3.0
Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting gast>=0.3.2
Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting dm-tree
Using cached dm_tree-0.1.5-cp38-cp38-macosx_10_14_x86_64.whl (95 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c/docopt-0.6.2-py2.py3-none-any.whl
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/13/90/db/290ab3a34f2ef0b5a0f89235dc2d40fea83e77de84ed2dc05c/PyYAML-5.3.1-cp38-cp38-macosx_10_9_x86_64.whl
Collecting python-crfsuite>=0.8.3
Using cached python_crfsuite-0.9.7-cp38-cp38-macosx_10_13_x86_64.whl (186 kB)
Collecting tabulate
Using cached tabulate-0.8.7-py3-none-any.whl (24 kB)
Collecting threadpoolctl>=2.0.0
Using cached threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl (61 kB)
Collecting pillow>=6.2.0
Using cached Pillow-8.0.1-cp38-cp38-macosx_10_10_x86_64.whl (2.2 MB)
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting protobuf>=3.8.0
Using cached protobuf-3.14.0-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB)
Collecting aiormq<4,>=3.2.3
Using cached aiormq-3.3.1-py3-none-any.whl (28 kB)
Collecting s3transfer<0.4.0,>=0.3.0
Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
Collecting jmespath<1.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting botocore<1.20.0,>=1.19.41
Using cached botocore-1.19.41-py2.py3-none-any.whl (7.1 MB)
Collecting grpcio>=1.8.6
Using cached grpcio-1.34.0-cp38-cp38-macosx_10_10_x86_64.whl (3.6 MB)
Collecting google-pasta>=0.1.8
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting astunparse==1.6.3
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Requirement already satisfied: wheel>=0.26 in ./venv/lib/python3.8/site-packages (from tensorflow<2.4,>=2.3->rasa) (0.35.1)
Collecting h5py<2.11.0,>=2.10.0
Using cached h5py-2.10.0-cp38-cp38-macosx_10_9_x86_64.whl (3.0 MB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/a0/16/9c/5473df82468f958445479c59e784896fa24f4a5fc024b0f501/termcolor-1.1.0-py3-none-any.whl
Collecting opt-einsum>=2.3.2
Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting tensorboard<3,>=2.3.0
Using cached tensorboard-2.4.0-py3-none-any.whl (10.6 MB)
Collecting keras-preprocessing<1.2,>=1.1.1
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/5f/fd/9e/b6cf5890494cb8ef0b5eaff72e5d55a70fb56316007d6dfe73/wrapt-1.12.1-cp38-cp38-macosx_10_9_x86_64.whl
Collecting requests-toolbelt
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Processing /Users/zahraa-maher/Library/Caches/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4/future-0.18.2-py3-none-any.whl
Collecting rsa>=3.1.4
Using cached rsa-4.6-py3-none-any.whl (47 kB)
Collecting pyasn1>=0.1.7
Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyasn1-modules>=0.0.5
Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting httplib2>=0.9.1
Using cached httplib2-0.18.1-py3-none-any.whl (95 kB)
Collecting dnspython<2.0.0,>=1.16.0; extra == "srv"
Using cached dnspython-1.16.0-py2.py3-none-any.whl (188 kB)
Collecting httptools>=0.0.10
Using cached httptools-0.1.1-cp38-cp38-macosx_10_13_x86_64.whl (102 kB)
Collecting uvloop>=0.5.3; sys_platform != "win32" and implementation_name == "cpython"
Using cached uvloop-0.14.0-cp38-cp38-macosx_10_11_x86_64.whl (1.5 MB)
Collecting httpx==0.15.4
Using cached httpx-0.15.4-py3-none-any.whl (65 kB)
Collecting websockets<9.0,>=8.1
Using cached websockets-8.1-cp38-cp38-macosx_10_9_x86_64.whl (64 kB)
Collecting aiofiles>=0.3.0
Using cached aiofiles-0.6.0-py3-none-any.whl (11 kB)
Collecting ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9"
Using cached ruamel.yaml.clib-0.2.2-cp38-cp38-macosx_10_9_x86_64.whl (149 kB)
Collecting sanic-plugins-framework>=0.9.0
Using cached Sanic_Plugins_Framework-0.9.4.post1-py2.py3-none-any.whl (23 kB)
Collecting typeguard>=2.7
Using cached typeguard-2.10.0-py3-none-any.whl (16 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting wcwidth
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting pamqp==2.3.0
Using cached pamqp-2.3.0-py2.py3-none-any.whl (28 kB)
Collecting tensorboard-plugin-wit>=1.6.0
Using cached tensorboard_plugin_wit-1.7.0-py3-none-any.whl (779 kB)
Collecting werkzeug>=0.11.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
Using cached google_auth_oauthlib-0.4.2-py2.py3-none-any.whl (18 kB)
Collecting markdown>=2.6.8
Using cached Markdown-3.3.3-py3-none-any.whl (96 kB)
Collecting google-auth<2,>=1.6.3
Using cached google_auth-1.24.0-py2.py3-none-any.whl (114 kB)
Collecting httpcore==0.11.*
Using cached httpcore-0.11.1-py3-none-any.whl (52 kB)
Collecting rfc3986[idna2008]<2,>=1.3
Using cached rfc3986-1.4.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
Using cached sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting requests-oauthlib>=0.7.0
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting cachetools<5.0,>=2.0.0
Using cached cachetools-4.2.0-py3-none-any.whl (12 kB)
Collecting h11<0.10,>=0.8
Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Installing collected packages: chardet, async-timeout, attrs, idna, multidict, yarl, aiohttp, pytz, tzlocal, six, apscheduler, ujson, absl-py, pyrsistent, jsonschema, tqdm, PyJWT, sanic-jwt, certifi, urllib3, requests, httptools, uvloop, sniffio, h11, httpcore, rfc3986, httpx, websockets, aiofiles, sanic, sanic-plugins-framework, sanic-cors, humanfriendly, coloredlogs, rasa-sdk, redis, wcwidth, prompt-toolkit, questionary, async-generator, regex, sentry-sdk, jsonpickle, pyparsing, packaging, fbmessenger, rocketchat-API, python-dateutil, decorator, networkx, gast, dm-tree, numpy, cloudpickle, tensorflow-probability, docopt, PyYAML, pykwalify, terminaltables, colorhash, joblib, kafka-python, twilio, colorclass, pydot, mattermostwrapper, pyTelegramBotAPI, python-engineio, python-socketio, psycopg2-binary, python-crfsuite, tabulate, sklearn-crfsuite, tensorflow-estimator, threadpoolctl, scipy, scikit-learn, kiwisolver, pillow, cycler, matplotlib, protobuf, tensorflow-hub, pamqp, aiormq, aio-pika, jmespath, botocore, s3transfer, boto3, grpcio, google-pasta, astunparse, h5py, termcolor, opt-einsum, tensorboard-plugin-wit, werkzeug, pyasn1, pyasn1-modules, cachetools, rsa, google-auth, oauthlib, requests-oauthlib, google-auth-oauthlib, markdown, tensorboard, keras-preprocessing, wrapt, tensorflow, requests-toolbelt, future, webexteamssdk, httplib2, oauth2client, dnspython, pymongo, slackclient, tensorflow-text, SQLAlchemy, ruamel.yaml.clib, ruamel.yaml, typeguard, tensorflow-addons, rasa
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible.
tensorflow 2.3.1 requires gast==0.3.3, but you'll have gast 0.4.0 which is incompatible.
tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.4 which is incompatible.
Successfully installed PyJWT-1.7.1 PyYAML-5.3.1 SQLAlchemy-1.3.22 absl-py-0.10.0 aio-pika-6.7.1 aiofiles-0.6.0 aiohttp-3.6.3 aiormq-3.3.1 apscheduler-3.6.3 astunparse-1.6.3 async-generator-1.10 async-timeout-3.0.1 attrs-20.2.0 boto3-1.16.41 botocore-1.19.41 cachetools-4.2.0 certifi-2020.12.5 chardet-3.0.4 cloudpickle-1.4.1 colorclass-2.2.0 coloredlogs-14.3 colorhash-1.0.3 cycler-0.10.0 decorator-4.4.2 dm-tree-0.1.5 dnspython-1.16.0 docopt-0.6.2 fbmessenger-6.0.0 future-0.18.2 gast-0.4.0 google-auth-1.24.0 google-auth-oauthlib-0.4.2 google-pasta-0.2.0 grpcio-1.34.0 h11-0.9.0 h5py-2.10.0 httpcore-0.11.1 httplib2-0.18.1 httptools-0.1.1 httpx-0.15.4 humanfriendly-9.1 idna-2.10 jmespath-0.10.0 joblib-0.15.1 jsonpickle-1.4.2 jsonschema-3.2.0 kafka-python-2.0.2 keras-preprocessing-1.1.2 kiwisolver-1.3.1 markdown-3.3.3 matplotlib-3.3.3 mattermostwrapper-2.2 multidict-4.7.6 networkx-2.5 numpy-1.19.4 oauth2client-4.1.3 oauthlib-3.1.0 opt-einsum-3.3.0 packaging-20.8 pamqp-2.3.0 pillow-8.0.1 prompt-toolkit-2.0.10 protobuf-3.14.0 psycopg2-binary-2.8.6 pyTelegramBotAPI-3.7.4 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydot-1.4.1 pykwalify-1.7.0 pymongo-3.10.1 pyparsing-2.4.7 pyrsistent-0.17.3 python-crfsuite-0.9.7 python-dateutil-2.8.1 python-engineio-3.13.2 python-socketio-4.6.1 pytz-2020.4 questionary-1.5.2 rasa-2.2.2 rasa-sdk-2.2.0 redis-3.5.3 regex-2020.9.27 requests-2.25.1 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 rocketchat-API-1.9.1 rsa-4.6 ruamel.yaml-0.16.12 ruamel.yaml.clib-0.2.2 s3transfer-0.3.3 sanic-20.9.1 sanic-cors-0.10.0.post3 sanic-jwt-1.4.1 sanic-plugins-framework-0.9.4.post1 scikit-learn-0.23.2 scipy-1.5.4 sentry-sdk-0.19.5 six-1.15.0 sklearn-crfsuite-0.3.6 slackclient-2.9.3 sniffio-1.2.0 tabulate-0.8.7 tensorboard-2.4.0 tensorboard-plugin-wit-1.7.0 tensorflow-2.3.1 tensorflow-addons-0.11.2 tensorflow-estimator-2.3.0 tensorflow-hub-0.9.0 tensorflow-probability-0.11.1 tensorflow-text-2.3.0 termcolor-1.1.0 terminaltables-3.1.0 threadpoolctl-2.1.0 tqdm-4.50.2 twilio-6.45.4 typeguard-2.10.0 tzlocal-2.1 ujson-3.2.0 urllib3-1.26.2 uvloop-0.14.0 wcwidth-0.2.5 webexteamssdk-1.6 websockets-8.1 werkzeug-1.0.1 wrapt-1.12.1 yarl-1.5.1
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the '/Users/zahraa-maher/rasa-init-demo/venv/bin/python3.8 -m pip install --upgrade pip' command.
you can see that It has this with the output:
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible.
tensorflow 2.3.1 requires gast==0.3.3, but you'll have gast 0.4.0 which is incompatible.
tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.4 which is incompatible.
what is this mean and how I can solve it? what I should type?
and then I have installed rasa x on the terminal also to start the local server,
and those errors have appeared for me:
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible.
Successfully installed GitPython-3.1.11 Mako-1.1.3 MarkupSafe-1.1.1 alembic-1.4.3 attrs-19.3.0 cffi-1.14.4 cryptography-2.9.2 gitdb-4.0.5 isodate-0.6.0 kafka-python-1.4.7 pika-1.1.0 pycparser-2.20 python-editor-1.0.4 rasa-x-0.34.0 smmap-3.0.4 ujson-1.35
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the '/Users/zahraa-maher/rasa-init-demo/venv/bin/python -m pip install --upgrade pip' command.
and the local server is not running when I type http://localhost:5002/ on my browser
how I solve the problem?
Could you share the commands that you use to install rasa and rasa-x? We recommend installing rasa and rasa-x in a python virtual environment. Step-by-step guide see installation guide.
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
sanic 20.9.1 requires multidict==5.0.0, but you'll have multidict 4.7.6 which is incompatible.
Successfully installed GitPython-3.1.11 Mako-1.1.3 MarkupSafe-1.1.1 alembic-1.4.3 attrs-19.3.0 cffi-1.14.4 cryptography-2.9.2 gitdb-4.0.5 isodate-0.6.0 kafka-python-1.4.7 pika-1.1.0 pycparser-2.20 python-editor-1.0.4 rasa-x-0.34.0 smmap-3.0.4 ujson-1.35
WARNING: You are using pip version 20.2.4; however, version 20.3.3 is available.
You should consider upgrading via the '/Users/zahraa-maher/rasa-init-demo/venv/bin/python -m pip install --upgrade pip' command.
This error message is more likely a python library compatibility problem.
Your multidict, gast, numpy packages are not the version that rasa needs. A solution for this is to use virtual environment and install the compatible version of multidict, gast, numpy packages in that virtual environment.
I have establised a virtual enviroment by using python 3.6;
the requirements.txt:
alembic==0.9.9
blinker==1.4
chardet==3.0.4
click==6.7
Flask==1.0.2
Flask-Dance==0.14.0
Flask-DebugToolbar==0.10.1
Flask-Login==0.4.1
Flask-Migrate==2.1.1
Flask-OAuth==0.12
Flask-OAuthlib==0.9.4
Flask-SQLAlchemy==2.3.2
Flask-WTF==0.14.2
httplib2==0.11.3
idna==2.6
itsdangerous==0.24
Jinja2==2.10
lazy==1.3
Mako==1.0.7
MarkupSafe==1.0
oauth2==1.9.0.post1
oauthlib==2.0.7
python-dateutil==2.7.2
python-editor==1.0.3
requests==2.18.4
requests-oauthlib==0.8.0
six==1.11.0
SQLAlchemy==1.2.6
SQLAlchemy-Utils==0.33.2
urllib3==1.22
URLObject==2.4.3
Werkzeug==0.14.1
wincertstore==0.2
WTForms==2.1
The interesting thing is I can install the package one by one, for example:
(mynewflaskenv) D:\pythonProject10>pip install alembic==0.9.9
Collecting alembic==0.9.9
Using cached alembic-0.9.9.tar.gz (1.0 MB)
Collecting SQLAlchemy>=0.7.6
Downloading SQLAlchemy-1.3.20-cp36-cp36m-win_amd64.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 2.2 MB/s
Collecting Mako
Downloading Mako-1.1.3-py2.py3-none-any.whl (75 kB)
|████████████████████████████████| 75 kB 5.1 MB/s
Collecting python-editor>=0.3
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting python-dateutil
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting MarkupSafe>=0.9.2
Downloading MarkupSafe-1.1.1-cp36-cp36m-win_amd64.whl (16 kB)
Collecting six>=1.5
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Using legacy 'setup.py install' for alembic, since package 'wheel' is not installed.
Installing collected packages: SQLAlchemy, MarkupSafe, Mako, python-editor, six, python-dateutil, alembic
Running setup.py install for alembic ... done
Successfully installed Mako-1.1.3 MarkupSafe-1.1.1 SQLAlchemy-1.3.20 alembic-0.9.9 python-dateutil-2.8.1 python-editor-1.0.4 six-1.15.0
But if I use pip install -r requirements.txt:
(mynewflaskenv) D:\pythonProject10>pip install -r requirements.txt
Collecting alembic==0.9.9
Using cached alembic-0.9.9.tar.gz (1.0 MB)
Collecting blinker==1.4
Using cached blinker-1.4.tar.gz (111 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting click==6.7
Using cached click-6.7-py2.py3-none-any.whl (71 kB)
Collecting Flask==1.0.2
Using cached Flask-1.0.2-py2.py3-none-any.whl (91 kB)
Collecting Flask-Dance==0.14.0
Using cached Flask_Dance-0.14.0-py2.py3-none-any.whl (39 kB)
Collecting Flask-DebugToolbar==0.10.1
Using cached Flask_DebugToolbar-0.10.1-py2.py3-none-any.whl (326 kB)
Collecting Flask-Login==0.4.1
Using cached Flask-Login-0.4.1.tar.gz (14 kB)
Collecting Flask-Migrate==2.1.1
Using cached Flask_Migrate-2.1.1-py2.py3-none-any.whl (13 kB)
Collecting Flask-OAuth==0.12
Using cached Flask-OAuth-0.12.tar.gz (6.2 kB)
Collecting Flask-OAuthlib==0.9.4
Using cached Flask-OAuthlib-0.9.4.tar.gz (34 kB)
Collecting Flask-SQLAlchemy==2.3.2
Using cached Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl (16 kB)
Collecting Flask-WTF==0.14.2
Using cached Flask_WTF-0.14.2-py2.py3-none-any.whl (14 kB)
Collecting httplib2==0.11.3
Using cached httplib2-0.11.3.tar.gz (215 kB)
Collecting idna==2.6
Using cached idna-2.6-py2.py3-none-any.whl (56 kB)
Collecting itsdangerous==0.24
Using cached itsdangerous-0.24.tar.gz (46 kB)
Collecting Jinja2==2.10
Using cached Jinja2-2.10-py2.py3-none-any.whl (126 kB)
Collecting lazy==1.3
Using cached lazy-1.3.zip (15 kB)
Collecting Mako==1.0.7
Using cached Mako-1.0.7.tar.gz (564 kB)
Collecting MarkupSafe==1.0
Using cached MarkupSafe-1.0.tar.gz (14 kB)
ERROR: Command errored out with exit status 1:
command: 'd:\pythonproject10\mynewflaskenv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\
dell\\AppData\\Local\\Temp\\pip-install-4wzmja7p\\markupsafe\\setup.py'"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-in
stall-4wzmja7p\\markupsafe\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"
'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\dell\AppData\Local\Temp\pip-pip-egg-inf
o-vwktxwrl'
cwd: C:\Users\dell\AppData\Local\Temp\pip-install-4wzmja7p\markupsafe\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\dell\AppData\Local\Temp\pip-install-4wzmja7p\markupsafe\setup.py", line 6, in <module>
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
(mynewflaskenv) D:\pythonProject10>pip install alembic==0.9.9
Collecting alembic==0.9.9
Using cached alembic-0.9.9.tar.gz (1.0 MB)
Collecting SQLAlchemy>=0.7.6
Downloading SQLAlchemy-1.3.20-cp36-cp36m-win_amd64.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 2.2 MB/s
Collecting Mako
Downloading Mako-1.1.3-py2.py3-none-any.whl (75 kB)
|████████████████████████████████| 75 kB 5.1 MB/s
Collecting python-editor>=0.3
Downloading python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting python-dateutil
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting MarkupSafe>=0.9.2
Downloading MarkupSafe-1.1.1-cp36-cp36m-win_amd64.whl (16 kB)
Collecting six>=1.5
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Using legacy 'setup.py install' for alembic, since package 'wheel' is not installed.
Installing collected packages: SQLAlchemy, MarkupSafe, Mako, python-editor, six, python-dateutil, alembic
Running setup.py install for alembic ... done
Successfully installed Mako-1.1.3 MarkupSafe-1.1.1 SQLAlchemy-1.3.20 alembic-0.9.9 python-dateutil-2.8.1 python-editor-1.0.4 six-1.15.0
(mynewflaskenv) D:\pythonProject10>pip install -r requirements.txt
Requirement already satisfied: alembic==0.9.9 in d:\pythonproject10\mynewflaskenv\lib\site-packages (from -r requirements.txt (line 1))
(0.9.9)
Collecting blinker==1.4
Using cached blinker-1.4.tar.gz (111 kB)
Collecting chardet==3.0.4
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting click==6.7
Using cached click-6.7-py2.py3-none-any.whl (71 kB)
Collecting Flask==1.0.2
Using cached Flask-1.0.2-py2.py3-none-any.whl (91 kB)
Collecting Flask-Dance==0.14.0
Using cached Flask_Dance-0.14.0-py2.py3-none-any.whl (39 kB)
Collecting Flask-DebugToolbar==0.10.1
Using cached Flask_DebugToolbar-0.10.1-py2.py3-none-any.whl (326 kB)
Collecting Flask-Login==0.4.1
Using cached Flask-Login-0.4.1.tar.gz (14 kB)
Collecting Flask-Migrate==2.1.1
Using cached Flask_Migrate-2.1.1-py2.py3-none-any.whl (13 kB)
Collecting Flask-OAuth==0.12
Using cached Flask-OAuth-0.12.tar.gz (6.2 kB)
Collecting Flask-OAuthlib==0.9.4
Using cached Flask-OAuthlib-0.9.4.tar.gz (34 kB)
Collecting Flask-SQLAlchemy==2.3.2
Using cached Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl (16 kB)
Collecting Flask-WTF==0.14.2
Using cached Flask_WTF-0.14.2-py2.py3-none-any.whl (14 kB)
Collecting httplib2==0.11.3
Using cached httplib2-0.11.3.tar.gz (215 kB)
Collecting idna==2.6
Using cached idna-2.6-py2.py3-none-any.whl (56 kB)
Collecting itsdangerous==0.24
Using cached itsdangerous-0.24.tar.gz (46 kB)
Collecting Jinja2==2.10
Using cached Jinja2-2.10-py2.py3-none-any.whl (126 kB)
Collecting lazy==1.3
Using cached lazy-1.3.zip (15 kB)
Collecting Mako==1.0.7
Using cached Mako-1.0.7.tar.gz (564 kB)
Collecting MarkupSafe==1.0
Using cached MarkupSafe-1.0.tar.gz (14 kB)
ERROR: Command errored out with exit status 1:
command: 'd:\pythonproject10\mynewflaskenv\scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\
dell\\AppData\\Local\\Temp\\pip-install-lkdxc8hu\\markupsafe\\setup.py'"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-in
stall-lkdxc8hu\\markupsafe\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"
'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\dell\AppData\Local\Temp\pip-pip-egg-inf
o-fg4ekrqp'
cwd: C:\Users\dell\AppData\Local\Temp\pip-install-lkdxc8hu\markupsafe\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\dell\AppData\Local\Temp\pip-install-lkdxc8hu\markupsafe\setup.py", line 6, in <module>
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Have a google like Pip install from requirements file is failing, but installing one by one works similar question, but different error term, and not be solved. I am wondering can anyone share some solutions, others may also have this problem
This is because the dependencies are conflicting. Installing one by one, you actually end up installing different (conflicting) versions.
Notice:
Downloading MarkupSafe-1.1.1-cp36-cp36m-win_amd64.whl (16 kB)
But your requirements have MarkupSafe==1.0
Your best bet would probably be to only pin versions in your requirements.txt you know you need specific versions of. Try unpinning or using < <= > or >= instead of == where possible.
It's also worth noting that pip's behavior is changing in regards to conflicting dependencies. So the version of pip you're using can be important, too. Be sure to upgrade pip.
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