can't install rednotebook because of python package problem

Asked by osman tursun on 2016-05-04

I can't install rednotebook. I don't know what is the problem. is this problem of anaconda? because I have installed anaconda. And I am using ubuntu 16.04. Thanks.

sudo apt-get install rednotebook
[sudo] password for osman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 rednotebook : Depends: python-support (>= 0.90.0) but it is not installable
               Recommends: python-gtkspell but it is not installable
               Recommends: python-chardet but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Question information

Language:
English Edit question
Status:
Solved
For:
RedNotebook Edit question
Assignee:
No assignee Edit question
Solved by:
Jendrik Seipp
Solved:
2016-05-09
Last query:
2016-05-09
Last reply:
2016-05-08
Jendrik Seipp (jendrikseipp) said : #1

Thanks for notifying me about this. python-support seems to have been
deprecated in favor of dh-python. I updated the packaging info and a new
package should land in the rednotebook-daily PPA soon. If it doesn't
work then, please tell me.

osman tursun (osmanjan-t) said : #2

Thanks for helping.

Jendrik Seipp (jendrikseipp) said : #3

launchpad imports currently hav some issues with git branches so it
might take a while until a new package appears. Until then, I recommend
using the Ubuntu rednotebook package, i.e. not the one from the PPA.

osman tursun (osmanjan-t) said : #4

I have downloaded the rednotebook from github, and try to install it. However I got some errors. I have installed anaconda, is that a problem for rednotebook? Thank you.

```
./run
You need to enter your password to install the missing packages python-yaml python-gtkspellcheck
[sudo] password for osman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libqt4-opengl libqtwebkit4 libtidy-0.99-0 tidy
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  python-enchant
Suggested packages:
  python-wxgtk3.0
The following NEW packages will be installed:
  python-enchant python-gtkspellcheck python-yaml
0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 178 kB of archives.
After this operation, 872 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-enchant all 1.6.6-2 [43.1 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-gtkspellcheck all 3.0-1.1 [30.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-yaml amd64 3.11-3build1 [105 kB]
Fetched 178 kB in 0s (212 kB/s)
Selecting previously unselected package python-enchant.
(Reading database ... 343798 files and directories currently installed.)
Preparing to unpack .../python-enchant_1.6.6-2_all.deb ...
Unpacking python-enchant (1.6.6-2) ...
Selecting previously unselected package python-gtkspellcheck.
Preparing to unpack .../python-gtkspellcheck_3.0-1.1_all.deb ...
Unpacking python-gtkspellcheck (3.0-1.1) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../python-yaml_3.11-3build1_amd64.deb ...
Unpacking python-yaml (3.11-3build1) ...
Setting up python-enchant (1.6.6-2) ...
Setting up python-gtkspellcheck (3.0-1.1) ...
Setting up python-yaml (3.11-3build1) ...
Checking for python2.7
Running python2.7
Python 2.7.11 :: Anaconda 4.0.0 (64-bit)

** (process:14592): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:14592): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:14592): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "unity-gtk-module"

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(journal.py:14592): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
2016-05-05 09:53:19,492 INFO Writing log to file "/home/osman/.rednotebook/rednotebook.log"
2016-05-05 09:53:19,492 INFO System encoding: UTF-8
2016-05-05 09:53:19,492 INFO Language code: en_US
2016-05-05 09:53:19,549 ERROR Webkit was not found. It can be found in a package with the name python-webkit or pywebkitgtk: No module named webkit
```

Jendrik Seipp (jendrikseipp) said : #5

Can you try to call

sudo apt-get install python-webkit

please? What's the output of the call?

osman tursun (osmanjan-t) said : #6

osman@osman-kovan:~/Downloads/rednotebook-master$ sudo apt-get install python-webkit
[sudo] password for osman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-webkit is already the newest version (1.1.8-3.1).
The following packages were automatically installed and are no longer required:
  libqt4-opengl libqtwebkit4 libtidy-0.99-0 tidy
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

osman tursun (osmanjan-t) said : #7

I am using anaconda, is that a problem?

osman@osman-kovan:~/Downloads/rednotebook-master$ which python
/home/osman/opt/anaconda2/bin/python

Jendrik Seipp (jendrikseipp) said : #8

Yes, that may be the problem. You'll have to install pywebkitgtk with
anaconda.

osman tursun (osmanjan-t) said : #9

How can I make rednote book use system python instead of anaconda ? because after I have modified anaconda path I can run rednote book. Thanks for helping.

osman tursun (osmanjan-t) said : #10

And I can't find pywebkitgtk or python-webkit in anaconda.

anaconda search -t conda pywebkitgtk
Using Anaconda Cloud api site https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
No packages found
     Name | Version | Package Types | Platforms
     ------------------------- | ------ | --------------- | ---------------
Found 0 packages

anaconda search -t conda python-webkit
Using Anaconda Cloud api site https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
No packages found
     Name | Version | Package Types | Platforms
     ------------------------- | ------ | --------------- | ---------------
Found 0 packages

Best Jendrik Seipp (jendrikseipp) said : #11

To use the system python, you'll probably have to call "/usr/bin/python
path/to/rednotebook/journal.py" or similar.

osman tursun (osmanjan-t) said : #12

Thanks Jendrik Seipp, that solved my question.