ubuntu-13.10

Unable to locate package virtualenv in ubuntu-13 on a virtual-machine

给你一囗甜甜゛ 提交于 2020-06-25 16:34:53
问题 When i try do the given code below: "sudo apt-get install virtualenv" the error given in response to the ubuntu-shell is: E: Unable to locate package virtualenv 回答1: The Ubuntu package is called python-virtualenv, not "virtualenv". 回答2: You need to add python before virtualenv because ubuntu package is python-virtualenv not virtualenv. sudo apt-get install python-virtualenv 回答3: It's also possible that you may not have run sudo apt-get update. It worked for me. 回答4: Try This : sudo apt-get

Unable to locate package virtualenv in ubuntu-13 on a virtual-machine

喜夏-厌秋 提交于 2020-06-25 16:34:43
问题 When i try do the given code below: "sudo apt-get install virtualenv" the error given in response to the ubuntu-shell is: E: Unable to locate package virtualenv 回答1: The Ubuntu package is called python-virtualenv, not "virtualenv". 回答2: You need to add python before virtualenv because ubuntu package is python-virtualenv not virtualenv. sudo apt-get install python-virtualenv 回答3: It's also possible that you may not have run sudo apt-get update. It worked for me. 回答4: Try This : sudo apt-get

How to run python macros in LibreOffice?

ぃ、小莉子 提交于 2020-06-24 07:14:17
问题 When I go to Tools -> Macros -> Organize Macros -> Python I get this dialog: It is not possible to create new Python macros. Apparently LibreOffice has no Python editor so I have to write the macros elsewhere and then just execute them. But I do not know where to put the Python scripts. I tried a system-wide search for files with "HeloWorld" in their name and I got no results. I tried to put a test.py file into: /home/martin/.config/libreoffice/4/user/Scripts and reload the application, but

How to run python macros in LibreOffice?

北城以北 提交于 2020-06-24 07:14:10
问题 When I go to Tools -> Macros -> Organize Macros -> Python I get this dialog: It is not possible to create new Python macros. Apparently LibreOffice has no Python editor so I have to write the macros elsewhere and then just execute them. But I do not know where to put the Python scripts. I tried a system-wide search for files with "HeloWorld" in their name and I got no results. I tried to put a test.py file into: /home/martin/.config/libreoffice/4/user/Scripts and reload the application, but

Raspberry Pi crosscompile on Ubuntu 13.10 “libstdc++.so.6” not found

好久不见. 提交于 2020-01-01 19:31:34
问题 I've followed the tutorial on SE as well as trying the extra steps from Hertaville and bootc but I still get the error that prompted the original SE question. I'm stumped. I get five steps into the process before I get the error: sudo apt-get install git rsync cmake lib32z1 lib32ncurses5 lib32bz2-1.0 git clone git://github.com/raspberrypi/tools.git export PATH=$PATH:$HOME/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin . ~/.bashrc arm-linux-gnueabihf-gcc -v Error:

Virtual host on ubuntu 13.10 and apache 2.4.6

大兔子大兔子 提交于 2019-12-31 08:05:12
问题 I have the following problem My hosts file is as follows: 127.0.0.1 localhost 127.0.1.1 barbala4o-HP-ProBook-4530s 127.0.1.1 mysite.localhost My file in the /etc/apache2/sites-available/mysite.localhost.conf is as follows : <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName mysite.localhost DocumentRoot /var/www/mysite <Directory /var/www/mysite/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> ErrorLog /var/log/apache2/mysite-error.log CustomLog

why Trying to get property of non-object error raised

大兔子大兔子 提交于 2019-12-25 13:17:10
问题 Severity: Notice --> Trying to get property of non-object is showing for the line $this->data['tasks'] = $workpackages->tasks; public function view($id) { //get list of projects $project = $this->Projects_model->get_project($id); $rate = $this->ion_auth->get_project_rate($project->id)->row(); if ($project) { //get list of beneficiaries $benificiaries = $this->Beneficiaries_model->get_beneficiaries($project->id); if ($benificiaries) { $project->benificiaries = $benificiaries; } else { $project

Cannot open source file “bits/c++config.h” error with icpc

青春壹個敷衍的年華 提交于 2019-12-22 03:40:10
问题 I am trying to compile a program on a 64-bit machine with icpc. Unfortunately, I get an error message of catastrophic error: cannot open source file "bits/c++config.h" . I have adopded some advice from here but with no success. Also, I do not forget to run source /opt/intel/bin/compilervars.sh intel64 before hand and I'm on Ubuntu 13.10 in case this is important. 回答1: First, find the missing file: find /usr -name c++config.h (Headers are in /usr , most of the time.) Then, add its top dir to

Apache doesn't use DocumentRoot after upgrading to Ubuntu 13.10 (Uses default page that says “It works!”)

半世苍凉 提交于 2019-12-21 07:38:07
问题 I have various virtual hosts for my web development work, including cnm. The sites-available/cnm my file says very simply: <VirtualHost *:80> ServerName cnm DocumentRoot /var/www/cnm/public_html </VirtualHost> I upgraded to Ubuntu 13.10, and when I point my browser to cnm/, I see the /var/www/index.html file that seems to be indicated in the default file sites-available/000-default.conf which says (among other things): <VirtualHost *:80> DocumentRoot /var/www What do I need to do to get

Could not find rake-10.1.0 in any of the sources

余生颓废 提交于 2019-12-18 17:53:06
问题 I have been working with rails and have been trying to setup passenger with rake 10.1.0 and it sends back me this errors. Here is the link to the error.Website LInk It looks like Bundler could not find a gem. This is probably because your application is being run under a different environment than it's supposed to. Please check the following: * Is this app supposed to be run as the `rails` user? * Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter