Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

duplicity #24893

Closed
niklassaers opened this issue Dec 3, 2013 · 6 comments
Closed

duplicity #24893

niklassaers opened this issue Dec 3, 2013 · 6 comments
Assignees

Comments

@niklassaers
Copy link

Hi, "brew install duplicity" works fine, but when running "duplicity" from the command line, it gives the following on Mavericks:

$ duplicity
Traceback (most recent call last):
File "/usr/local/bin/duplicity", line 42, in
from duplicity import log
ImportError: No module named duplicity

Reproduced on three systems, including one freshly installed with just Xcode and homebrew

Any suggestions to what I should do to solve this?

@adamv
Copy link
Contributor

adamv commented Dec 3, 2013

Please provide your brew --config and brew doctor as well.

@asparagui
Copy link
Contributor

$ duplicity -V
duplicity 0.6.22

10.9 here, I dunno.

@niklassaers
Copy link
Author

System #1:
$ brew --config; brew doctor;
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: cbd03a8
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.9-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
Clang: 5.0 build 500
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Your system is ready to brew.

System #2:
% brew --config; brew doctor
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: cbd03a8
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
Clang: 5.0 build 500
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/niklas/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
/usr/local/lib/libosxfuse_i64.2.dylib

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
/usr/local/lib/libosxfuse_i32.la
/usr/local/lib/libosxfuse_i64.la

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
/usr/local/lib/pkgconfig/osxfuse.pc

System #3:
$ brew --config; brew doctor
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: c5de743
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.2
LLVM-GCC: N/A
Clang: 5.0 build 500
MacPorts/Fink: /opt/local/bin/port
X11: N/A
System Ruby: 1.8.7-358
Perl: /opt/local/bin/perl => /opt/local/bin/perl5.12
Python: /usr/bin/python
Ruby: /usr/local/Cellar/ruby/2.0.0-p0/bin/ruby
Your system is ready to brew.

@ohcibi
Copy link

ohcibi commented Dec 20, 2013

I can confirm this, here is my config:

$ brew --config; brew doctor
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 16c60c2
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.9.1-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1382131676
GCC-4.2: build 5666
Clang: 5.0 build 500
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/ohcibi/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
Your system is ready to brew.

@adamv adamv self-assigned this Mar 5, 2014
@adamv
Copy link
Contributor

adamv commented Mar 6, 2014

I would suggest brew rm duplicity, then brew update, then reinstall. Since these this issue was opened, Homebrew changed how it deals with Python software and there has been a new version of Duplicity.

If this still doesn't work:

$ duplicity --version
duplicity 0.6.23

open a new issue with updated troubleshooting information.

@adamv adamv closed this as completed Mar 6, 2014
@niklassaers
Copy link
Author

Confirmed. :-) Thanks!

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants