0

I´m trying to install the package vectorbt by Jupyter Notebook using the command below:

!pip install vectorbt

Occurs that the process doesn´t conclude and the following message error appears after the results lines below:

"... Installing collected packages: llvmlite, numba, vectorbt Attempting uninstall: llvmlite Found existing installation: llvmlite 0.34.0 ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall."

Anyone can help me?

Since then, I appreciate.

Zain Ul Abidin
  • 2,467
  • 1
  • 17
  • 29
Marcel
  • 1
  • 3
  • 1
    I would recommend installing into an environment or using a `--user` setting. – user3479780 Jun 29 '22 at 03:34
  • This won't help you here because of the complexity of dependencies with this particular package, @Marcel; however, it may improve your Jupyter experience later... Instead of using an exclamation with pip in a notebook, use the newer magics added to insure the installations done inside the notebook are in the correct enviornment. Anything listing an exclamation with either `pip` or `conda` is outdated. Use `%pip` or `%conda`. See [here](https://discourse.jupyter.org/t/why-users-can-install-modules-from-pip-but-not-from-conda/10722/4?u=fomightez) for more information about those modern magics. – Wayne Jun 29 '22 at 19:03
  • Additional, related FYI... because in modern Jupyter environments automagics are usually on by default, you'll get the magic command equivalents being used if you use no symbol in front of `pip` or `conda` generally. I prefer keeping the `%` symbol so that it is explicit the line magic version of `pip`/`conda` is being used to others and your future self; however, it *often* isn't necessary now. – Wayne Jun 29 '22 at 19:09
  • Hi Wayne. It doesn´t work too. I tryed with and without "%" before the pip, but the error still there. – Marcel Jun 30 '22 at 19:24

0 Answers0