Coder Social home page Coder Social logo

Comments (5)

joshiayush avatar joshiayush commented on May 26, 2024

I get the ValueError: bad marshal data (unknown type code) which appears to have been some sort of regression in setuptools with python 3.7. See #1257. If this is the case with you, you may want to follow the steps described below:

sudo pip3 install --upgrade --force-reinstall setuptools

Forcing the reinstallation of setuptools fixed this issue for me it may fix the issue for you as well. If this does not resolve the issue for you then you may want to follow the steps described below:

find /usr -name '*.pyc' -delete

If the issue is not with the setuptools this mean that some .pyc files are corrupt probably. In debian distributions the easier way to fix this issue is by deleting those files. This method is highly discouraged please use it if you don't find any other solution working for you.

from kalliope.

joshiayush avatar joshiayush commented on May 26, 2024

@Sispheor What do you think? Will this issue happen to anyone else, because if that's the case, it would be reasonable to add information about this issue in the Kalliope's documents.

from kalliope.

corus87 avatar corus87 commented on May 26, 2024

It does not happen to anyone else, at least not to me. I just successful installed Kalliope in a virtual env.
I only had an error with "werkzeug" and installing ansible with easy_install.
For the werkzeug error I will send a PR.

Not sure but maybe the error only occurs on python 3.7, I used python 3.8

from kalliope.

joshiayush avatar joshiayush commented on May 26, 2024

@corus87 I'm not sure either that if this only happened to me or it will happen to anyone else. One solution could be as you said "use python3.8" but, this information seems to be missing from the Kalliope's documents see

Ubuntu 20.04

Install some required system libraries and software:

sudo apt update
sudo apt install -y \
   git python3-dev libsmpeg0 libttspico-utils flac \
   libffi-dev libssl-dev portaudio19-dev build-essential \
   libatlas3-base mplayer wget vim sudo locales alsa-base alsa-utils \
   pulseaudio-utils libasound2-plugins python3-pyaudio libasound-dev \
   libportaudio2 libportaudiocpp0 ffmpeg 

As you can see the Python's major version, minor version and the revision is missing. So you don't know exactly which version of python does Kalliope require. It would be reasonable to at least add the information about the minor version of python.

My minor version is 7 and the revision is 12, so the above issue may happen to somebody if they have the same. But if you are sure that this will not happen to anyone else please let me know I'll close this issue. Thanks!

from kalliope.

Sispheor avatar Sispheor commented on May 26, 2024

Installation fixed in the last release

from kalliope.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.