Code Monkey home page Code Monkey logo

Comments (5)

alecmuffett avatar alecmuffett commented on August 16, 2024

On a fresh node:

---- run ----

aptitude install python-pip liblzma-dev

pip install --upgrade pip

pip install carml

---- errors during build ----

Compiling /tmp/pip-build-61DluM/carml/carml/click_autodoc.py ...
File "/tmp/pip-build-61DluM/carml/carml/click_autodoc.py", line 49
section = nodes.section()
^
SyntaxError: invalid syntax

---- errors on first run as non-root user ----

00:22:28 rig6:~ $ carml
Traceback (most recent call last):
File "/usr/local/bin/carml", line 7, in
from carml.dispatch import dispatch
ImportError: No module named carml.dispatch

----- fixed permissions ----

---- errors on second run as non-root user ----

00:23:33 rig6:~ $ carml
:0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL
to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.

---- pip install service_identity && fix permissions again ----

Appears to work

from carml.

alecmuffett avatar alecmuffett commented on August 16, 2024

I can confirm that "pip install --upgrade pip" is not actually helpful because the extant pip in the above is owned by debian, and the upgrade will not overwrite it.

from carml.

alecmuffett avatar alecmuffett commented on August 16, 2024

therefore:

aptitude install python-pip liblzma-dev
pip install carml service_identity
{fix broken permissions in /usr/local}

from carml.

meejah avatar meejah commented on August 16, 2024

There were some problems with the setup instructions, but not really the same as above. I've fixed them and tested on a fresh Debian VM: https://carml.readthedocs.io/en/latest/installation.html

from carml.

meejah avatar meejah commented on August 16, 2024

Should be better in latest release, with improved instructions

from carml.

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.