Giter VIP home page Giter VIP logo

Comments (5)

vitorbrandao avatar vitorbrandao commented on July 17, 2024

Hello @TuRDMaN, maybe it's something related to setuptools or distribute. Can you check this answer on SO: https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources?

What Python version are you using?

from box-linux-sync.

TuRDMaN avatar TuRDMaN commented on July 17, 2024

Thanks for the help! So I ran the install for setuptools and tried again, and now I get this error:
Traceback (most recent call last):
File "./box-sync", line 47, in
from noiselabs.box.main import box_main
ImportError: No module named 'noiselabs'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./box-sync", line 51, in
from noiselabs.box.main import box_main
File "/home/millar/box-linux-sync/src/noiselabs/box/main.py", line 29, in
from noiselabs.box.output import BoxConsole
File "/home/millar/box-linux-sync/src/noiselabs/box/output.py", line 31, in
from noiselabs.box.config import BASEDIR
File "/home/millar/box-linux-sync/src/noiselabs/box/config.py", line 24, in
import ConfigParser
ImportError: No module named 'ConfigParser'

I'm pretty sure that is because the install is running with Python3 instead of Python2. Both versions are installed, but Python3 is symlinked to Python. What is the suggested method of dealing with this?

from box-linux-sync.

vitorbrandao avatar vitorbrandao commented on July 17, 2024

You're right. This piece of software is written for Python2 and won't run on Python3.

The solution is to write a Python3 compatible app or run this app with the Python2 interpreter. Do you have both?

from box-linux-sync.

TuRDMaN avatar TuRDMaN commented on July 17, 2024

Thanks for the help! I've got everything all sorted now. Changed the first line of box-sync to #!/usr/bin/python2

Check then passed, but setup failed. I had to create a davfs2 group, and add myself to it. Followed the instructions after that, and everything is working now!

from box-linux-sync.

infinitemonkeytheorem avatar infinitemonkeytheorem commented on July 17, 2024

@TuRDMaN . Thanks! This fix needs to be made even if you are running under virtualenv

from box-linux-sync.

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.