Skip to content
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

Issue installing pyLFR #22

Open
bmahabirbu opened this issue Apr 24, 2021 · 3 comments
Open

Issue installing pyLFR #22

bmahabirbu opened this issue Apr 24, 2021 · 3 comments

Comments

@bmahabirbu
Copy link

`brian@brian-System-Product-Name:~/Desktop/pyLFR$ sudo pipenv run pip install --install-option="--include-path=/usr/local/include/" --install-option="--library-path=/usr/local/lib/" pygraphviz
Creating a virtualenv for this project…
Using /usr/bin/python3 (3.8.5) to create virtualenv…
⠋created virtual environment CPython3.8.5.final.0-64 in 426ms
creator CPython3Posix(dest=/root/.local/share/virtualenvs/pyLFR-1k8-bTWa, clear=False, global=False)
seeder FromAppData(download=False, setuptools=latest, pyparsing=latest, CacheControl=latest, lockfile=latest, packaging=latest, retrying=latest, chardet=latest, requests=latest, six=latest, contextlib2=latest, progress=latest, ipaddr=latest, pip=latest, urllib3=latest, pytoml=latest, html5lib=latest, idna=latest, distlib=latest, wheel=latest, distro=latest, msgpack=latest, pep517=latest, appdirs=latest, colorama=latest, pkg_resources=latest, certifi=latest, webencodings=latest, via=copy, app_data_dir=/root/.local/share/virtualenv/seed-app-data/v1.0.1.debian)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator

Virtualenv location: /root/.local/share/virtualenvs/pyLFR-1k8-bTWa
Creating a Pipfile for this project…
/root/.local/share/virtualenvs/pyLFR-1k8-bTWa/lib/python3.8/site-packages/pip/_internal/commands/install.py:255: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
cmdoptions.check_install_build_global(options)
Collecting pygraphviz
Downloading pygraphviz-1.7.zip (118 kB)
|████████████████████████████████| 118 kB 4.7 MB/s
Skipping wheel build for pygraphviz, due to binaries being disabled for it.
Installing collected packages: pygraphviz
Running setup.py install for pygraphviz ... error
ERROR: Command errored out with exit status 1:
command: /root/.local/share/virtualenvs/pyLFR-1k8-bTWa/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e2_le_dh/pygraphviz/setup.py'"'"'; file='"'"'/tmp/pip-install-e2_le_dh/pygraphviz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-h8kd1e7t/install-record.txt --single-version-externally-managed --compile --install-headers /root/.local/share/virtualenvs/pyLFR-1k8-bTWa/include/site/python3.8/pygraphviz --include-path=/usr/local/include/ --library-path=/usr/local/lib/
cwd: /tmp/pip-install-e2_le_dh/pygraphviz/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: option --include-path not recognized
----------------------------------------

ERROR: Command errored out with exit status 1: /root/.local/share/virtualenvs/pyLFR-1k8-bTWa/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-e2_le_dh/pygraphviz/setup.py'"'"'; file='"'"'/tmp/pip-install-e2_le_dh/pygraphviz/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-h8kd1e7t/install-record.txt --single-version-externally-managed --compile --install-headers /root/.local/share/virtualenvs/pyLFR-1k8-bTWa/include/site/python3.8/pygraphviz --include-path=/usr/local/include/ --library-path=/usr/local/lib/ Check the logs for full command output.
`

@ryu-bu
Copy link
Collaborator

ryu-bu commented Apr 24, 2021

What OS are you running it on?

@bmahabirbu
Copy link
Author

What OS are you running it on?

I'm running on Ubuntu 19.04

@ryu-bu
Copy link
Collaborator

ryu-bu commented Apr 24, 2021

try to skip the command, ubuntu should be able to install pygraphivz using apt-get: https://pygraphviz.github.io/documentation/stable/install.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants