Ok, an update.
Resume - Dabo now imports.
Longer version - I've used pip to install dabo into the virtual
environment. This loads packages from PyPi, I noticed Dabo was
there.
This is not my preferred solution, for various reasons, but it will
do for the moment.
Perhaps I should just "get t
> Probably not something you want to deal right now, but when you get a chance
> take a look at the below, it makes working with virtualenvs a lot easier.
> http://www.doughellmann.com/projects/virtualenvwrapper
Yup, I downloaded that at the same time VirtualEnv. Damned if I can see where
it
i
On 04/23/2011 04:55 PM, Adrian Klaver wrote:
...
>> Hhm, in Python 2.6 "import sqlite3" works just fine but in 2.7 I get an
>> ImportError, so I guess it isn't always included out of the box.
> I know from experience that if you build Python from source, you have to
> specify
> including the Sqlit
On Saturday, April 23, 2011 12:18:54 am Werner F. Bruhin wrote:
> On 04/22/2011 11:24 PM, Adrian Klaver wrote:
> > On Friday, April 22, 2011 1:58:51 pm Mark Stanton wrote:
> >> Then again, I seem to have *another* issue because I'm using
> >> VirtualEnv, so it seems I need to use pip. "Just type '
On Saturday, April 23, 2011 7:19:21 am Mark Stanton wrote:
> > If you are talking about the below then we are dealing with the VirtEnv:
> Yes.
>
> > The question is how did you get the VirtEnv set up?
>
> Followed the instructions on their web page,
> pypi.python.org/pypi/virtualenv
Probably not
On Saturday, April 23, 2011 7:19:21 am Mark Stanton wrote:
> > Back to what I said earlier, packages has more than one meaning. When you
> > are going through yum you are looking at the distribution
> > packages(Fedora). When you are using pip you are fetching Python
> > packages, they are not the
> If you are talking about the below then we are dealing with the VirtEnv:
Yes.
> The question is how did you get the VirtEnv set up?
Followed the instructions on their web page,
pypi.python.org/pypi/virtualenv
I can (just about) flip into it (tho' not sure about "out of it").
This is why I'v
> Back to what I said earlier, packages has more than one meaning. When you are
> going through yum you are looking at the distribution packages(Fedora). When
> you
> are using pip you are fetching Python packages, they are not the same thing,
> though they may have similar names.
Are you sur
On 04/22/2011 11:24 PM, Adrian Klaver wrote:
> On Friday, April 22, 2011 1:58:51 pm Mark Stanton wrote:
>
>
>
>> Then again, I seem to have *another* issue because I'm using
>> VirtualEnv, so it seems I need to use pip. "Just type 'pip install
>> package-name'" it says. Well, that fails to find t
On 04/22/2011 10:58 PM, Mark Stanton wrote:
> That looks fantastic Werner, thanks. It could well be the bit(s)
> that I'm missing.
>
> I have looked at the Wiki before and hadn't found this article (nor
> the one Sibylle mentioned (thanks).
>
> I'm trying to use the gui tools as much as I can. I
On Friday, April 22, 2011 1:58:51 pm Mark Stanton wrote:
>
> Then again, I seem to have *another* issue because I'm using
> VirtualEnv, so it seems I need to use pip. "Just type 'pip install
> package-name'" it says. Well, that fails to find these packages
> either, even though they are at th
On Friday, April 22, 2011 1:58:51 pm Mark Stanton wrote:
> > Can you post the actual error message here?
>
> It's the one I posted in response to Ed's first post in this thread.
If you are talking about the below then we are dealing with the VirtEnv:
DaboEnv)[Mark@localhost DaboEnv]$ python
Pyth
That looks fantastic Werner, thanks. It could well be the bit(s)
that I'm missing.
I have looked at the Wiki before and hadn't found this article (nor
the one Sibylle mentioned (thanks).
I'm trying to use the gui tools as much as I can. I just don't have
the room in my head to remember all t
> Can you post the actual error message here?
It's the one I posted in response to Ed's first post in this thread.
Mark
___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archiv
Mark,
I am considering to move from Win 7 to Ubuntu 10.10 for my dev machine
and I did the following to get Dabo installed and running.
Ubuntu has Py 2.6.6 installed, so I will put Dabo into that for the moment.
http://www.python.org/download/releases/2.7.1/
sudo apt-get --yes install python-r
On Friday, April 22, 2011 3:41:22 am Mark Stanton wrote:
> > Open a terminal (or cmd.exe in Windows) and simply type 'python' and
> > press Enter. You will then be at an interactive prompt; you should
> > be able to type 'import dabo' from there.
>
> Yup, I thought that.
> It says "ImportError: No
On Friday, April 22, 2011 3:41:22 am Mark Stanton wrote:
> > Open a terminal (or cmd.exe in Windows) and simply type 'python' and
> > press Enter. You will then be at an interactive prompt; you should
> > be able to type 'import dabo' from there.
>
> Yup, I thought that.
> It says "ImportError: No
Am 22.04.2011 12:41, schrieb Mark Stanton:
>> Open a terminal (or cmd.exe in Windows) and simply type 'python' and
>> press Enter. You will then be at an interactive prompt; you should
>> be able to type 'import dabo' from there.
>
> Yup, I thought that.
> It says "ImportError: No module named Dabo
PS Just to be clear, I am trying to import "dabo" (not "Dabo") at the
Python prompt, and it does say
"ImportError: No module named dabo".
Mark
___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo
> Open a terminal (or cmd.exe in Windows) and simply type 'python' and
> press Enter. You will then be at an interactive prompt; you should
> be able to type 'import dabo' from there.
Yup, I thought that.
It says "ImportError: No module named Dabo".
I've clearly missed out something basic and ob
Open a terminal (or cmd.exe in Windows) and simply type 'python' and press
Enter. You will then be at an interactive prompt; you should be able to type
'import dabo' from there.
-- Ed
Sent from my iPhone, so please excuse any top-posting.
On Apr 21, 2011, at 12:09 PM, Mark Stanton wrote:
>
I've struggled to find out how to open Python in my development
directory and import Dabo. I've found that I can tell Python to run
a python file when it starts up by specifying a name with... Hmm,
this is getting to be a nuisance being split between Windoze & Linux,
I'm having to recall this
On Apr 21, 2011, at 3:55 AM, Mark Stanton wrote:
>> Well you should not need to install that as it is included in Python from
>> version 2.5+ as sqlite3. If you feel the need for pysqlite the site is here:
>> http://trac.edgewall.org/wiki/PySqlite
>
> Thanks for that.
> *I* don't want it at all.
> But I thought you were running it in a 2.6 virtenv?
I am. But as I said in the first message I tried it under the Fedora 14
default, 2.7, to see if it was loaded there, it doesn't appear to be.
> Well you should not need to install that as it is included in Python from
> version 2.5+ as sql
On Wednesday, April 20, 2011 12:10:21 pm Mark Stanton wrote:
> > Well the problem is you are running more than one version of Python and
> > each version will need the packages installed for its own use if you
> > want to use it for that version.
>
> Ok, I think I understand this.
> Unfortunately,
> Well the problem is you are running more than one version of Python and each
> version will need the packages installed for its own use if you want to use
> it
> for that version.
Ok, I think I understand this.
Unfortunately, neither 2.6 nor 2.7 seem to have these files available, if Dabo
r
On Wednesday, April 20, 2011 3:09:37 am Mark Stanton wrote:
> (I think I've remembered what that other package is, btw, pySQLite3?)
>
> It seems like you're saying that Python has a list of packages it
> knows about, and won't necessarily go out to the operating system to
> look for them?
The pac
> Actually Adrian the PO's question is one that is often asked
Ah, that'd be me :-)
I may be an unusual case, but this is certainly the bit that is missing.
I can find very little, anywhere, about setting up the basics, like loading
libraries that are not in the 'current' directory.
I've been
(I think I've remembered what that other package is, btw, pySQLite3?)
It seems like you're saying that Python has a list of packages it
knows about, and won't necessarily go out to the operating system to
look for them?
Which problem will be compounded in a VirtualEnv setup, because each
Pytho
On Tuesday, April 19, 2011 04:02:09 pm Adrian Klaver wrote:
> On Tuesday, April 19, 2011 1:04:10 pm Mark Stanton wrote:
> > > Depending on how you set up virtualenv it will either look in the
> > > site-packages of python2.6 or in its own environment for the packages.
> > > My guess is that they ar
On Tuesday, April 19, 2011 1:04:10 pm Mark Stanton wrote:
> > Depending on how you set up virtualenv it will either look in the
> > site-packages of python2.6 or in its own environment for the packages.
> > My guess is that they are installed in python2.7 but not 2.6.
>
> Yup, that sounds reasonab
> Depending on how you set up virtualenv it will either look in the
> site-packages of python2.6 or in its own environment for the packages.
> My guess is that they are installed in python2.7 but not 2.6.
Yup, that sounds reasonable. I did install this environment as 2.6 because I
understand D
Mmmm, neither PIL or reportlab rings a bell.
This machine is "dual boot" Windoze & Linux, Dabo setup on the Linux
side, email software on the dark side :-(
I'll write it down next time.
Mark Stanton
___
Post Messages to: Dabo-users@leafe.com
Subscri
On Tuesday, April 19, 2011 10:57:24 am Mark Stanton wrote:
> Damn, I've forgotten what "the other one" is, but they're the
> (first?) two packages Dabo checks are present before it will agree to
> start.
>
> It's complaining I don't have them.
> My (Fedora) setup says it does :-(
>
> Now what?
>
On 04/19/2011 10:57 AM, Mark Stanton wrote:
> Damn, I've forgotten what "the other one" is, but they're the
> (first?) two packages Dabo checks are present before it will agree to
> start.
>
> It's complaining I don't have them.
> My (Fedora) setup says it does :-(
>
> Now what?
>
> I'm running Pyt
Damn, I've forgotten what "the other one" is, but they're the
(first?) two packages Dabo checks are present before it will agree to
start.
It's complaining I don't have them.
My (Fedora) setup says it does :-(
Now what?
I'm running Python 2.6 under VirtualEnv on Fedora 14 (which natively
has
36 matches
Mail list logo