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 trying to install on web server Please help! #9927

Closed
Neney22 opened this issue Jun 27, 2016 · 6 comments
Closed

Error when trying to install on web server Please help! #9927

Neney22 opened this issue Jun 27, 2016 · 6 comments

Comments

@Neney22
Copy link

@Neney22 Neney22 commented Jun 27, 2016

error: could not create '/usr/lib/python2.6/site-packages/youtube_dl_server': Read-only file system

I am using a shared hosting so i could not use sudo, any suggestions?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 27, 2016

Probably you are trying to install https://github.com/jaimeMF/youtube-dl-api-server, report the issue there.

@jaimeMF jaimeMF closed this Jun 27, 2016
@Neney22
Copy link
Author

@Neney22 Neney22 commented Jun 27, 2016

it does the same thing when i use youtube-dl

error: could not create '/usr/lib/python2.6/site-packages/youtube_dl': Read-only file system

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 27, 2016

Since you haven't post the command you are running and the full output, we can't provide full help. If you are using pip install youtube-dl, you either need to run it with sudo or use the --user option.

@Neney22
Copy link
Author

@Neney22 Neney22 commented Jun 27, 2016

When I use the command pip install youtube-dl this is the full output i get: Downloading/unpacking youtube-dl
Running setup.py egg_info for package youtube-dl
Installing collected packages: youtube-dl
Running setup.py install for youtube-dl
error: could not create '/usr/lib/python2.6/site-packages/youtube_dl': Read-only file system
Complete output from command /usr/bin/python -c "import setuptools;file='/home3/nekle/build/youtube-dl/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-GJTTWZ-record/install-record.txt:
running install

running build

running build_py

running install_lib

creating /usr/lib/python2.6/site-packages/youtube_dl

error: could not create '/usr/lib/python2.6/site-packages/youtube_dl': Read-only file system


Command /usr/bin/python -c "import setuptools;file='/home3/nekle/build/youtube-dl/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-GJTTWZ-record/install-record.txt failed with error code 1 in /home3/nekle/build/youtube-dl
Storing complete log in /home3/nekle/.pip/pip.log

I cannot run sudo since its a shared hosting and is not letting me use it. How can i use the --user option?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 27, 2016

I cannot run sudo since its a shared hosting and is not letting me use it. How can i use the --user option?

pip install --user youtube-dl?

@Neney22
Copy link
Author

@Neney22 Neney22 commented Jun 27, 2016

Thank you so much !! it worked!! you saved my life :)

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.