Coder Social home page Coder Social logo

Comments (5)

rohanjha123 avatar rohanjha123 commented on June 1, 2024 2

Thanks for reaching out @dimitryzub! The issue comes from the following line: Permission denied: '/Users/rohanjha/Library/Caches/pip/wheels/52/42'. In my Mac, there was a directory in /Users/rohanjha/Library/Caches/pip/wheels/52, but there was no /42 subdirectory. Furthermore, the package scrape-google-scholar-py did not have permission to create this subdirectory inside the wheels directory of my Mac. So, I manually went inside the wheels directory, changed the system permissions to allow me to edit the wheels directory and manually created the /42 subdirectory. The pip install worked after that!

from scrape-google-scholar-py.

rohanjha123 avatar rohanjha123 commented on June 1, 2024 1

Ah, I was able to figure it out by directly editing my wheels folder, apologies for wasting your time!

from scrape-google-scholar-py.

rohanjha123 avatar rohanjha123 commented on June 1, 2024 1

I installed them globally! Thanks for the suggestions

from scrape-google-scholar-py.

dimitryzub avatar dimitryzub commented on June 1, 2024

Ah, I was able to figure it out by directly editing my wheels folder, apologies for wasting your time!

Hi @rohanjha123, thank you for opening this issue! Could you explain in more detail how you fixed it? I don't have access to Mac and would like to add your solution to README for Mac users and tag you as a co-author in the commit.

What do you think? 🙂

from scrape-google-scholar-py.

dimitryzub avatar dimitryzub commented on June 1, 2024

@rohanjha123 Thank you for your thoughts 🙂

Could you tell if you used virtual environment when installing package for the first time? In other words, did you installed it globally or locally to virtual env?

I guess the CLI way of solving your issue could be by using:

sudo chmod -R a+w /Users/rohanjha/Library/Caches/pip/wheels

which will may grant write permission to all users for the specified directory and its contents.

So CLI commands could be like so:

$ python3.11 -m venv env # or just python3
$ source env/bin/activate
$ pip install scrape-google-scholar-py

# if error above:
$ sudo chmod -R a+w /Users/rohanjha/Library/Caches/pip/wheels
$ pip install scrape-google-scholar-py

Just wanted to share a few thoughts on that. Not really sure what might caused that issue.

from scrape-google-scholar-py.

Related Issues (13)

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.