bazzar python error on os x 10.11.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Mac Installers |
New
|
Undecided
|
Unassigned |
Bug Description
After installing bazaar via 2.6.0-2.mpkg, I could not initiate bzr because of an import error. after changing the first line in /user/bin/bzr from pyton to pyton2.6, I received this subsequent error:
MacBook:/ roman$ bzr explorer
bzr: ERROR: Couldn't import bzrlib and dependencies.
Please check the directory containing bzrlib is on your PYTHONPATH.
Traceback (most recent call last):
File "/usr/local/
import bzrlib
ImportError: No module named bzrlib
RMacBook:/ roman$ cd ~/
RMacBook:~ roman$ nano .profile
RMacBook:~ roman$ cd /usr/local/bin/bzr
-bash: cd: /usr/local/bin/bzr: Not a directory
RMacBook:~ roman$ nano /usr/local/bin/bzr
RMacBook:~ roman$ sudo nano /usr/local/bin/bzr
Password:
RMacBook:~ roman$ bzr explorer
bzr: ERROR: exceptions.
Referenced from: /Library/
Reason: unsafe use of relative rpath QtCore.
Traceback (most recent call last):
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
from bzrlib.
File "/Library/
from PyQt4 import QtCore, QtGui
ImportError: dlopen(
Referenced from: /Library/
Reason: unsafe use of relative rpath QtCore.
bzr 2.6.0 on python 2.6.9 (Darwin-
arguments: ['/usr/
plugins: bash_completion
colo[0.4.0], email[unknown], explorer[1.3.0], fastimport[
git[0.6.11], grep[2.6.0], keychain[0.1.0], launchpad[2.6.0], loom[2.2.0],
netrc_
po_
weave_
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
affects: | bzr → bzr-mac-installers |
Thank you very much.
On Tue, Jan 31, 2017 at 2:06 AM, Vincent Ladeuil <<email address hidden>
> wrote:
> ** Project changed: bzr => bzr-mac-installers /bugs.launchpad .net/bugs/ 1660536 bin/bzr" , line 74, in <module> ImportError: dlopen( /Library/ Python/ 2.6/site- packages/ PyQt4/QtCore. so, framework/ Versions/ 4/QtCore Python/ 2.6/site- packages/ PyQt4/QtCore. so framework/ Versions/ 4/QtCore Python/ 2.6/site- packages/ PyQt4/QtCore. so with restricted Python/ 2.6/site- packages/ bzrlib/ commands. py", line to_return_ code Python/ 2.6/site- packages/ bzrlib/ commands. py", line Python/ 2.6/site- packages/ bzrlib/ commands. py", line **all_cmd_ args) Python/ 2.6/site- packages/ bzrlib/ commands. py", line .run_simple( *args, **kwargs) Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 136, Python/ 2.6/site- packages/ bzrlib/ cleanup. py", line 166, Python/ 2.6/site- packages/ bzrlib/ plugins/ explorer/ lib/commands. py", plugins. qbzr.lib import uifactory Python/ 2.6/site- packages/ bzrlib/ plugins/ qbzr/lib/ uifactory. py", /Library/ Python/ 2.6/site- packages/ PyQt4/QtCore. so, framework/ Versions/ 4/QtCore Python/ 2.6/site- packages/ PyQt4/QtCore. so framework/ Versions/ 4/QtCore Python/ 2.6/site- packages/ PyQt4/QtCore. so with restricted
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> bazzar python error on os x 10.11.6
>
> Status in Bazaar Mac Installers:
> New
>
> Bug description:
> After installing bazaar via 2.6.0-2.mpkg, I could not initiate bzr
> because of an import error. after changing the first line in
> /user/bin/bzr from pyton to pyton2.6, I received this subsequent
> error:
>
> MacBook:/ roman$ bzr explorer
> bzr: ERROR: Couldn't import bzrlib and dependencies.
> Please check the directory containing bzrlib is on your PYTHONPATH.
>
> Traceback (most recent call last):
> File "/usr/local/
> import bzrlib
> ImportError: No module named bzrlib
> RMacBook:/ roman$ cd ~/
> RMacBook:~ roman$ nano .profile
> RMacBook:~ roman$ cd /usr/local/bin/bzr
> -bash: cd: /usr/local/bin/bzr: Not a directory
> RMacBook:~ roman$ nano /usr/local/bin/bzr
> RMacBook:~ roman$ sudo nano /usr/local/bin/bzr
> Password:
> RMacBook:~ roman$ bzr explorer
> bzr: ERROR: exceptions.
> 2): Library not loaded: QtCore.
> Referenced from: /Library/
> Reason: unsafe use of relative rpath QtCore.
> in /Library/
> binary
>
> Traceback (most recent call last):
> File "/Library/
> 930, in exception_
> return the_callable(*args, **kwargs)
> File "/Library/
> 1121, in run_bzr
> ret = run(*run_argv)
> File "/Library/
> 673, in run_argv_aliases
> return self.run(
> File "/Library/
> 697, in run
> return self._operation
> File "/Library/
> in run_simple
> self.cleanups, self.func, *args, **kwargs)
> File "/Library/
> in _do_with_cleanups
> result = func(*args, **kwargs)
> File "/Library/
> line 144, in run
> from bzrlib.
> File "/Library/
> line 21, in <module>
> from PyQt4 import QtCore, QtGui
> ImportError: dlopen(
> 2): Library not loaded: QtCore.
> Referenced from: /Library/
> Reason: unsafe use of relative rpath QtCore.
> in /Library/
> binary
>
> ...