-
Notifications
You must be signed in to change notification settings - Fork 449
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
Bug: pip package manager related commands raises error #664
Comments
I would like to take up and fix this bug. |
Heyy @PrashanthPuneriya this issue does not seem to be valid as pip freeze does work with me .Can you see the Mentorship System API at local host on your computer?Might be a setup error from your side.I have approved the other issue! |
@vj-codes I think you haven't ran |
I did that when I first setup the repo .Can you run the project loacally? @PrashanthPuneriya |
@vj-codes Please follow the procedure to reproduce the bug. You need to recreate the virtual environment again. |
@PrashanthPuneriya Last I checked, |
@PrashanthPuneriya I would say try with 3.7 then, if you want to set up the environment now. |
Its working properly with me for 3.8 on windows @SanketDG |
@vj-codes @SanketDG To fix #664 we got two work-aroundsMethod-1 (Temporary work-around) :-
Method-2 (Permanent work-around) :-
To fix #212
|
#605 doesn't fix all the dependency bugs, it just upgrades to
It's a pretty common library to be used by packages that are written in C and have python bindings, so it's probably installed as a dependency of some other package. Can you do an audit of all packages in requirements to make sure no unneeded dependency is present? Then please open a PR with all dependencies updated to their latest versions! We are doing the same for portal Let me know if you have any questions. |
@SanketDG @vj-codes @isabelcosta I did some dig up in commits to find out when So, I think we can safely remove @SanketDG this might be the first step towards auditing the dependencies. |
@SanketDG so this issue is valid right? |
Remember that the other issue is for first timers only so you can't work on that later @PrashanthPuneriya |
Update@vj-codes @SanketDG @anitab-org/mentorship-managers I have updated the above comment. Please go through it once again and review it. @isabelcosta If you review this comment then we can proceed futher. Thanks! |
@PrashanthPuneriya Feel free to do any of the above, what ultimately matters is that we upgrade each and every dependency and then automate it using https://github.com/marketplace/dependabot-preview Please don't selectively upgrade, upgrade every dependency and see what breaks. We can iterate from there. And yes, you can choose to not upgrade anything involves |
Hey thanks, @PrashanthPuneriya , Let me try this |
sorry unable to find a clue :( |
No worries @soumyjain14! Did you successfully set up the project? At which part are you clueless? Let me help you getting started 😃 |
If you have successfully set up the project locally and replicated the error then start by googling out the error and always read the prevs comments to get more hints :) |
Are you still working on this @soumyjain14 ? Or should I assign someone else? |
Yes i would like to work...lemme take this up |
Oh sorry @pallavisavant I can't assign you. This is a first-timer issue. My bad I didn't checked thoroughly. I will mention you whenver I see a suitable issue. |
@PrashanthPuneriya oh okay ya thanks...👍 |
@PrashanthPuneriya I want to work on this issue |
Sure @KapilBansal320. Assigning you :) |
Hi, @PrashanthPuneriya I tested it on Python 3.8.2 on Ubuntu 20.04 and it seems to work perfectly for me. Although I will test it on Windows too but I don't think this issue is still valid or can you please guide me where I am going wrong? |
Hey @KapilBansal320 I just tested it again by recreating the environment and I am still getting the same error. |
@PrashanthPuneriya Okay can you provide me with the OS you are using also the version of Python too |
@KapilBansal320 |
@PrashanthPuneriya please review pull request #877 |
Describe the bug
pip freeze
,pip install
and other various pip related commands doesn't work and raises error due to thesix
older version package.It raises
ImportError: cannot import name 'ensure_str' from 'six'
To Reproduce
Steps to reproduce the behavior:
pip install -r requirements.txt
command.pip
related commands. For example runpip freeze
command.Expected behavior
pip
related commands must be executed without running into any error.Screenshots
The text was updated successfully, but these errors were encountered: