GithubHelp home page GithubHelp logo

Comments (10)

Maverynthia avatar Maverynthia commented on August 16, 2024

I think I remember getting that error and I solved it by using Python 3.0 as I couldn't figure it out.

from khinsider.

obskyr avatar obskyr commented on August 16, 2024

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 lib directory. Maybe I should add an error message for that...

Try running these commands in whatever console Nitrous gives you (with sudo if it seems to require it):

pip install requests
pip install beautifulsoup4

Then see if it gets mad at you and report back.

from khinsider.

 avatar commented on August 16, 2024

khinsider git:(master) ✗ python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.

pip install beautifulsoup4
File "", line 1
pip install beautifulsoup4
^
SyntaxError: invalid syntax

from khinsider.

obskyr avatar obskyr commented on August 16, 2024

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.

from khinsider.

 avatar commented on August 16, 2024

pip install beautifulsoup4
Downloading/unpacking beautifulsoup4
Downloading beautifulsoup4-4.4.1-py2-none-any.whl (81kB): 81kB downloaded
Installing collected packages: beautifulsoup4
Cleaning up...
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

from khinsider.

 avatar commented on August 16, 2024

That's what I tried initially, still didn't work

from khinsider.

obskyr avatar obskyr commented on August 16, 2024

And Nitrous has pip, right? And you tried running with sudo?
On Mar 18, 2016 4:40 PM, "Lucas" [email protected] wrote:

That's what I tried initially, still didn't work


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#8 (comment)

from khinsider.

obskyr avatar obskyr commented on August 16, 2024

@lucasone Here, check this StackOverflow post out. Instead of pip install, try pip install --user.

from khinsider.

obskyr avatar obskyr commented on August 16, 2024

Psst, @lucasone, how's it looking?

from khinsider.

 avatar commented on August 16, 2024

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.

from khinsider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.