-
Notifications
You must be signed in to change notification settings - Fork 65
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 running in Nitrous.IO #8
Comments
I think I remember getting that error and I solved it by using Python 3.0 as I couldn't figure it out. |
I've never used Nitrous (never even heard of it until now, actually), so I don't really know what this is about. I'd assume maybe it doesn't like installing libraries through the actual program? One possibility is that it runs Python scripts with different permissions than what's required to access the Try running these commands in whatever console Nitrous gives you (with pip install requests
pip install beautifulsoup4 Then see if it gets mad at you and report back. |
khinsider git:(master) ✗ python3
|
No, run it in the Linux console. If Nitrous gives you one of those. It boasts about "root access" on the site, so I'd assume it does. |
pip install beautifulsoup4 |
That's what I tried initially, still didn't work |
And Nitrous has pip, right? And you tried running with sudo?
|
@lucasone Here, check this StackOverflow post out. Instead of |
Psst, @lucasone, how's it looking? |
It looks there are restrictions after all on Nitrous.IO, so I ended up giving up. All the packages weren't working right, and some would not install due to folders actually being blocked/removed immediately from the filesystem. So I suppose it's best to close this issue. |
I get this error when running
myproject python khinsider.py
Installing beautifulsoup4...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1436, in install
requirement.install(install_options, global_options, _args, *_kwargs)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 672, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 902, in move_wheel_files
pycompile=self.pycompile,
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 206, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 193, in clobber
os.makedirs(destsubdir)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.4.1.dist-info'
Storing debug log for failure in /home/nitrous/.pip/pip.log
Traceback (most recent call last):
File "khinsider.py", line 60, in
from bs4 import BeautifulSoup
ImportError: No module named bs4
The text was updated successfully, but these errors were encountered: