Hi Fabio,
I wish I could use the latest PyDev, unfortunately I need Aptana studio.
It's a pity they won't let us install individual packages from their
bundle. If they did, I could install only the other packages and install
PyDev separately.
Thanks for your help once again.
Yours,
Renato
2014
On Sun, Feb 16, 2014 at 11:52 AM, Renato wrote:
> It's solved now, oh my god I was so stupid! I created a package named
> "pybrain" for testing PyBrain module, so obviously when I tryed to import
> something from PyBrain library, Python would import all modules from this
> personal package I crea
It's solved now, oh my god I was so stupid! I created a package named "pybrain"
for testing PyBrain module, so obviously when I tryed to import something from
PyBrain library, Python would import all modules from this personal package I
created. The problem was not being reproduced outside Eclip
Em sexta-feira, 14 de fevereiro de 2014 01h30min05s UTC-2, Renato escreveu:
> Hi guys, I'm using Python 2.7.5 64 bits and I have a problem when importing
> libraries that were installed via PIP when importing them inside Eclipse
> (version 4.3.1). Outside Eclipse (directly in Python's shell) eve
On Fri, Feb 14, 2014 at 1:30 AM, Renato wrote:
> Hi guys, I'm using Python 2.7.5 64 bits and I have a problem when
> importing libraries that were installed via PIP when importing them inside
> Eclipse (version 4.3.1). Outside Eclipse (directly in Python's shell)
> everything works fine, here is
Hi guys, I'm using Python 2.7.5 64 bits and I have a problem when importing
libraries that were installed via PIP when importing them inside Eclipse
(version 4.3.1). Outside Eclipse (directly in Python's shell) everything works
fine, here is an example:
>>> import numpy
On Tuesday, October 29, 2013 6:40:37 PM UTC+8, Peter Otten wrote:
> C. Ng wrote: > Hi all, > So I cloned a package xyz from github. OS is ubuntu
> 12.04. > Then install successfully using "sudo python setup.py install" > Now
> when I try to import xyz, I get "ImportError: No module named xyz" > u
C. Ng wrote:
> Hi all,
> So I cloned a package xyz from github. OS is ubuntu 12.04.
> Then install successfully using "sudo python setup.py install"
> Now when I try to import xyz, I get "ImportError: No module named xyz"
> unless my current working directory is in xyz. Appreciate your help.
> Tha
Hi all,
So I cloned a package xyz from github. OS is ubuntu 12.04.
Then install successfully using "sudo python setup.py install"
Now when I try to import xyz, I get "ImportError: No module named xyz" unless
my current working directory is in xyz.
Appreciate your help. Thanks.
--
https://mail.p
cont...
Take in consideration
/** Hashtable of URLClassLoaders for each of the jars loaded */
private Hashtable classLoaders;
Here's an example:
org.python.core.PySystemState pySys = new
org.python.core.PySystemState();
//classLoad
I've managed to solve this problem.
I can now run a python script that lives inside a Jar. The python
script is now able to import other scripts within the same jar, and
it's also able to import java classes that live within the jar.
The problem was solved by giving the Jython Interpreter the pro
Hello all,
I've a problem with Jython and importing .py inside a jar.
I'm putting .class and .py files inside .jar files.
myjar.jar
MyJar\SomeClass.class
MyJar\main.py
MyJar\otherModule.py
So I add the myjar.jar to Jython's sys.path
org.python.core.PySystemState p
kz, you are my new hero :-)
thanks a bunch.
-Didier
--
http://mail.python.org/mailman/listinfo/python-list
writes:
>
> I tried everything I could think of (playing with the __init__.py, the
> PYTHONCLASS, the CLASSPATH), but nothing seems to work...
>
> I am doing something wrong here ?
>
> -Didier
>
Take a look at the jython registry setting python.path:
http://www.jython.org/docs/registry.
Ok, so I know this is probably a common jython error, but somehow I
can't seem to find an answer to this trivial problem.
Ok, I have the following (simple) directory structure:
$TOP/
__init__.py
py_dir/
__init__.py
util.py
I have:
PYTHONPATH=$TOP
CLASSPATH=$TOP
I am n
thanks a lot for the quick answer.
I had to provide the debug-versions, since I was in debug mode, like
you already expected! thanks a lot again!
-stefan
--
http://mail.python.org/mailman/listinfo/python-list
Du you use program in linux? I work in windows, but I think it's a way
to tell your program the module path like this:
char path[MAX_PATH], cpy_cmd[MAX_PATH];
GetCurrentDirectory( MAX_PATH, path );
sprintf( cpy_cmd, "sys.path.append(r\'%s\\modules\')", path );
PyRun_SimpleString("import sys");
Du you use program in linux? I work in windows, but I think it's a way to
tell your program the module path like this:
char path[MAX_PATH], cpy_cmd[MAX_PATH]; GetCurrentDirectory(
MAX_PATH, path ); sprintf( cpy_cmd,
"sys.path.append(r\'%s\\modules\')", path );
PyRun_SimpleStri
stefan wrote:
Hi Folks,
I currenty extended some of my C++ functionality to python and also
embedded python to use python functionality in my C++ system (and use
as well these extended functions).
While this works fine with the core python functionality, as soon as I
run a script (on the embedded s
Hi Folks,
I currenty extended some of my C++ functionality to python and also
embedded python to use python functionality in my C++ system (and use
as well these extended functions).
While this works fine with the core python functionality, as soon as I
run a script (on the embedded system) which
20 matches
Mail list logo