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

Error when setup #52

Closed
guantinglin opened this issue May 14, 2019 · 1 comment
Closed

Error when setup #52

guantinglin opened this issue May 14, 2019 · 1 comment

Comments

@guantinglin
Copy link

Hi, I keep meeting this error and can not figure out what happen. Can you give me some suggestion to solve?

The below is the screen messages.

running develop
Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files
running egg_info
writing pythia.egg-info/PKG-INFO
writing dependency_links to pythia.egg-info/dependency_links.txt
writing requirements to pythia.egg-info/requires.txt
writing top-level names to pythia.egg-info/top_level.txt
reading manifest file 'pythia.egg-info/SOURCES.txt'
writing manifest file 'pythia.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python3.5/dist-packages/pythia.egg-link (link to .)
pythia 0.3 is already the active version in easy-install.pth

Installed /home/victor/VQA/Pythia
Processing dependencies for pythia==0.3
Searching for fastText
Best match: fastText [unknown version]
Downloading https://github.com/facebookresearch/fastText/tarball/master#egg=fastText

Processing master
Writing /tmp/easy_install-37swd4hf/facebookresearch-fastText-6dd2e11/setup.cfg
Running facebookresearch-fastText-6dd2e11/setup.py -q bdist_egg --dist-dir /tmp/easy_install-37swd4hf/facebookresearch-fastText-6dd2e11/egg-dist-tmp-htcy2yd7
warning: no files found matching 'PATENTS'
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
error: Setup script exited with error: SandboxViolation: mkdir('/home/victor/.local/lib', 448) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
@guantinglin
Copy link
Author

I found the solution here. Sorry for my carelessness.

https://github.com/facebookresearch/pythia/#troubleshootingfaqs

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

1 participant