1
resposta

Erro que não consigo descobrir o motivo

Uso p pycharm e quando tento rodar o codigo, da ess erro:

Traceback (most recent call last):
  File "C:/Users/eduar/PycharmProjects/curso2/classificando_emails.py", line 2, in <module>
    from sklearn.model_selection import cross_val_score
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\sklearn\__init__.py", line 64, in <module>
    from .base import clone
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\sklearn\base.py", line 13, in <module>
    from .utils.fixes import signature
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\sklearn\utils\__init__.py", line 16, in <module>
    from .fixes import _Sequence as Sequence
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\sklearn\utils\fixes.py", line 85, in <module>
    from scipy.special import boxcox  # noqa
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\scipy\special\__init__.py", line 642, in <module>
    from .basic import *
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\scipy\special\basic.py", line 19, in <module>
    from . import orthogonal
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\scipy\special\orthogonal.py", line 83, in <module>
    from scipy import linalg
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\scipy\linalg\__init__.py", line 191, in <module>
    from .basic import *
  File "C:\Users\eduar\PycharmProjects\curso2\venv\lib\site-packages\scipy\linalg\basic.py", line 15, in <module>
    from .decomp import _asarray_validated
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 857, in get_code
  File "<frozen importlib._bootstrap_external>", line 525, in _compile_bytecode
ValueError: bad marshal data (unknown type code)

Process finished with exit code 1
1 resposta

Oi Eduardo,

só pelo erro não estou conseguindo dizer.

Qual código você está rodando para dar esse erro? Tem como copiar e colar aqui? ^^