BSchilperoort/thermalpy

Unable to pip install it. Everytime I keep getting the error below

adityabharadwaj14 opened this issue · 1 comments

WARNING: The directory '/home/aditya/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting https://github.com/BSchilperoort/thermalpy/zipball/master
Downloading https://github.com/BSchilperoort/thermalpy/zipball/master
- 7.2 kB 26 kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-ezu9iyb6/setup.py'"'"'; file='"'"'/tmp/pip-req-build-ezu9iyb6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-ezu9iyb6/pip-egg-info
cwd: /tmp/pip-req-build-ezu9iyb6/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/tokenize.py", line 452, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-ezu9iyb6/setup.py'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

It looks like the error is not related to the library itself. However, I have not tested pip either.

If you want to use the code, just download the source and import it directly. Be aware that the Spinnaker library often changes, so you might not be able to use it. You will need to install both Spinnaker and PySpin from FLIR's repository.