OpenBB-finance / OpenBB

Investment Research for Everyone, Everywhere.
https://openbb.co
Other
33.19k stars 3.03k forks source link

[Bug] Errors encountered when running `poetry install -E all` : No such file or directory #5052

Closed dharmatech closed 4 months ago

dharmatech commented 1 year ago

Describe the bug

Errors encountered when running poetry install -E all:

(obb) PS C:\Users\dharm\src\OpenBBTerminal> poetry install -E all
Installing dependencies from lock file

Package operations: 317 installs, 21 updates, 1 removal

  • Removing pywin32-ctypes (0.2.0)
  • Updating attrs (23.1.0 -> 21.4.0)
  • Updating platformdirs (2.6.2 -> 3.1.1)
  • Installing pywin32 (305)
  • Installing traitlets (5.9.0)
  • Installing entrypoints (0.4)
  • Installing fastjsonschema (2.16.3)
  • Installing jupyter-core (5.3.0)
  • Installing tornado (6.2)
  • Installing pyzmq (25.0.1)
  • Installing nest-asyncio (1.5.6)
  • Installing jupyter-client (7.4.1)
  • Installing markupsafe (2.1.2)
  • Installing nbformat (5.7.3)
  • Installing soupsieve (2.4)
  • Installing argon2-cffi-bindings (21.2.0)
  • Installing asttokens (2.2.1)
  • Installing defusedxml (0.7.1)
  • Installing bleach (6.0.0)
  • Installing beautifulsoup4 (4.11.2)
  • Installing jupyterlab-pygments (0.2.2)
  • Installing nbclient (0.6.8)
  • Installing jinja2 (3.1.2)
  • Updating importlib-metadata (6.6.0 -> 6.0.0)
  • Installing executing (1.2.0)
  • Updating packaging (23.1 -> 23.0)
  • Installing pandocfilters (1.5.0)
  • Installing parso (0.8.3)
  • Installing mistune (2.0.5)
  • Installing pure-eval (0.2.2)
  • Installing pygments (2.14.0)
  • Installing sniffio (1.3.0)
  • Installing tinycss2 (1.2.1)
  • Installing pywinpty (2.0.10)
  • Installing wcwidth (0.2.6)
  • Installing anyio (3.6.2)
  • Installing backcall (0.2.0)
  • Installing argon2-cffi (21.3.0)
  • Updating certifi (2023.5.7 -> 2022.12.7)
  • Installing jedi (0.18.2)
  • Installing decorator (5.1.1)
  • Installing nbconvert (7.2.10)
  • Installing pickleshare (0.7.5)
  • Installing matplotlib-inline (0.1.6)
  • Installing pyasn1 (0.4.8)
  • Installing stack-data (0.6.2)
  • Installing send2trash (1.8.0)
  • Installing prometheus-client (0.16.0)
  • Installing prompt-toolkit (3.0.38)
  • Installing terminado (0.17.1)
  • Installing websocket-client (1.5.1)
  • Installing cachetools (5.3.0)
  • Installing comm (0.1.2)
  • Installing frozenlist (1.3.3)
  • Installing jupyter-server (1.23.6)
  • Installing multidict (6.0.4)
  • Installing ipython (8.11.0)
  • Installing pyasn1-modules (0.2.8)
  • Updating pytz (2023.3 -> 2022.7.1)
  • Installing oauthlib (3.2.2)
  • Installing psutil (5.9.3)
  • Installing debugpy (1.6.6)
  • Updating requests (2.29.0 -> 2.28.2)
  • Installing rsa (4.9)
  • Installing aiosignal (1.3.1)
  • Installing async-timeout (4.0.2)
  • Installing ipykernel (6.21.3)
  • Installing ipython-genutils (0.2.0)
  • Installing google-auth (2.16.2)
  • Installing patsy (0.5.3)
  • Updating pandas (2.0.1 -> 1.5.3)
  • Installing requests-oauthlib (1.3.1)
  • Updating tzdata (2023.3 -> 2022.7)
  • Installing pymeeus (0.5.12)
  • Installing notebook-shim (0.2.2)
  • Installing yarl (1.8.2)
  • Installing absl-py (1.4.0)
  • Installing aiohttp (3.8.4)
  • Installing babel (2.12.1)
  • Installing convertdate (2.4.0)
  • Updating filelock (3.12.0 -> 3.10.0)
  • Installing ephem (4.1.4)
  • Installing json5 (0.9.11)
  • Installing cython (0.29.33)
  • Installing grpcio (1.51.3)
  • Installing lxml (4.9.2)
  • Installing nbclassic (0.5.3)
  • Updating pillow (9.5.0 -> 9.4.0)
  • Installing pytz-deprecation-shim (0.1.0.post0)
  • Installing korean-lunar-calendar (0.3.1)
  • Installing protobuf (3.20.1)
  • Installing markdown (3.4.1)
  • Installing google-auth-oauthlib (0.4.6)
  • Updating fonttools (4.39.4 -> 4.39.2)
  • Installing hijri-converter (2.2.4)
  • Installing llvmlite (0.39.1)
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
  • Installing pyyaml (6.0)
  • Updating scikit-learn (1.2.2 -> 1.2.1)
  • Updating setuptools (67.7.2 -> 65.4.1)
  • Installing smmap (5.0.0)
  • Installing statsmodels (0.13.5)
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
  • Installing tensorboard-data-server (0.7.0)
  • Installing tensorboard-plugin-wit (1.8.1)
  • Installing torch (1.11.0)
  • Installing tqdm (4.65.0)
  • Installing werkzeug (2.2.3)
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
  • Installing alabaster (0.7.13)
  • Installing astor (0.8.1)
  • Installing atomicwrites (1.4.1)
  • Installing commonmark (0.9.1)
  • Installing cloudpickle (2.2.1)
  • Installing fsspec (2023.3.0)
  • Installing future (0.18.3)
  • Installing holidays (0.14.2)
  • Installing docutils (0.17.1)
  • Installing iniconfig (2.0.0)
  • Installing isodate (0.6.1)
  • Installing huggingface-hub (0.13.2)
  • Installing lazy-object-proxy (1.9.0)
  • Installing interface-meta (1.3.0)
  • Installing imagesize (1.4.1)
  • Installing gitdb (4.0.10)
  • Installing jupyterlab-widgets (3.0.5)
  • Installing jupyterlab-server (2.20.0)
  • Updating ecos (2.0.11 -> 2.0.12)
  • Installing cmdstanpy (1.1.0)
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
  • Installing lunarcalendar (0.0.9)
  • Installing markdown-it-py (1.1.0)
  • Updating matplotlib (3.7.1 -> 3.7.0)
  • Installing mccabe (0.7.0)
  • Installing notebook (6.5.3)
  • Installing numba (0.56.4)
  • Updating osqp (0.6.2.post0 -> 0.6.2.post8)
  • Installing pandas-datareader (0.10.0)
  • Installing pbr (5.11.1)
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
  • Installing pluggy (1.0.0)
  • Installing pmdarima (2.0.3)
  • Installing prawcore (2.3.0)
  • Installing property-cached (1.6.4)
  • Installing py (1.11.0)
  • Installing pycares (4.3.0)
  • Installing pycodestyle (2.9.1)
  • Installing pydeprecate (0.3.2)
  • Installing pyerfa (2.0.0.1)
  • Installing pyflakes (2.5.0)
  • Installing pyluach (2.2.0)
  • Installing regex (2022.10.31)
  • Updating scs (3.2.3 -> 3.2.2)
  • Installing slicer (0.0.7)
  • Installing snowballstemmer (2.2.0)
  • Installing sphinxcontrib-applehelp (1.0.4)
  • Installing sphinxcontrib-devhelp (1.0.2)
  • Installing sphinxcontrib-htmlhelp (2.0.1)
  • Installing sphinxcontrib-jsmath (1.0.1)
  • Installing sphinxcontrib-qthelp (1.0.3)
  • Installing sphinxcontrib-serializinghtml (1.1.5)
  • Installing tabulate (0.9.0)
  • Installing tensorboard (2.12.0)
  • Installing textwrap3 (0.9.2)
  • Installing tokenizers (0.13.2)
  • Installing toml (0.10.2)
  • Installing toolz (0.12.0)
  • Installing torchmetrics (0.11.4)
  • Installing tzlocal (4.2)
  • Installing update-checker (0.18.0)
  • Installing widgetsnbextension (4.0.5)
  • Installing win32-setctime (1.1.0)
  • Installing wrapt (1.15.0)
  • Installing zope-interface (5.5.2)
  • Installing aiodns (3.0.0)
  • Installing altair (4.2.2)
  • Installing appdirs (1.4.4)
  • Installing ansiwrap (0.8.4)
  • Installing arch (5.5.0)
  • Installing astroid (2.15.0)
  • Installing backoff (2.2.1)
  • Installing astropy (5.2.1)
  • Installing brotli (1.0.9)
  • Installing bs4 (0.0.1)
  • Installing click (8.1.3)
  • Updating cryptography (39.0.0 -> 39.0.2)
  • Installing cfgv (3.3.1)
  • Installing datetime (5.1)
  • Installing cssselect (1.2.0)
  • Installing dateparser (1.1.7)
  • Installing blinker (1.5)
  • Installing coverage (7.2.2)
  • Installing cssselect2 (0.7.0)
  • Installing base58 (2.1.1)
  • Installing dill (0.3.6)
  • Installing dnspython (2.3.0)
  • Installing et-xmlfile (1.1.0)
  • Installing exchange-calendars (4.2.5)
  • Installing execnet (1.9.0)
  • Installing ffmpeg-python (0.2.0)
  • Installing ffn (0.3.6)
  • Installing flake8 (5.0.4)
  • Installing formulaic (0.3.4)
  • Installing frozendict (2.3.5)
  • Installing gitpython (3.1.31)
  • Installing identify (2.5.21)
  • Installing inflection (0.5.1)
  • Installing ipywidgets (8.0.4)
  • Installing isort (5.12.0)
  • Installing jupyterlab (3.5.3)
  • Installing loguru (0.6.0)
  • Installing mdit-py-plugins (0.2.8)
  • Installing monotonic (1.6)
  • Installing multitasking (0.0.11)
  • Installing mutagen (1.46.0)
  • Installing mypy-extensions (1.0.0)
  • Installing networkx (3.0)
  • Installing nfoursid (1.0.1)
  • Installing nodeenv (1.7.0)
  • Installing onetimepass (1.0.1)
  • Installing pathspec (0.11.1)
  • Installing praw (7.7.0)
  • Installing prophet (1.1.2)
  • Installing pyarrow (11.0.0)
  • Installing pycryptodome (3.17)
  • Installing pycryptodomex (3.17)
  • Installing pydantic (1.10.6)
  • Installing pydeck (0.8.0)
  • Installing pyhdfe (0.1.2)
  • Installing pympler (1.0.1)
  • Installing pyod (1.0.8)
  • Installing pyotp (2.8.0)
  • Installing pyprind (2.11.3)
  • Installing pytest (6.2.5)
  • Installing python-dotenv (0.19.2)
  • Installing pytorch-lightning (1.6.5)
  • Installing rdflib (6.2.0)
  • Installing reportlab (3.6.13)
  • Installing requests-futures (1.0.0)
  • Installing retrying (1.3.4)
  • Installing rich (12.6.0)
  • Installing ruamel-yaml-clib (0.2.7)
  • Installing semantic-version (2.10.0)
  • Installing setproctitle (1.3.2)
  • Installing setuptools-scm (6.4.2)
  • Installing sgmllib3k (1.0.0)
  • Installing shap (0.41.0)
  • Installing sphinx (4.5.0)
  • Installing statsforecast (1.4.0)
  • Installing stevedore (5.0.0)
  • Installing tbats (1.1.2)
  • Installing time-machine (2.9.0)
  • Updating tomlkit (0.11.8 -> 0.11.6)
  • Installing transformers (4.27.1)
  • Installing types-urllib3 (1.26.25.8)
  • Installing ujson (5.7.0)
  • Installing user-agent (0.1.10)
  • Installing validators (0.20.0)
  • Installing vcrpy (4.2.1)
  • Updating virtualenv (20.16.5 -> 20.21.0)
  • Installing watchdog (2.3.1)
  • Installing websockets (11.0.1)
  • Installing xarray (2023.1.0)
  • Installing xlsxwriter (3.0.9)
  • Installing alpha-vantage (2.3.1)
  • Installing ascii-magic (1.6)
  • Installing bandit (1.7.5)
  • Installing ccxt (2.9.16)
  • Installing degiro-connector (2.0.21)
  • Installing codespell (2.2.4)
  • Installing financedatabase (2.0.9)
  • Installing detecta (0.0.5)
  • Installing bt (0.2.9)
  • Installing fredapi (0.4.3)
  • Installing finnhub-python (2.4.16)
  • Installing ipympl (0.8.4)
  • Installing finvizfinance (0.14.5)
  • Installing fundamentalanalysis (0.2.14)
  • Installing feedparser (6.0.10)
  • Installing intrinio-sdk (6.22.2)
  • Installing iso8601 (0.1.16)
  • Installing fred (3.1)
  • Installing finviz (1.4.6)
  • Installing black (23.1.0)
  • Installing linearmodels (4.27)
  • Installing mock (4.0.3)
  • Installing mplfinance (0.12.9b7)
  • Installing mstarpy (0.0.4)
  • Installing mypy (1.1.1)
  • Installing myst-parser (0.15.2)
  • Installing nbmake (1.4.1)
  • Installing oandapyv20 (0.6.3)
  • Installing openai-whisper (20230124)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

  • Installing openpyxl (3.1.2)
  • Installing pandas-market-calendars (3.2)
  • Installing pandas-ta (0.3.14b)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

  • Installing papermill (2.4.0)
  • Installing pmaw (3.0.0)
  • Installing pre-commit (2.21.0)
  • Installing pydocstyle (6.3.0)
  • Installing pycoingecko (3.1.0)
  • Installing posthog (3.0.1)
  • Installing pylint (2.17.0)
  • Installing pytest-mock (3.10.0)
  • Installing pytest-cov (3.0.0)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

  • Installing pytest-recorder (0.2.3)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

  • Installing pytest-recording (0.12.2)
  • Installing pytest-timeout (2.1.0)
  • Installing pytest-xdist (3.2.1)
  • Installing pythclient (0.1.4)
  • Installing python-binance (1.0.17)
  • Installing python-coinmarketcap (0.2)
  • Installing python-i18n (0.3.9)
  • Installing pytrends (4.9.2)
  • Installing pywry (0.5.8)
  • Installing quandl (3.7.0)
  • Installing riskfolio-lib (3.3.0)
  • Installing robin-stocks (2.1.0)
  • Installing ruamel-yaml (0.17.21)
  • Installing ruff (0.0.256)
  • Installing screeninfo (0.6.7)
  • Installing seaborn (0.11.2)
  • Installing setuptools-rust (1.5.2)
  • Installing sparqlwrapper (2.0.0)
  • Installing squarify (0.4.3)
  • Installing stocksera (0.1.21)
  • Installing streamlit (1.22.0)
  • Installing svglib (1.5.1)
  • Installing thepassiveinvestor (1.1.2)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

  • Installing tokenterminal (1.0.1)
  • Installing tradingview-ta (3.3.0)
  • Installing types-python-dateutil (2.8.19.10)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

  • Installing types-pytz (2021.3.8)
  • Installing types-pyyaml (6.0.12.8)
  • Installing types-requests (2.28.11.15)
  • Installing types-setuptools (57.4.18)
  • Installing types-six (1.16.21.7)
  • Installing u8darts (0.23.0)
  • Installing vadersentiment (3.3.2)
  • Installing valinvest (0.0.2)
  • Installing y-py (0.6.0)
  • Installing yahooquery (2.3.0)
  • Installing yfinance (0.2.12)
  • Installing yt-dlp (2023.3.4)

  FileNotFoundError

  [Errno 2] No such file or directory: 'C:\\Users\\dharm\\miniconda3\\envs\\obb\\lib\\site-packages\\virtualenv\\activation\\nushell\\deactivate.nu'

  at <frozen importlib._bootstrap_external>:1055 in open_resource

Desktop (please complete the following information):

(obb) PS C:\Users\dharm\src\OpenBBTerminal> python --version
Python 3.9.13
deeleeramone commented 1 year ago

Can you confirm if you ran, build\conda\cleanup_artifacts.bat, prior to running poetry install?

dharmatech commented 1 year ago

I do remember coming across that step in the install, so it's more than likely that I did run it (unless there was some issue that made it somehow not run).

deeleeramone commented 1 year ago

OK, let's try circumventing Poetry by solving the environment with pip and the requirements file:

pip install  -r requirements-full.txt --no-cache-dir
the-praxs commented 1 year ago

I will look into this so please assign it to me.

Seems like there’s an issue installing for Python versions prior to 3.10 on Windows.

the-praxs commented 1 year ago

The yaml files are correctly defined. So OP must be facing issues related to some environment configuration.