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

Failed to install package 'PyVimeo' #129

Open
maclove9 opened this issue Jul 20, 2018 · 33 comments
Open

Failed to install package 'PyVimeo' #129

maclove9 opened this issue Jul 20, 2018 · 33 comments
Labels

Comments

@maclove9
Copy link

maclove9 commented Jul 20, 2018

Hi, I'm trying to install with PyCharm(windows 10)

Excuted command :
pip install Pyvimeo

Command output :

Collecting PyVimeo
  Using cached https://files.pythonhosted.org/packages/b8/d9/7dd9a8748482d2dd6004685d36f8c89cbf2c4d4033f2b513803b49b54f4c/PyVimeo-1.0.5.tar.gz
Requirement already satisfied: requests>=2.4.0 in d:\work\web\tc-btest-backend\venv\lib\site-packages (from PyVimeo) (2.19.1)
Collecting tuspy==0.2.1 (from PyVimeo)
  Using cached https://files.pythonhosted.org/packages/ce/23/f8cdb6ec7a3c43b8913843279bc4a61736578a1d0f950c3dd6a94f13fc0e/tuspy-0.2.1.tar.gz
Requirement already satisfied: certifi>=2017.4.17 in d:\work\web\tc-btest-backend\venv\lib\site-packages (from requests>=2.4.0->PyVimeo) (2017.7.27.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in d:\work\web\tc-btest-backend\venv\lib\site-packages (from requests>=2.4.0->PyVimeo) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in d:\work\web\tc-btest-backend\venv\lib\site-packages (from requests>=2.4.0->PyVimeo) (2.7)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in d:\work\web\tc-btest-backend\venv\lib\site-packages (from requests>=2.4.0->PyVimeo) (1.23)
Collecting pycurl==7.43.0 (from tuspy==0.2.1->PyVimeo)
  Using cached https://files.pythonhosted.org/packages/12/3f/557356b60d8e59a1cce62ffc07ecc03e4f8a202c86adae34d895826281fb/pycurl-7.43.0.tar.gz
    Complete output from command python setup.py egg_info:
    Please specify --curl-dir=/path/to/built/libcurl
    
    ----------------------------------------

Command "python setup.py egg_info" failed with error code 10 in C:\Users\maclove\AppData\Local\Temp\pycharm-packaging\pycurl\
@erunion
Copy link
Contributor

erunion commented Jul 20, 2018

I don't have a Windows machine to test, but how are you attempting to install the package? Within PyCharm, or from your Windows shell?

@maclove9
Copy link
Author

@erunion I tried both(PyCharm 2018.1 and Window shell). The same error has occurred.

@Onebrownsound
Copy link
Collaborator

@maclove9 Try installing the PyCurl package (via MSI or Wheel) manually from here. You should be looking for the pycurl-7.43.0-cp27-none-win_amd64.whl for the wheel or pycurl-7.43.0.win-amd64-py2.7.msi for the MSI version.

  • If you opt for the wheel it can be installed with pip install <path_to_wheel_file>
  • The MSI should be double clickable/GUIi based (iirc).

Lmk, how this goes.

@maclove9
Copy link
Author

@Onebrownsound I tried install the Pycurl, but result same.

@tocsinde
Copy link

@maclove9: Are you using Python 3.7? IIRC pycurl is supported up to Python 3.6 (as stated here: https://pypi.org/project/pycurl/), maybe that's related to the issue.

@maclove9
Copy link
Author

@tocsinde I succeed install PyCurl, but result same.
I succeed install PyVimeo at my mac, but failed at my windows pc.

@erunion
Copy link
Contributor

erunion commented Jul 25, 2018

After getting PyCurl installed successfully, are you getting a different output from pip, or the same telling you to specify the path to libcurl?

@Onebrownsound
Copy link
Collaborator

@maclove9 Having a tough time reproducing. With a fresh Python (2.7) install with no packages or PyCurl/Curl on the system, the pip install functioned. What version of Python are you using?
pyvimeo_install

@maclove9
Copy link
Author

@Onebrownsound Python 3.6.6

pyvimeo

@phalox
Copy link

phalox commented Oct 4, 2018

I'm having the same issue on python 3.6.4. I've removed the upload part which depends on tusclient, I believe that's the only thing that requires pycurl. Removing this from the library fixed my issue!

@lucasvieiramay
Copy link

Same problem here!

@Jazzydex
Copy link

I am also having the same issue on 3.7 I can not get past the error stated above no matter what I install additionally or upgrade or fix. I have upgraded pip, setuptools and installed various other tools, however, I still get the error when attempting to install PyVimeo

@Jazzydex
Copy link

ok so here is the solution to this process. You have to download the PyVimeo download from the same place you found the issues. I downloaded it to the c drive. Then I ran that package python -m pip install c:\filename.gz --user and it works fine, you will need to update pip and setup tools as well. At least I did. You only get the issue if you attempt to download the file and install at the same time.

@erunion
Copy link
Contributor

erunion commented Oct 24, 2018

If @Jazzydex's solution works for everyone else, we can update our readme with some Windows-specific clarifications.

@farhanmasud
Copy link

@erunion , it's not a Windows specific issue. I tried to install it on my Ubuntu 16.04, it shows the same error.

@farhanmasud
Copy link

@Jazzydex , can you please elaborate? I didn't understand the solution. Do I have to download pyvimeo on a specific path?

@Jazzydex
Copy link

Jazzydex commented Nov 12, 2018 via email

@Jazzydex
Copy link

Jazzydex commented Nov 12, 2018 via email

@mitchtabian
Copy link

mitchtabian commented Nov 19, 2018

@Jazzydex fix worked for me also. I just downloaded the Zip from the Github page and moved the "vimeo" folder into my Python "Lib" folder. The only other issue I ran into was I needed to install "tus-py" https://github.com/tus/tus-py-client. But that was a simple pip install tuspy.

After tuspy was installed I was able to import vimeo into my python files.

@Jazzydex
Copy link

Jazzydex commented Nov 19, 2018 via email

@gabrielmontagne
Copy link

I have the same problem on Debian 9.6 -- PyVimeo wouldn't install from pip (on a anaconda setup)

gabriel@saclas:~/.sk$ python --version
Python 3.7.1
gabriel@saclas:~/.sk$ pip install PyVimeo
Collecting PyVimeo
Requirement already satisfied: requests>=2.4.0 in /home/gabriel/anaconda3/lib/python3.7/site-packages (from PyVimeo) (2.21.0)
Collecting tuspy==0.2.1 (from PyVimeo)
Requirement already satisfied: idna<2.9,>=2.5 in /home/gabriel/anaconda3/lib/python3.7/site-packages (from requests>=2.4.0->PyVimeo) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/gabriel/anaconda3/lib/python3.7/site-packages (from requests>=2.4.0->PyVimeo) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /home/gabriel/anaconda3/lib/python3.7/site-packages (from requests>=2.4.0->PyVimeo) (2018.11.29)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /home/gabriel/anaconda3/lib/python3.7/site-packages (from requests>=2.4.0->PyVimeo) (1.24.1)
Collecting six==1.10.0 (from tuspy==0.2.1->PyVimeo)
  Using cached https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting pycurl==7.43.0 (from tuspy==0.2.1->PyVimeo)
Requirement already satisfied: tinydb>=3.5.0 in /home/gabriel/anaconda3/lib/python3.7/site-packages (from tuspy==0.2.1->PyVimeo) (3.12.2)
tuspy 0.2.1 has requirement certifi==2017.7.27.1, but you'll have certifi 2018.11.29 which is incompatible.
Installing collected packages: six, pycurl, tuspy, PyVimeo
  Found existing installation: six 1.12.0
    Uninstalling six-1.12.0:
      Successfully uninstalled six-1.12.0
  Found existing installation: pycurl 7.43.0.2
Cannot uninstall 'pycurl'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
gabriel@saclas:~/.sk$

I cloned this repo, and copied the vimeo folder / module to my app and it worked fine for me so I stopped my investigations there.

@Onebrownsound
Copy link
Collaborator

@gabrielmontagne Please try appending --ignore-installed to the pip install PyVimeo command.

@gabrielmontagne
Copy link

@gabrielmontagne Please try appending --ignore-installed to the pip install PyVimeo command.

thanks, that worked perfectly 👍

@vztu
Copy link

vztu commented Apr 21, 2019

@gabrielmontagne Please try appending --ignore-installed to the pip install PyVimeo command.

This works for me!

@ralabate
Copy link

ralabate commented Jul 18, 2019

I get the same problem on MacOS 10.14.2. I am using the default installation of Python and the command "sudo pip install PyVimeo --ignore-installed?

I get the error:

ERROR: tuspy 0.2.1 has requirement certifi==2017.7.27.1, but you'll have certifi 2019.6.16 which is incompatible.

If I go into an interactive Python session, I can import vimeo but it causes this error:

ImportError: pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)

@aliwo
Copy link

aliwo commented Oct 10, 2019

My Environment

Python 3.6
Windows 10

What Happened

I paste the 'vimeo' folder into my python Lib folder.
But...
as I do

v = vimeo.VimeoClient(
    token='YOUR_ACCESS_TOKEN',
    key='YOUR_CLIENT_ID',
    secret='YOUR_CLIENT_SECRET'
)

an error occurs

    v = vimeo.VimeoClient(
AttributeError: module 'vimeo' has no attribute 'VimeoClient'

Any insight?

@aliwo
Copy link

aliwo commented Oct 10, 2019

Figured it out... the problem was the name of the file.
test.py -> hi.py
The error has gone.

@Aniket-Singla
Copy link

I am also getting the same error. Please specify --curl-dir=/path/to/built/libcurl. Do I have to manually download and place the folder inside python libs?

@chezhiane
Copy link

please reopen this issue

@jonathanmach
Copy link

Same issue here, also using Windows.

@Aron-HD
Copy link

Aron-HD commented May 12, 2020

EDIT:

Scratch that, @mitchtabian answer was correct.

  1. download vimeo.py-master.zip file from GitHub
  2. extract wherever
  3. go into the extracted folder 'vimeo.py-master' and cut/copy the 'vimeo' folder into the 'Lib' folder in your python.exe location ('...[USER]/AppData/Local/Programs/Python37' or whatever)
  4. test import vimeo in a .py file
  5. pip install any missing modules (I needed requests & tuspy ['tusclient' module error])

hope that helps.

@kartikdani
Copy link

kartikdani commented May 13, 2020

I getting the error i install successfully pyvimeo in mac. but it's give me the error like

Module 'vimeo' has no attribute 'vimeoclient'
on upload.
version :

PyVimeo==1.0.11

@kartikdani
Copy link

My Environment

Python 3.6
Windows 10

What Happened

I paste the 'vimeo' folder into my python Lib folder.
But...
as I do

v = vimeo.VimeoClient(
    token='YOUR_ACCESS_TOKEN',
    key='YOUR_CLIENT_ID',
    secret='YOUR_CLIENT_SECRET'
)

an error occurs

    v = vimeo.VimeoClient(
AttributeError: module 'vimeo' has no attribute 'VimeoClient'

Any insight?

I getting the error i install successfully pyvimeo in mac. but it's give me the error like

Module 'vimeo' has no attribute 'vimeoclient'
on upload.
version :

PyVimeo==1.0.11

Do you have any idea why i m getting this error

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

No branches or pull requests