Comments (4)
Sorry for the dismissal of your ticket. I thought you could reopen it if you
had more information to add.
Your problem lies in the fact that the SCOOP installer doesn't find pyzmq. I
suspect that it may be linked to the fact that you specify a --prefix
parameter. I suggest you try using a virtual environment, which does in
practice what the --prefix parameter does but gives you a more coherent Python
installation without the need to modify PYTHONPATH or similar environment
variables.
If you really need the --prefix, I guess you should set your PYTHONPATH and/or
PYTHONHOME environment variables to where your Python librairies (containing
pyzmq) are.
The setuptools installer of SCOOP only checks if pyzmq >= [required version] is
available on the system. If it is, it doesn't try to install it. I find it
strange that you are experiencing an issue.
Original comment by [email protected]
on 15 Jul 2014 at 5:24
- Changed state: Accepted
from scoop.
No, google does not allow me to reopen a closed ticket. And no, I
cannot use a virtual environment.
The problem is not about pyzmq. That is in PYTHONPATH already and it
is found as demonstrated by the python -c 'import zmq' line.
The problem is that scoop uses also zmq (the C library, not the python
binding) directly. And it can not find that (because that's installed
on a non-standard location: fyi, that is the policy for our machine,
each library is installed in its own non-standard location, so that it
can easily ignored when needed, and there can easily be different
versions of the same library installed).
In fact the error is in the gcc call, not in python, so PYTHONPATH can
not help. I could solve the problem by creating a gcc wrapper that
calls gcc with additional -L and -I with the actual path where zmq is
installed, but I was wondering if scoop provides a way to specify that
directory directly
Thanks!
Original comment by [email protected]
on 15 Jul 2014 at 5:37
from scoop.
Little annoying stuff like incapacity for users to handle their tickets starts
to make me believe that I should move to Github...
I know understand your workflow, thanks for explaining it. That clarifies
things up.
What I was talking about was that maybe --prefix modifies the way Python
handles its paths.
SCOOP doesn't use directly the C zmq library nor does it need any compilation;
its sources are pure Python. "import zmq" actually imports pyzmq which uses
either Cython or CFFI to talk to the libzmq C library.
The error you see comes from the compilation de pyzmq and not SCOOP (since it
does not invoke any C compiler to install itself). I just tried it using Python
3.4 and SCOOP doesn't try to install pyzmq if it's already found on the system,
without providing a --prefix parameter. When providing the --prefix parameter,
Python complained about "error: bad install directory or PYTHONPATH". After
configuring my PYTHONPATH accordingly, everything worked.
There seems like something is wrong. Your invocation of python returns that
pyzmq is correctly installed, but setuptools tries to install it anyway... Have
you got a recent version of setuptools? Is the problem still present if you
remove the pyzmq entry in the requirements in the setup.py file?
Original comment by [email protected]
on 15 Jul 2014 at 7:14
from scoop.
Ok, thanks for clarifying that zmq is not needed (directly). You may
want to clarify that on the requirement section at:
http://scoop.readthedocs.org/en/0.7/install.html
As a test, I will try not to specify the --prefix, but I do need it,
so that's not the solution. I do not believe it's an issue with
setuptools because I installed dozens of other python package using
--prefix (and many of them having dependencies) and none of them
failed in this way. By the way, I am using setuptools 4.0.1
One other strange thing that scoop does is installing
argparse-1.2.1-py2.7.egg even if I'm running it against python 2.7.7
which has argparse builtin.
Original comment by [email protected]
on 15 Jul 2014 at 7:48
from scoop.
Related Issues (20)
- If there any possibility to support IBM LSF system? HOT 3
- In a PBS job context, pbs_tmrsh should be used in favour of ssh
- source prolog file not working HOT 1
- [**Time Sensitive**] pyscoop.org domain expired HOT 3
- Is this project abandoned? HOT 2
- Failure trying to distribute work in HPC environment HOT 4
- Cannot use on a single node in a SLURM cluster HOT 2
- Scoop not working on Windows
- TypeError: 'NoneType' object is not callable in Python 3.5 HOT 2
- How to wait for the finish of subprocess.run (["./executer"]) when lunched by SCOOP? HOT 1
- Fix simple typo: tupel -> tuple
- Why it is much slower when using python -m scoop deap_ga_onemax.py
- Another question, help me please. HOT 1
- cpu_usage 100% In centos HOT 1
- Could not successfully launch the remote worker HOT 1
- requested remote group process id received:b''
- problems using SCOOP shared object API
- Python 3.10 Cannot import name 'Iterable' from 'collections'
- Warnings: lost track of future
- Backport collections patch to 0.7.1.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scoop.