streamrip icon indicating copy to clipboard operation
streamrip copied to clipboard

Error on Installation

Open io2345 opened this issue 3 years ago • 1 comments

Describe the bug

While installing I get:

__....
    Bibliothek "build\temp.win32-cpython-310\Release\src/cchardet\_cchardet.cp310-win_amd64.lib" und Objekt "build\temp.win32-cpython-310\Release\src/cchardet\_cchardet.cp310-win_amd64.exp" werden erstellt.
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyBaseObject_Type".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyDict_NewPresized".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_SetAttr".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyUnicode_InternFromString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyOS_snprintf".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyThreadState_Get".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_Exception".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_SetObject".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_GivenExceptionMatches".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_WarnEx".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyFrame_New".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__Py_LeaveRecursiveCall".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_Occurred".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_GenericGetAttr".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyTraceBack_Here".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyThreadState_UncheckedGet".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_RuntimeError".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_SetAttrString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyLong_FromLong".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_Hash".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyInterpreterState_GetID".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyLong_FromUnsignedLongLong".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__Py_GetVersion".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_GetAttr".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyBytes_FromString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___Py_NoneStruct".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyTuple_New".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_SetItemString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_Size".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyLong_FromLongLong".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyFloat_FromDouble".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_AttributeError".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_SetString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyLong_FromUnsignedLong".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_Next".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_Format".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___Py_FalseStruct".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyLong_FromByteArray".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyModule_NewObject".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___Py_Dealloc".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyImport_GetModuleDict".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyModule_GetDict".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_ExceptionMatches".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_Not".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyUnicode_FromFormat".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_GC_IsFinalized".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyImport_AddModule".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyType_Ready".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_GetAttrString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyErr_Clear".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyBytes_Type".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_RichCompareBool".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyUnicode_Decode".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyCode_New".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyObject_GenericGetAttrWithDict".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_SetItem".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_New".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_CallFinalizerFromDealloc".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyDict_GetItem_KnownHash".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyCMethod_New".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_GetItemString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_CallObject".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyModuleDef_Init".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyBytes_FromStringAndSize".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyDict_DelItem".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_IsSubclass".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_TypeError".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyMem_Realloc".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_IsTrue".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_NameError".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyTuple_Pack".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyMem_Malloc".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__Py_EnterRecursiveCall".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_ImportError".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___Py_TrueStruct".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyExc_SystemError".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyException_SetCause".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyType_Modified".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyTraceBack_Type".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyUnicode_FromString".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyType_Lookup".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyObject_Call".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp__PyUnicode_FromStringAndSize".
      _cchardet.obj : error LNK2001: Nicht aufgel”stes externes Symbol "__imp___PyObject_GetDictPtr".
      build\lib.win32-cpython-310\cchardet\_cchardet.cp310-win_amd64.pyd : fatal error LNK1120: 84 nicht aufgel”ste Externe
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x86\\link.exe' failed with exit code 1120
      [end of output]
...._
```_

The command "rip" isn't a known command after that - probably because the installation failed. 
What to do?
Python Python 3.10.6 is installed alongside Visual Studio Build Tools 2022 ver. 17.3.0

### Command Used

```bash
pip3 install streamrip

Debug Traceback

none

Config File

none

Operating System

Win10

streamrip version

none

Screenshots and recordings

No response

Additional context

No response

io2345 avatar Aug 15 '22 17:08 io2345

You have to reboot your windows machine before you can use it. Sometimes it's that easy...

io2345 avatar Aug 24 '22 14:08 io2345

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 23 '22 15:10 stale[bot]