python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
30.67k stars 2.24k forks source link

[BUG] Jupyter as subdependency is not installed correctly #3378

Closed klnrdknt closed 3 years ago

klnrdknt commented 3 years ago

Issue

I am using a repository as a meta module, containing all dependencies needed for multiple other projects (which are interlinked). I then proceed to install the dependencies from another repository.

The dependencies toml looks like this:

[tool.poetry.dependencies]
python = "^3.7"
dynaconf = "^3.1.2"
numpy = "^1.19.4"
pandas = "^1.1.4"
scikit-learn = "^0.23.2"
dask = { extras = ["complete"], version = "^2.30.0" }
scipy = "^1.5.4"
tqdm = "^4.52.0"
plotly = "^4.12.0"
kaleido = "^0.0.3"
pyarrow = "^2.0.0"
matplotlib = "^3.3.3"
seaborn = "^0.11.0"
onnx = "^1.8.0"
onnxruntime = "^1.5.2"
pyyaml = "^5.3.1"
skl2onnx = "^1.7.0"
pylint = "^2.6.0"
flake8 = "^3.8.4"
isort = "^5.6.4"
seed-isort-config = "^2.2.0"
black = "^20.8b1"
pre-commit = "^2.8.2"
pytest-cov = "^2.10.1"
pytest = "^6.1.2"
notebook = "^6.1.5"
jupyterlab = "^2.2.9"
ipywidgets = "^7.5.1"
ipdb = "^0.13.4"
openpyxl = "^3.0.5"
jupyter = "^1.0.0"

and i install in other repos through

[tool.poetry.dependencies]
dsdependencies = { git = "somegitlink", rev = "develop" }
python = "^3.7"

In both the dependencies env and the other package env, poetry show lists all packages correctly (only difference is the dsdependencies repo):

appdirs               1.4.4         A small Python module for determining appropriate platform-specific dirs, e....
argon2-cffi           20.1.0        The secure Argon2 password hashing algorithm.
aspy.refactor-imports 2.1.1         Utilities for refactoring imports in python-like syntax.
astroid               2.4.2         An abstract syntax tree for Python with inference support.
async-generator       1.10          Async generators and context managers for Python 3.5+
atomicwrites          1.4.0         Atomic file writes.
attrs                 20.3.0        Classes Without Boilerplate
backcall              0.2.0         Specifications for callback functions passed in to an API
black                 20.8b1        The uncompromising code formatter.
bleach                3.2.1         An easy safelist-based HTML-sanitizing tool.
bokeh                 2.2.3         Interactive plots and applications in the browser from Python
cached-property       1.5.2         A decorator for caching properties in classes.
certifi               2020.11.8     Python package for providing Mozilla's CA Bundle.
cffi                  1.14.3        Foreign Function Interface for Python calling C code.
cfgv                  3.2.0         Validate configuration and produce human readable error messages.
chardet               3.0.4         Universal encoding detector for Python 2 and 3
click                 7.1.2         Composable command line interface toolkit
cloudpickle           1.6.0         Extended pickling support for Python objects
colorama              0.4.4         Cross-platform colored terminal text.
coverage              5.3           Code coverage measurement for Python
cycler                0.10.0        Composable style cycles
dask                  2.30.0        Parallel PyData with Task Scheduling
decorator             4.4.2         Decorators for Humans
defusedxml            0.6.0         XML bomb protection for Python stdlib modules
distlib               0.3.1         Distribution utilities
distributed           2.30.1        Distributed scheduler for Dask
dsdependencies        0.1.0 ba1f762 Organize dependencies
dynaconf              3.1.2         The dynamic configurator for your Python Project
entrypoints           0.3           Discover and load entry points from installed packages.
et-xmlfile            1.0.1         An implementation of lxml.xmlfile for the standard library
filelock              3.0.12        A platform independent file lock.
flake8                3.8.4         the modular source code checker: pep8 pyflakes and co
fsspec                0.8.4         File-system specification
heapdict              1.0.1         a heap with decrease-key and increase-key operations
identify              1.5.9         File identification library for Python
idna                  2.10          Internationalized Domain Names in Applications (IDNA)
importlib-metadata    2.0.0         Read metadata from Python packages
iniconfig             1.1.1         iniconfig: brain-dead simple config-ini parsing
ipdb                  0.13.4        IPython-enabled pdb
ipykernel             5.3.4         IPython Kernel for Jupyter
ipython               7.19.0        IPython: Productive Interactive Computing
ipython-genutils      0.2.0         Vestigial utilities from IPython
ipywidgets            7.5.1         IPython HTML widgets for Jupyter
isort                 5.6.4         A Python utility / library to sort Python imports.
jdcal                 1.4.1         Julian dates from proleptic Gregorian and Julian calendars.
jedi                  0.17.2        An autocompletion tool for Python that can be used for text editors.
jinja2                2.11.2        A very fast and expressive template engine.
joblib                0.17.0        Lightweight pipelining: using Python functions as pipeline jobs.
json5                 0.9.5         A Python implementation of the JSON5 data format.
jsonschema            3.2.0         An implementation of JSON Schema validation for Python
jupyter               1.0.0         Jupyter metapackage. Install all the Jupyter components in one go.
jupyter-client        6.1.7         Jupyter protocol implementation and client libraries
jupyter-console       6.2.0         Jupyter terminal console
jupyter-core          4.7.0         Jupyter core package. A base package on which Jupyter projects rely.
jupyterlab            2.2.9         The JupyterLab notebook server extension.
jupyterlab-pygments   0.1.2         Pygments theme using JupyterLab CSS variables
jupyterlab-server     1.2.0         JupyterLab Server
kaleido               0.0.3.post1   Static image export for web-based visualization libraries with zero dependen...
kiwisolver            1.3.1         A fast implementation of the Cassowary constraint solver
lazy-object-proxy     1.4.3         A fast and thorough lazy object proxy.
locket                0.2.0         File-based locks for Python for Linux and Windows
markupsafe            1.1.1         Safely add untrusted strings to HTML/XML markup.
matplotlib            3.3.3         Python plotting package
mccabe                0.6.1         McCabe checker, plugin for flake8
mistune               0.8.4         The fastest markdown parser in pure Python
msgpack               1.0.0         MessagePack (de)serializer.
mypy-extensions       0.4.3         Experimental type system extensions for programs checked with the mypy typec...
nbclient              0.5.1         A client library for executing notebooks. Formerly nbconvert's ExecutePrepro...
nbconvert             6.0.7         Converting Jupyter Notebooks
nbformat              5.0.8         The Jupyter Notebook format
nest-asyncio          1.4.3         Patch asyncio to allow nested event loops
nodeenv               1.5.0         Node.js virtual environment builder
notebook              6.1.5         A web-based notebook environment for interactive computing
numpy                 1.19.4        NumPy is the fundamental package for array computing with Python.
onnx                  1.8.0         Open Neural Network Exchange
onnxconverter-common  1.7.0         ONNX Converter and Optimization Tools
onnxruntime           1.5.2         ONNX Runtime Python bindings
openpyxl              3.0.5         A Python library to read/write Excel 2010 xlsx/xlsm files
packaging             20.4          Core utilities for Python packages
pandas                1.1.4         Powerful data structures for data analysis, time series, and statistics
pandocfilters         1.4.3         Utilities for writing pandoc filters in python
parso                 0.7.1         A Python Parser
partd                 1.1.0         Appendable key-value storage
pathspec              0.8.1         Utility library for gitignore style pattern matching of file paths.
pickleshare           0.7.5         Tiny 'shelve'-like database with concurrency support
pillow                8.0.1         Python Imaging Library (Fork)
plotly                4.12.0        An open-source, interactive data visualization library for Python
pluggy                0.13.1        plugin and hook calling mechanisms for python
pre-commit            2.8.2         A framework for managing and maintaining multi-language pre-commit hooks.
prometheus-client     0.9.0         Python client for the Prometheus monitoring system.
prompt-toolkit        3.0.8         Library for building powerful interactive command lines in Python
protobuf              3.14.0        Protocol Buffers
psutil                5.7.3         Cross-platform lib for process and system monitoring in Python.
py                    1.9.0         library with cross-python path, ini-parsing, io, code, log facilities
pyarrow               2.0.0         Python library for Apache Arrow
pycodestyle           2.6.0         Python style guide checker
pycparser             2.20          C parser in Python
pyflakes              2.2.0         passive checker of Python programs
pygments              2.7.2         Pygments is a syntax highlighting package written in Python.
pylint                2.6.0         python code static checker
pyparsing             2.4.7         Python parsing module
pyrsistent            0.17.3        Persistent/Functional/Immutable data structures
pytest                6.1.2         pytest: simple powerful testing with Python
pytest-cov            2.10.1        Pytest plugin for measuring coverage.
python-dateutil       2.8.1         Extensions to the standard Python datetime module
pytz                  2020.4        World timezone definitions, modern and historical
pywin32               300           Python for Window Extensions
pywinpty              0.5.7         Python bindings for the winpty library
pyyaml                5.3.1         YAML parser and emitter for Python
pyzmq                 20.0.0        Python bindings for 0MQ
qtconsole             4.7.7         Jupyter Qt console
qtpy                  1.9.0         Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt...
regex                 2020.11.13    Alternative regular expression module, to replace re.
requests              2.25.0        Python HTTP for Humans.
retrying              1.3.3         Retrying
scikit-learn          0.23.2        A set of python modules for machine learning and data mining
scipy                 1.5.4         SciPy: Scientific Library for Python
seaborn               0.11.0        seaborn: statistical data visualization
seed-isort-config     2.2.0         Statically populate the `known_third_party` `isort` setting.
send2trash            1.5.0         Send file to trash natively under Mac OS X, Windows and Linux.
six                   1.15.0        Python 2 and 3 compatibility utilities
skl2onnx              1.7.0         Convert scikit-learn models to ONNX
sortedcontainers      2.3.0         Sorted Containers -- Sorted List, Sorted Dict, Sorted Set
tblib                 1.7.0         Traceback serialization library.
terminado             0.9.1         Tornado websocket backend for the Xterm.js Javascript terminal emulator libr...
testpath              0.4.4         Test utilities for code working with files and commands
threadpoolctl         2.1.0         threadpoolctl
toml                  0.10.2        Python Library for Tom's Obvious, Minimal Language
toolz                 0.11.1        List processing tools and functional utilities
tornado               6.1           Tornado is a Python web framework and asynchronous networking library, origi...
tqdm                  4.52.0        Fast, Extensible Progress Meter
traitlets             5.0.5         Traitlets Python configuration system
typed-ast             1.4.1         a fork of Python 2 and 3 ast modules with type comment support
typing-extensions     3.7.4.3       Backported and Experimental Type Hints for Python 3.5+
urllib3               1.26.2        HTTP library with thread-safe connection pooling, file post, and more.
virtualenv            20.1.0        Virtual Python Environment builder
wcwidth               0.2.5         Measures the displayed width of unicode strings in a terminal
webencodings          0.5.1         Character encoding aliases for legacy web content
widgetsnbextension    3.5.1         IPython HTML widgets for Jupyter
wrapt                 1.12.1        Module for decorators, wrappers and monkey patching.
zict                  2.0.0         Mutable mapping tools
zipp                  3.4.0         Backport of pathlib-compatible object wrapper for zip files

Including, specifically

λ poetry show pyrsistent
name         : pyrsistent
version      : 0.17.3
description  : Persistent/Functional/Immutable data structures

However, when I run

poetry run jupyter notebook

it produces an error in the package utilizing the dependency package

Traceback (most recent call last):
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\...\AppData\Local\pypoetry\Cache\virtualenvs\dscustomerdatahandler-2UNjZCmJ-py3.7\Scripts\jupyter-notebook.EXE\__main__.py", line 4, in <module>
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\notebook\notebookapp.py", line 85, in <module>
    from .services.contents.manager import ContentsManager
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\notebook\services\contents\manager.py", line 17, in <module>
    from nbformat import sign, validate as validate_nb, ValidationError
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\nbformat\__init__.py", line 32, in <module>
    from .validator import validate, ValidationError
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\nbformat\validator.py", line 12, in <module>
    from .json_compat import get_current_validator, ValidationError
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\nbformat\json_compat.py", line 10, in <module>
    import jsonschema
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\jsonschema\__init__.py", line 21, in <module>
    from jsonschema._types import TypeChecker
  File "c:\users\...\appdata\local\pypoetry\cache\virtualenvs\dscustomerdatahandler-2unjzcmj-py3.7\lib\site-packages\jsonschema\_types.py", line 3, in <module>
    from pyrsistent import pmap
ModuleNotFoundError: No module named 'pyrsistent'

When run directly in the dependencies package, it works just fine.

sinoroc commented 3 years ago

Maybe it could be helpful to see the output of poetry show --tree.


Edit:

Wait, nevermind, I do not think it would add new information after all.

klnrdknt commented 3 years ago

Maybe it could be helpful to see the output of poetry show --tree.

Edit:

Wait, nevermind, I do not think it would add new information after all.

I can provide it though:

poetry show --tree

``` dsdependencies 0.1.0 Organize dependencies |-- black ^20.8b1 | |-- appdirs * | |-- click >=7.1.2 | |-- mypy-extensions >=0.4.3 | |-- pathspec >=0.6,<1 | |-- regex >=2020.1.8 | |-- toml >=0.10.1 | |-- typed-ast >=1.4.0 | `-- typing-extensions >=3.7.4 |-- dask ^2.30.0 | |-- bokeh >=1.0.0,<2.0.0 || >2.0.0 | | |-- jinja2 >=2.7 | | | `-- markupsafe >=0.23 | | |-- numpy >=1.11.3 | | |-- packaging >=16.8 | | | |-- pyparsing >=2.0.2 | | | `-- six * | | |-- pillow >=7.1.0 | | |-- python-dateutil >=2.1 | | | `-- six >=1.5 (circular dependency aborted here) | | |-- pyyaml >=3.10 | | |-- tornado >=5.1 | | `-- typing-extensions >=3.7.4 | |-- cloudpickle >=0.2.2 | |-- distributed >=2.0 | | |-- click >=6.6 | | |-- cloudpickle >=1.5.0 (circular dependency aborted here) | | |-- dask >=2.9.0 (circular dependency aborted here) | | |-- msgpack >=0.6.0 | | |-- psutil >=5.0 | | |-- pyyaml * (circular dependency aborted here) | | |-- sortedcontainers <2.0.0 || >2.0.0,<2.0.1 || >2.0.1 | | |-- tblib >=1.6.0 | | |-- toolz >=0.8.2 | | |-- tornado >=5 (circular dependency aborted here) | | |-- tornado >=6.0.3 (circular dependency aborted here) | | `-- zict >=0.1.3 | | `-- heapdict * | |-- fsspec >=0.6.0 | |-- numpy >=1.13.0 (circular dependency aborted here) | |-- pandas >=0.23.0 | | |-- numpy >=1.15.4 (circular dependency aborted here) | | |-- python-dateutil >=2.7.3 (circular dependency aborted here) | | `-- pytz >=2017.2 | |-- partd >=0.3.10 | | |-- locket * | | `-- toolz * (circular dependency aborted here) | |-- pyyaml * (circular dependency aborted here) | `-- toolz >=0.8.2 (circular dependency aborted here) |-- dynaconf ^3.1.2 |-- flake8 ^3.8.4 | |-- importlib-metadata * | | `-- zipp >=0.5 | |-- mccabe >=0.6.0,<0.7.0 | |-- pycodestyle >=2.6.0a1,<2.7.0 | `-- pyflakes >=2.2.0,<2.3.0 |-- ipdb ^0.13.4 | `-- ipython >=5.1.0 | |-- appnope * | |-- backcall * | |-- colorama * | |-- decorator * | |-- jedi >=0.10 | | `-- parso >=0.7.0,<0.8.0 | |-- pexpect >4.3 | | `-- ptyprocess >=0.5 | |-- pickleshare * | |-- prompt-toolkit >=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0 | | `-- wcwidth * | |-- pygments * | `-- traitlets >=4.2 | `-- ipython-genutils * |-- ipywidgets ^7.5.1 | |-- ipykernel >=4.5.1 | | |-- appnope * | | |-- ipython >=5.0.0 | | | |-- appnope * (circular dependency aborted here) | | | |-- backcall * | | | |-- colorama * | | | |-- decorator * | | | |-- jedi >=0.10 | | | | `-- parso >=0.7.0,<0.8.0 | | | |-- pexpect >4.3 | | | | `-- ptyprocess >=0.5 | | | |-- pickleshare * | | | |-- prompt-toolkit >=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0 | | | | `-- wcwidth * | | | |-- pygments * | | | `-- traitlets >=4.2 | | | `-- ipython-genutils * | | |-- jupyter-client * | | | |-- jupyter-core >=4.6.0 | | | | |-- pywin32 >=1.0 | | | | `-- traitlets * (circular dependency aborted here) | | | |-- python-dateutil >=2.1 | | | | `-- six >=1.5 | | | |-- pyzmq >=13 | | | | |-- cffi * | | | | | `-- pycparser * | | | | `-- py * | | | |-- tornado >=4.1 | | | `-- traitlets * (circular dependency aborted here) | | |-- tornado >=4.2 (circular dependency aborted here) | | `-- traitlets >=4.1.0 (circular dependency aborted here) | |-- ipython >=4.0.0 (circular dependency aborted here) | |-- nbformat >=4.2.0 | | |-- ipython-genutils * (circular dependency aborted here) | | |-- jsonschema >=2.4,<2.5.0 || >2.5.0 | | | |-- attrs >=17.4.0 | | | |-- importlib-metadata * | | | | `-- zipp >=0.5 | | | |-- pyrsistent >=0.14.0 | | | `-- six >=1.11.0 (circular dependency aborted here) | | |-- jupyter-core * (circular dependency aborted here) | | `-- traitlets >=4.1 (circular dependency aborted here) | |-- traitlets >=4.3.1 (circular dependency aborted here) | `-- widgetsnbextension >=3.5.0,<3.6.0 | `-- notebook >=4.4.1 | |-- argon2-cffi * | | |-- cffi >=1.0.0 (circular dependency aborted here) | | `-- six * (circular dependency aborted here) | |-- ipykernel * (circular dependency aborted here) | |-- ipython-genutils * (circular dependency aborted here) | |-- jinja2 * | | `-- markupsafe >=0.23 | |-- jupyter-client >=5.3.4 (circular dependency aborted here) | |-- jupyter-core >=4.6.1 (circular dependency aborted here) | |-- nbconvert * | | |-- bleach * | | | |-- packaging * | | | | |-- pyparsing >=2.0.2 | | | | `-- six * (circular dependency aborted here) | | | |-- six >=1.9.0 (circular dependency aborted here) | | | `-- webencodings * | | |-- defusedxml * | | |-- entrypoints >=0.2.2 | | |-- jinja2 >=2.4 (circular dependency aborted here) | | |-- jupyter-core * (circular dependency aborted here) | | |-- jupyterlab-pygments * | | | `-- pygments >=2.4.1,<3 (circular dependency aborted here) | | |-- mistune >=0.8.1,<2 | | |-- nbclient >=0.5.0,<0.6.0 | | | |-- async-generator * | | | |-- jupyter-client >=6.1.5 (circular dependency aborted here) | | | |-- nbformat >=5.0 (circular dependency aborted here) | | | |-- nest-asyncio * | | | `-- traitlets >=4.2 (circular dependency aborted here) | | |-- nbformat >=4.4 (circular dependency aborted here) | | |-- pandocfilters >=1.4.1 | | |-- pygments >=2.4.1 (circular dependency aborted here) | | |-- testpath * | | `-- traitlets >=4.2 (circular dependency aborted here) | |-- nbformat * (circular dependency aborted here) | |-- prometheus-client * | |-- pyzmq >=17 (circular dependency aborted here) | |-- send2trash * | |-- terminado >=0.8.3 | | |-- ptyprocess * (circular dependency aborted here) | | |-- pywinpty >=0.5 | | `-- tornado >=4 (circular dependency aborted here) | |-- tornado >=5.0 (circular dependency aborted here) | `-- traitlets >=4.2.1 (circular dependency aborted here) |-- isort ^5.6.4 |-- jupyter ^1.0.0 | |-- ipykernel * | | |-- appnope * | | |-- ipython >=5.0.0 | | | |-- appnope * (circular dependency aborted here) | | | |-- backcall * | | | |-- colorama * | | | |-- decorator * | | | |-- jedi >=0.10 | | | | `-- parso >=0.7.0,<0.8.0 | | | |-- pexpect >4.3 | | | | `-- ptyprocess >=0.5 | | | |-- pickleshare * | | | |-- prompt-toolkit >=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0 | | | | `-- wcwidth * | | | |-- pygments * | | | `-- traitlets >=4.2 | | | `-- ipython-genutils * | | |-- jupyter-client * | | | |-- jupyter-core >=4.6.0 | | | | |-- pywin32 >=1.0 | | | | `-- traitlets * (circular dependency aborted here) | | | |-- python-dateutil >=2.1 | | | | `-- six >=1.5 | | | |-- pyzmq >=13 | | | | |-- cffi * | | | | | `-- pycparser * | | | | `-- py * | | | |-- tornado >=4.1 | | | `-- traitlets * (circular dependency aborted here) | | |-- tornado >=4.2 (circular dependency aborted here) | | `-- traitlets >=4.1.0 (circular dependency aborted here) | |-- ipywidgets * | | |-- ipykernel >=4.5.1 (circular dependency aborted here) | | |-- ipython >=4.0.0 (circular dependency aborted here) | | |-- nbformat >=4.2.0 | | | |-- ipython-genutils * (circular dependency aborted here) | | | |-- jsonschema >=2.4,<2.5.0 || >2.5.0 | | | | |-- attrs >=17.4.0 | | | | |-- importlib-metadata * | | | | | `-- zipp >=0.5 | | | | |-- pyrsistent >=0.14.0 | | | | `-- six >=1.11.0 (circular dependency aborted here) | | | |-- jupyter-core * (circular dependency aborted here) | | | `-- traitlets >=4.1 (circular dependency aborted here) | | |-- traitlets >=4.3.1 (circular dependency aborted here) | | `-- widgetsnbextension >=3.5.0,<3.6.0 | | `-- notebook >=4.4.1 | | |-- argon2-cffi * | | | |-- cffi >=1.0.0 (circular dependency aborted here) | | | `-- six * (circular dependency aborted here) | | |-- ipykernel * (circular dependency aborted here) | | |-- ipython-genutils * (circular dependency aborted here) | | |-- jinja2 * | | | `-- markupsafe >=0.23 | | |-- jupyter-client >=5.3.4 (circular dependency aborted here) | | |-- jupyter-core >=4.6.1 (circular dependency aborted here) | | |-- nbconvert * | | | |-- bleach * | | | | |-- packaging * | | | | | |-- pyparsing >=2.0.2 | | | | | `-- six * (circular dependency aborted here) | | | | |-- six >=1.9.0 (circular dependency aborted here) | | | | `-- webencodings * | | | |-- defusedxml * | | | |-- entrypoints >=0.2.2 | | | |-- jinja2 >=2.4 (circular dependency aborted here) | | | |-- jupyter-core * (circular dependency aborted here) | | | |-- jupyterlab-pygments * | | | | `-- pygments >=2.4.1,<3 (circular dependency aborted here) | | | |-- mistune >=0.8.1,<2 | | | |-- nbclient >=0.5.0,<0.6.0 | | | | |-- async-generator * | | | | |-- jupyter-client >=6.1.5 (circular dependency aborted here) | | | | |-- nbformat >=5.0 (circular dependency aborted here) | | | | |-- nest-asyncio * | | | | `-- traitlets >=4.2 (circular dependency aborted here) | | | |-- nbformat >=4.4 (circular dependency aborted here) | | | |-- pandocfilters >=1.4.1 | | | |-- pygments >=2.4.1 (circular dependency aborted here) | | | |-- testpath * | | | `-- traitlets >=4.2 (circular dependency aborted here) | | |-- nbformat * (circular dependency aborted here) | | |-- prometheus-client * | | |-- pyzmq >=17 (circular dependency aborted here) | | |-- send2trash * | | |-- terminado >=0.8.3 | | | |-- ptyprocess * (circular dependency aborted here) | | | |-- pywinpty >=0.5 | | | `-- tornado >=4 (circular dependency aborted here) | | |-- tornado >=5.0 (circular dependency aborted here) | | `-- traitlets >=4.2.1 (circular dependency aborted here) | |-- jupyter-console * | | |-- ipykernel * (circular dependency aborted here) | | |-- ipython * (circular dependency aborted here) | | |-- jupyter-client * (circular dependency aborted here) | | |-- prompt-toolkit >=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0 (circular dependency aborted here) | | `-- pygments * (circular dependency aborted here) | |-- nbconvert * (circular dependency aborted here) | |-- notebook * (circular dependency aborted here) | `-- qtconsole * | |-- ipykernel >=4.1 (circular dependency aborted here) | |-- ipython-genutils * (circular dependency aborted here) | |-- jupyter-client >=4.1 (circular dependency aborted here) | |-- jupyter-core * (circular dependency aborted here) | |-- pygments * (circular dependency aborted here) | |-- pyzmq >=17.1 (circular dependency aborted here) | |-- qtpy * | `-- traitlets * (circular dependency aborted here) |-- jupyterlab ^2.2.9 | |-- jinja2 >=2.10 | | `-- markupsafe >=0.23 | |-- jupyterlab-server >=1.1.5,<2.0 | | |-- jinja2 >=2.10 (circular dependency aborted here) | | |-- json5 * | | |-- jsonschema >=3.0.1 | | | |-- attrs >=17.4.0 | | | |-- importlib-metadata * | | | | `-- zipp >=0.5 | | | |-- pyrsistent >=0.14.0 | | | `-- six >=1.11.0 | | |-- notebook >=4.2.0 | | | |-- argon2-cffi * | | | | |-- cffi >=1.0.0 | | | | | `-- pycparser * | | | | `-- six * (circular dependency aborted here) | | | |-- ipykernel * | | | | |-- appnope * | | | | |-- ipython >=5.0.0 | | | | | |-- appnope * (circular dependency aborted here) | | | | | |-- backcall * | | | | | |-- colorama * | | | | | |-- decorator * | | | | | |-- jedi >=0.10 | | | | | | `-- parso >=0.7.0,<0.8.0 | | | | | |-- pexpect >4.3 | | | | | | `-- ptyprocess >=0.5 | | | | | |-- pickleshare * | | | | | |-- prompt-toolkit >=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0 | | | | | | `-- wcwidth * | | | | | |-- pygments * | | | | | `-- traitlets >=4.2 | | | | | `-- ipython-genutils * | | | | |-- jupyter-client * | | | | | |-- jupyter-core >=4.6.0 | | | | | | |-- pywin32 >=1.0 | | | | | | `-- traitlets * (circular dependency aborted here) | | | | | |-- python-dateutil >=2.1 | | | | | | `-- six >=1.5 (circular dependency aborted here) | | | | | |-- pyzmq >=13 | | | | | | |-- cffi * (circular dependency aborted here) | | | | | | `-- py * | | | | | |-- tornado >=4.1 | | | | | `-- traitlets * (circular dependency aborted here) | | | | |-- tornado >=4.2 (circular dependency aborted here) | | | | `-- traitlets >=4.1.0 (circular dependency aborted here) | | | |-- ipython-genutils * (circular dependency aborted here) | | | |-- jinja2 * (circular dependency aborted here) | | | |-- jupyter-client >=5.3.4 (circular dependency aborted here) | | | |-- jupyter-core >=4.6.1 (circular dependency aborted here) | | | |-- nbconvert * | | | | |-- bleach * | | | | | |-- packaging * | | | | | | |-- pyparsing >=2.0.2 | | | | | | `-- six * (circular dependency aborted here) | | | | | |-- six >=1.9.0 (circular dependency aborted here) | | | | | `-- webencodings * | | | | |-- defusedxml * | | | | |-- entrypoints >=0.2.2 | | | | |-- jinja2 >=2.4 (circular dependency aborted here) | | | | |-- jupyter-core * (circular dependency aborted here) | | | | |-- jupyterlab-pygments * | | | | | `-- pygments >=2.4.1,<3 (circular dependency aborted here) | | | | |-- mistune >=0.8.1,<2 | | | | |-- nbclient >=0.5.0,<0.6.0 | | | | | |-- async-generator * | | | | | |-- jupyter-client >=6.1.5 (circular dependency aborted here) | | | | | |-- nbformat >=5.0 | | | | | | |-- ipython-genutils * (circular dependency aborted here) | | | | | | |-- jsonschema >=2.4,<2.5.0 || >2.5.0 (circular dependency aborted here) | | | | | | |-- jupyter-core * (circular dependency aborted here) | | | | | | `-- traitlets >=4.1 (circular dependency aborted here) | | | | | |-- nest-asyncio * | | | | | `-- traitlets >=4.2 (circular dependency aborted here) | | | | |-- nbformat >=4.4 (circular dependency aborted here) | | | | |-- pandocfilters >=1.4.1 | | | | |-- pygments >=2.4.1 (circular dependency aborted here) | | | | |-- testpath * | | | | `-- traitlets >=4.2 (circular dependency aborted here) | | | |-- nbformat * (circular dependency aborted here) | | | |-- prometheus-client * | | | |-- pyzmq >=17 (circular dependency aborted here) | | | |-- send2trash * | | | |-- terminado >=0.8.3 | | | | |-- ptyprocess * (circular dependency aborted here) | | | | |-- pywinpty >=0.5 | | | | `-- tornado >=4 (circular dependency aborted here) | | | |-- tornado >=5.0 (circular dependency aborted here) | | | `-- traitlets >=4.2.1 (circular dependency aborted here) | | `-- requests * | | |-- certifi >=2017.4.17 | | |-- chardet >=3.0.2,<4 | | |-- idna >=2.5,<3 | | `-- urllib3 >=1.21.1,<1.27 | |-- notebook >=4.3.1 (circular dependency aborted here) | `-- tornado <6.0.0 || >6.0.0,<6.0.1 || >6.0.1,<6.0.2 || >6.0.2 (circular dependency aborted here) |-- kaleido ^0.0.3 |-- matplotlib ^3.3.3 | |-- cycler >=0.10 | | `-- six * | |-- kiwisolver >=1.0.1 | |-- numpy >=1.15 | |-- pillow >=6.2.0 | |-- pyparsing >=2.0.3,<2.0.4 || >2.0.4,<2.1.2 || >2.1.2,<2.1.6 || >2.1.6 | `-- python-dateutil >=2.1 | `-- six >=1.5 (circular dependency aborted here) |-- notebook ^6.1.5 | |-- argon2-cffi * | | |-- cffi >=1.0.0 | | | `-- pycparser * | | `-- six * | |-- ipykernel * | | |-- appnope * | | |-- ipython >=5.0.0 | | | |-- appnope * (circular dependency aborted here) | | | |-- backcall * | | | |-- colorama * | | | |-- decorator * | | | |-- jedi >=0.10 | | | | `-- parso >=0.7.0,<0.8.0 | | | |-- pexpect >4.3 | | | | `-- ptyprocess >=0.5 | | | |-- pickleshare * | | | |-- prompt-toolkit >=2.0.0,<3.0.0 || >3.0.0,<3.0.1 || >3.0.1,<3.1.0 | | | | `-- wcwidth * | | | |-- pygments * | | | `-- traitlets >=4.2 | | | `-- ipython-genutils * | | |-- jupyter-client * | | | |-- jupyter-core >=4.6.0 | | | | |-- pywin32 >=1.0 | | | | `-- traitlets * (circular dependency aborted here) | | | |-- python-dateutil >=2.1 | | | | `-- six >=1.5 (circular dependency aborted here) | | | |-- pyzmq >=13 | | | | |-- cffi * (circular dependency aborted here) | | | | `-- py * | | | |-- tornado >=4.1 | | | `-- traitlets * (circular dependency aborted here) | | |-- tornado >=4.2 (circular dependency aborted here) | | `-- traitlets >=4.1.0 (circular dependency aborted here) | |-- ipython-genutils * (circular dependency aborted here) | |-- jinja2 * | | `-- markupsafe >=0.23 | |-- jupyter-client >=5.3.4 (circular dependency aborted here) | |-- jupyter-core >=4.6.1 (circular dependency aborted here) | |-- nbconvert * | | |-- bleach * | | | |-- packaging * | | | | |-- pyparsing >=2.0.2 | | | | `-- six * (circular dependency aborted here) | | | |-- six >=1.9.0 (circular dependency aborted here) | | | `-- webencodings * | | |-- defusedxml * | | |-- entrypoints >=0.2.2 | | |-- jinja2 >=2.4 (circular dependency aborted here) | | |-- jupyter-core * (circular dependency aborted here) | | |-- jupyterlab-pygments * | | | `-- pygments >=2.4.1,<3 (circular dependency aborted here) | | |-- mistune >=0.8.1,<2 | | |-- nbclient >=0.5.0,<0.6.0 | | | |-- async-generator * | | | |-- jupyter-client >=6.1.5 (circular dependency aborted here) | | | |-- nbformat >=5.0 | | | | |-- ipython-genutils * (circular dependency aborted here) | | | | |-- jsonschema >=2.4,<2.5.0 || >2.5.0 | | | | | |-- attrs >=17.4.0 | | | | | |-- importlib-metadata * | | | | | | `-- zipp >=0.5 | | | | | |-- pyrsistent >=0.14.0 | | | | | `-- six >=1.11.0 (circular dependency aborted here) | | | | |-- jupyter-core * (circular dependency aborted here) | | | | `-- traitlets >=4.1 (circular dependency aborted here) | | | |-- nest-asyncio * | | | `-- traitlets >=4.2 (circular dependency aborted here) | | |-- nbformat >=4.4 (circular dependency aborted here) | | |-- pandocfilters >=1.4.1 | | |-- pygments >=2.4.1 (circular dependency aborted here) | | |-- testpath * | | `-- traitlets >=4.2 (circular dependency aborted here) | |-- nbformat * (circular dependency aborted here) | |-- prometheus-client * | |-- pyzmq >=17 (circular dependency aborted here) | |-- send2trash * | |-- terminado >=0.8.3 | | |-- ptyprocess * (circular dependency aborted here) | | |-- pywinpty >=0.5 | | `-- tornado >=4 (circular dependency aborted here) | |-- tornado >=5.0 (circular dependency aborted here) | `-- traitlets >=4.2.1 (circular dependency aborted here) |-- numpy ^1.19.4 |-- onnx ^1.8.0 | |-- numpy * | |-- protobuf * | | `-- six >=1.9 | |-- six * (circular dependency aborted here) | `-- typing-extensions >=3.6.2.1 |-- onnxruntime ^1.5.2 | |-- numpy >=1.16.6 | `-- protobuf * | `-- six >=1.9 |-- openpyxl ^3.0.5 | |-- et-xmlfile * | `-- jdcal * |-- pandas ^1.1.4 | |-- numpy >=1.15.4 | |-- python-dateutil >=2.7.3 | | `-- six >=1.5 | `-- pytz >=2017.2 |-- plotly ^4.12.0 | |-- retrying >=1.3.3 | | `-- six >=1.7.0 | `-- six * (circular dependency aborted here) |-- pre-commit ^2.8.2 | |-- cfgv >=2.0.0 | |-- identify >=1.0.0 | |-- importlib-metadata * | | `-- zipp >=0.5 | |-- nodeenv >=0.11.1 | |-- pyyaml >=5.1 | |-- toml * | `-- virtualenv >=20.0.8 | |-- appdirs >=1.4.3,<2 | |-- distlib >=0.3.1,<1 | |-- filelock >=3.0.0,<4 | |-- importlib-metadata >=0.12,<3 (circular dependency aborted here) | `-- six >=1.9.0,<2 |-- pyarrow ^2.0.0 | `-- numpy >=1.14 |-- pylint ^2.6.0 | |-- astroid >=2.4.0,<=2.5 | | |-- lazy-object-proxy >=1.4.0,<1.5.0 | | |-- six >=1.12,<2.0 | | |-- typed-ast >=1.4.0,<1.5 | | `-- wrapt >=1.11,<2.0 | |-- colorama * | |-- isort >=4.2.5,<6 | |-- mccabe >=0.6,<0.7 | `-- toml >=0.7.1 |-- pytest ^6.1.2 | |-- atomicwrites >=1.0 | |-- attrs >=17.4.0 | |-- colorama * | |-- importlib-metadata >=0.12 | | `-- zipp >=0.5 | |-- iniconfig * | |-- packaging * | | |-- pyparsing >=2.0.2 | | `-- six * | |-- pluggy >=0.12,<1.0 | | `-- importlib-metadata >=0.12 (circular dependency aborted here) | |-- py >=1.8.2 | `-- toml * |-- pytest-cov ^2.10.1 | |-- coverage >=4.4 | `-- pytest >=4.6 | |-- atomicwrites >=1.0 | |-- attrs >=17.4.0 | |-- colorama * | |-- importlib-metadata >=0.12 | | `-- zipp >=0.5 | |-- iniconfig * | |-- packaging * | | |-- pyparsing >=2.0.2 | | `-- six * | |-- pluggy >=0.12,<1.0 | | `-- importlib-metadata >=0.12 (circular dependency aborted here) | |-- py >=1.8.2 | `-- toml * |-- pyyaml ^5.3.1 |-- scikit-learn ^0.23.2 | |-- joblib >=0.11 | |-- numpy >=1.13.3 | |-- scipy >=0.19.1 | | `-- numpy >=1.14.5 (circular dependency aborted here) | `-- threadpoolctl >=2.0.0 |-- scipy ^1.5.4 | `-- numpy >=1.14.5 |-- seaborn ^0.11.0 | |-- matplotlib >=2.2 | | |-- cycler >=0.10 | | | `-- six * | | |-- kiwisolver >=1.0.1 | | |-- numpy >=1.15 | | |-- pillow >=6.2.0 | | |-- pyparsing >=2.0.3,<2.0.4 || >2.0.4,<2.1.2 || >2.1.2,<2.1.6 || >2.1.6 | | `-- python-dateutil >=2.1 | | `-- six >=1.5 (circular dependency aborted here) | |-- numpy >=1.15 (circular dependency aborted here) | |-- pandas >=0.23 | | |-- numpy >=1.15.4 (circular dependency aborted here) | | |-- python-dateutil >=2.7.3 (circular dependency aborted here) | | `-- pytz >=2017.2 | `-- scipy >=1.0 | `-- numpy >=1.14.5 (circular dependency aborted here) |-- seed-isort-config ^2.2.0 | `-- aspy.refactor-imports * | `-- cached-property * |-- skl2onnx ^1.7.0 | |-- numpy >=1.15 | |-- onnx >=1.2.1 | | |-- numpy * (circular dependency aborted here) | | |-- protobuf * | | | `-- six >=1.9 | | |-- six * (circular dependency aborted here) | | `-- typing-extensions >=3.6.2.1 | |-- onnxconverter-common >=1.5.1 | | |-- numpy * (circular dependency aborted here) | | |-- onnx * (circular dependency aborted here) | | `-- protobuf * (circular dependency aborted here) | |-- protobuf * (circular dependency aborted here) | |-- scikit-learn >=0.19 | | |-- joblib >=0.11 | | |-- numpy >=1.13.3 (circular dependency aborted here) | | |-- scipy >=0.19.1 | | | `-- numpy >=1.14.5 (circular dependency aborted here) | | `-- threadpoolctl >=2.0.0 | |-- scipy >=1.0 (circular dependency aborted here) | `-- six * (circular dependency aborted here) `-- tqdm ^4.52.0 ```

sinoroc commented 3 years ago

What about poetry run pip show --files pyrsistent?

klnrdknt commented 3 years ago

WARNING: Package(s) not found: pyrsistent

sinoroc commented 3 years ago

WARNING: Package(s) not found: pyrsistent

But for the same environment, poetry says it is installed? Am I reading this correctly?

Have you tried to investigate manually in the site-packages directory for that environment? This is how it looks like in my case:

$ poetry run pip show --files pyrsistent
Name: pyrsistent
Version: 0.17.3
Summary: Persistent/Functional/Immutable data structures
Home-page: http://github.com/tobgu/pyrsistent/
Author: Tobias Gustafsson
Author-email: tobias.l.gustafsson@gmail.com
License: MIT
Location: path/to/venv/lib/python3.8/site-packages
Requires: 
Required-by: 
Files:
  __pycache__/_pyrsistent_version.cpython-38.pyc
  _pyrsistent_version.py
  pvectorc.cpython-38-x86_64-linux-gnu.so
  pyrsistent-0.17.3-py3.8.egg-info/PKG-INFO
  pyrsistent-0.17.3-py3.8.egg-info/SOURCES.txt
  pyrsistent-0.17.3-py3.8.egg-info/dependency_links.txt
  pyrsistent-0.17.3-py3.8.egg-info/top_level.txt
  pyrsistent/__init__.py
  pyrsistent/__init__.pyi
  pyrsistent/__pycache__/__init__.cpython-38.pyc
  pyrsistent/__pycache__/_checked_types.cpython-38.pyc
  pyrsistent/__pycache__/_field_common.cpython-38.pyc
  pyrsistent/__pycache__/_helpers.cpython-38.pyc
  pyrsistent/__pycache__/_immutable.cpython-38.pyc
  pyrsistent/__pycache__/_pbag.cpython-38.pyc
  pyrsistent/__pycache__/_pclass.cpython-38.pyc
  pyrsistent/__pycache__/_pdeque.cpython-38.pyc
  pyrsistent/__pycache__/_plist.cpython-38.pyc
  pyrsistent/__pycache__/_pmap.cpython-38.pyc
  pyrsistent/__pycache__/_precord.cpython-38.pyc
  pyrsistent/__pycache__/_pset.cpython-38.pyc
  pyrsistent/__pycache__/_pvector.cpython-38.pyc
  pyrsistent/__pycache__/_toolz.cpython-38.pyc
  pyrsistent/__pycache__/_transformations.cpython-38.pyc
  pyrsistent/__pycache__/typing.cpython-38.pyc
  pyrsistent/_checked_types.py
  pyrsistent/_field_common.py
  pyrsistent/_helpers.py
  pyrsistent/_immutable.py
  pyrsistent/_pbag.py
  pyrsistent/_pclass.py
  pyrsistent/_pdeque.py
  pyrsistent/_plist.py
  pyrsistent/_pmap.py
  pyrsistent/_precord.py
  pyrsistent/_pset.py
  pyrsistent/_pvector.py
  pyrsistent/_toolz.py
  pyrsistent/_transformations.py
  pyrsistent/py.typed
  pyrsistent/typing.py
  pyrsistent/typing.pyi

You could see if at least some of the files are present in your site-packages directory.

klnrdknt commented 3 years ago

Yes, correct. That was both in the same environment.

I ran glob over the site-packages:

In [1]: from pathlib import Path

In [2]: f = [f.stem for f in Path(r"C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\dscustomerdatahandler-
   ...: 2UNjZCmJ-py3.7\Lib\site-packages").glob("*")]

In [3]: f
Out[3]:
['adodbapi',
 'appdirs-1.4.4',
 'appdirs',
 'argon2',
 'argon2_cffi-20.1.0',
 'aspy',
 'aspy.refactor_imports-2.1.1',
 'astroid',
 'astroid-2.4.2',
 'async_generator',
 'async_generator-1.10',
 'atomicwrites',
 'atomicwrites-1.4.0',
 'attr',
 'attrs-20.3.0',
 'backcall',
 'backcall-0.2.0',
 'black',
 'black-20.8b1',
 'blackd',
 'black_primer',
 'bleach',
 'bleach-3.2.1',
 'blib2to3',
 'bokeh',
 'bokeh-2.2.3',
 'cached_property-1.5.2',
 'cached_property',
 'certifi',
 'certifi-2020.11.8',
 'cffi',
 'cffi-1.14.3',
 'cfgv-3.2.0',
 'cfgv',
 'chardet',
 'chardet-3.0.4',
 'click',
 'click-7.1.2',
 'cloudpickle',
 'cloudpickle-1.6.0',
 'colorama',
 'colorama-0.4.4',
 'coverage',
 'coverage-5.3',
 'cycler-0.10.0',
 'cycler',
 'dask',
 'dask-2.30.0',
 'dateutil',
 'decorator-4.4.2',
 'decorator',
 'defusedxml',
 'defusedxml-0.6.0',
 'distlib',
 'distlib-0.3.1',
 'distributed',
 'distributed-2.30.1',
 'distutils-precedence',
 'dscustomerdatahandler-0.1.0',
 'dscustomerdatahandler',
 'dsDependencies',
 'dsdependencies-0.1.0',
 'dynaconf',
 'dynaconf-3.1.2',
 'easy_install',
 'entrypoints-0.3',
 'entrypoints',
 'et_xmlfile',
 'et_xmlfile-1.0.1',
 'filelock-3.0.12',
 'filelock',
 'flake8',
 'flake8-3.8.4',
 'fsspec',
 'fsspec-0.8.4',
 'google',
 'HeapDict-1.0.1',
 'heapdict',
 'identify',
 'identify-1.5.9',
 'idna',
 'idna-2.10',
 'importlib_metadata',
 'importlib_metadata-2.0.0',
 'iniconfig',
 'iniconfig-1.1.1',
 'ipdb',
 'ipdb-0.13.4',
 'ipykernel',
 'ipykernel-5.3.4',
 'ipykernel_launcher',
 'IPython',
 'ipython-7.19.0',
 'ipython_genutils',
 'ipython_genutils-0.2.0',
 'ipywidgets',
 'ipywidgets-7.5.1',
 'isapi',
 'isort',
 'isort-5.6.4',
 'jdcal-1.4.1',
 'jdcal',
 'jedi',
 'jedi-0.17.2',
 'jinja2',
 'Jinja2-2.11.2',
 'joblib',
 'joblib-0.17.0',
 'json5',
 'json5-0.9.5',
 'jsonschema',
 'jsonschema-3.2.0',
 'jupyter-1.0.0',
 'jupyter',
 'jupyterlab',
 'jupyterlab-2.2.9',
 'jupyterlab_pygments',
 'jupyterlab_pygments-0.1.2',
 'jupyterlab_server',
 'jupyterlab_server-1.2.0',
 'jupyter_client',
 'jupyter_client-6.1.7',
 'jupyter_console',
 'jupyter_console-6.2.0',
 'jupyter_core',
 'jupyter_core-4.7.0',
 'kaleido',
 'kaleido-0.0.3.post1',
 'kiwisolver-1.3.1',
 'kiwisolver.cp37-win_amd64',
 'lazy_object_proxy',
 'lazy_object_proxy-1.4.3',
 'locket',
 'locket-0.2.0',
 'markupsafe',
 'MarkupSafe-1.1.1',
 'matplotlib',
 'matplotlib-3.3.3-py3.7-nspkg',
 'matplotlib-3.3.3',
 'mccabe-0.6.1',
 'mccabe',
 'mistune-0.8.4',
 'mistune',
 'mpl_toolkits',
 'msgpack',
 'msgpack-1.0.0',
 'mypy_extensions-0.4.3',
 'mypy_extensions',
 'nbclient',
 'nbclient-0.5.1',
 'nbconvert',
 'nbconvert-6.0.7',
 'nbformat',
 'nbformat-5.0.8',
 'nest_asyncio-1.4.3',
 'nest_asyncio',
 'nodeenv-1.5.0',
 'nodeenv',
 'notebook',
 'notebook-6.1.5',
 'numpy',
 'numpy-1.19.4',
 'onnx',
 'onnx-1.8.0',
 'onnxconverter_common',
 'onnxconverter_common-1.7.0',
 'onnxruntime',
 'onnxruntime-1.5.2',
 'openpyxl',
 'openpyxl-3.0.5',
 'packaging',
 'packaging-20.4',
 'pandas',
 'pandas-1.1.4',
 'pandocfilters-1.4.3',
 'pandocfilters',
 'parso',
 'parso-0.7.1',
 'partd',
 'partd-1.1.0',
 'pathspec',
 'pathspec-0.8.1',
 'pickleshare-0.7.5',
 'pickleshare',
 'PIL',
 'Pillow-8.0.1',
 'pip',
 'pip-20.2.2',
 'pip-20.2.2',
 'pkg_resources',
 'plotly',
 'plotly-4.12.0',
 'plotlywidget',
 'pluggy',
 'pluggy-0.13.1',
 'pre_commit',
 'pre_commit-2.8.2',
 'prometheus_client',
 'prometheus_client-0.9.0',
 'prompt_toolkit',
 'prompt_toolkit-3.0.8',
 'protobuf-3.14.0-py3.7-nspkg',
 'protobuf-3.14.0',
 'psutil',
 'psutil-5.7.3',
 'py',
 'py-1.9.0',
 'pyarrow',
 'pyarrow-2.0.0',
 'pycodestyle-2.6.0',
 'pycodestyle',
 'pycparser',
 'pycparser-2.20',
 'pyflakes',
 'pyflakes-2.2.0',
 'pygments',
 'Pygments-2.7.2',
 'pylab',
 'pylint',
 'pylint-2.6.0',
 'pyparsing-2.4.7',
 'pyparsing',
 'pytest',
 'pytest-6.1.2',
 'pytest-cov',
 'pytest_cov',
 'pytest_cov-2.10.1',
 'pythoncom',
 'pythonwin',
 'python_dateutil-2.8.1',
 'pytz',
 'pytz-2020.4',
 'pywin32-300',
 'PyWin32',
 'pywin32',
 'pywin32.version',
 'pywin32_system32',
 'pywinpty-0.5.7',
 'PyYAML-5.3.1',
 'pyzmq-20.0.0',
 'qtconsole',
 'qtconsole-4.7.7',
 'qtpy',
 'QtPy-1.9.0',
 'regex',
 'regex-2020.11.13',
 'requests',
 'requests-2.25.0',
 'retrying-1.3.3',
 'retrying',
 'scikit_learn-0.23.2',
 'scipy',
 'scipy-1.5.4',
 'seaborn',
 'seaborn-0.11.0',
 'seed_isort_config-2.2.0',
 'seed_isort_config',
 'send2trash',
 'Send2Trash-1.5.0',
 'setuptools',
 'setuptools-49.6.0',
 'setuptools-49.6.0',
 'six-1.15.0',
 'six',
 'skl2onnx',
 'skl2onnx-1.7.0',
 'sklearn',
 'sortedcontainers',
 'sortedcontainers-2.3.0',
 'tblib',
 'tblib-1.7.0',
 'terminado',
 'terminado-0.9.1',
 'testpath',
 'testpath-0.4.4',
 'threadpoolctl-2.1.0',
 'threadpoolctl',
 'tlz',
 'toml',
 'toml-0.10.2',
 'toolz',
 'toolz-0.11.1',
 'tornado',
 'tornado-6.1',
 'tqdm',
 'tqdm-4.52.0',
 'traitlets',
 'traitlets-5.0.5',
 'typed_ast',
 'typed_ast-1.4.1',
 'typing_extensions-3.7.4.3',
 'typing_extensions',
 'urllib3',
 'urllib3-1.26.2',
 'virtualenv',
 'virtualenv-20.1.0',
 'wcwidth',
 'wcwidth-0.2.5',
 'webencodings',
 'webencodings-0.5.1',
 'wheel',
 'wheel-0.35.1',
 'wheel-0.35.1',
 'widgetsnbextension',
 'widgetsnbextension-3.5.1',
 'win32',
 'win32com',
 'win32comext',
 'winpty',
 'wrapt',
 'wrapt-1.12.1',
 'yaml',
 'zict',
 'zict-2.0.0',
 'zipp-3.4.0',
 'zipp',
 'zmq',
 '_black_version',
 '_cffi_backend.cp37-win_amd64',
 '_distutils_hack',
 '_plotly_future_',
 '_plotly_utils',
 '_pytest',
 '_virtualenv',
 '_virtualenv',
 '_yaml.cp37-win_amd64',
 '__pycache__',
 '~andas',
 '~in32',
 '~in32com',
 '~inpty',
 '~mq',
 '~rapt',
 '~umpy',
 '~yrsistent',
 '~yrsistent-0.17.3',
 '~ywin32_system32']

Not sure what's up with the ~

sinoroc commented 3 years ago

Oh. Everytime I see the first letter of packages or project names replaced with a ~ (sometimes I saw it with a -, I think) it is never a good sign. I think if I were you I would delete the virtual environment entirely and start fresh. I can't remember if I ever really knew what was the cause of these ~, I think it must be something with failing builds or something like that.

klnrdknt commented 3 years ago

I'll delete the folder and the poetry.lock and reinstall, then get back to you.

klnrdknt commented 3 years ago

It worked, thanks!

github-actions[bot] commented 5 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.