New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install ffcv error #60
Comments
Hello, Did you follow the installation instructions ? It looks like you are either missing |
I follow the installation instructions, opencv4 or libturbojpeg is ok. (ffcv)$ pkg-config --cflags --libs libturbojpeg -I//anaconda3/envs/ffcv/include -L/data/chenkun/anaconda3/envs/ffcv/lib -lturbojpeg |
That's a good start! Could you run clone the repo and run |
Thanks to your promotion, I found a fix. Details are as follows:
|
Great. Happy it worked for you. I'll close and feel free to open a new issue if you face a problem |
Do we just need to install it with conda? Can't we install it with pip and virtualenv? @GuillaumeLeclerc @geekchen007 |
Here's how I managed to install
Hope it's helpful! |
Hi @GuillaumeLeclerc. Does FFCV use OpenCV's GPU modules or just CPU ones? I'm wondering if we could install OpenCV without its GPU modules. Thanks. |
(ffcv) $ pip install ffcv
Collecting ffcv
Using cached ffcv-0.0.2.tar.gz (53 kB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /XXX/ffcv/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-j9vpaf6i/ffcv_c2eb5c5207c34d81ac29a3ccddbb59fb/setup.py'"'"'; file='"'"'/tmp/pip-install-j9vpaf6i/ffcv_c2eb5c5207c34d81ac29a3ccddbb59fb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-y1669tep
cwd: /tmp/pip-install-j9vpaf6i/ffcv_c2eb5c5207c34d81ac29a3ccddbb59fb/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-j9vpaf6i/ffcv_c2eb5c5207c34d81ac29a3ccddbb59fb/setup.py", line 36, in
libffcv = Extension('ffcv._libffcv',
TypeError: keywords must be strings
WARNING: Discarding https://files.pythonhosted.org/packages/4f/55/9b06a72c29710110387c3af33eb1a9d6e5d9d5781d5b2850a3ad202942d2/ffcv-0.0.1.tar.gz#sha256=5246dbbbc0a3bcf788783d413292d8bede455a08ad0fa9c29736eca85b577b26 (from https://pypi.org/simple/ffcv/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement ffcv (from versions: 0.0.1, 0.0.2)
ERROR: No matching distribution found for ffcv_
The text was updated successfully, but these errors were encountered: