Can't install codec nor upgrade pip - Stack Overflow

文章推薦指數: 80 %
投票人數:10人

1 Answer 1 ... codec doesn't provide any installation packages — no wheels, no eggs, no source distributions. Its git repository doesn't contain ... Home Public Questions Tags Users Companies Collectives ExploreCollectives Teams StackOverflowforTeams –Startcollaboratingandsharingorganizationalknowledge. CreateafreeTeam WhyTeams? Teams CreatefreeTeam Collectives™onStackOverflow Findcentralized,trustedcontentandcollaboratearoundthetechnologiesyouusemost. LearnmoreaboutCollectives Teams Q&Aforwork Connectandshareknowledgewithinasinglelocationthatisstructuredandeasytosearch. LearnmoreaboutTeams Can'tinstallcodecnorupgradepip AskQuestion Asked 3years,10monthsago Modified 3years,10monthsago Viewed 12ktimes 3 Iamworkingonaprojectthathasmanyencodeanddecodeissues,soItriedtoinstallcodecmoduleformypython3.7: soIdid: $pipinstallcodec andtheCommandpromptwindowsshowedasbelow: CollectingcodecCouldnotfindaversionthatsatisfiesthe requirementcodec(fromversions:)Nomatchingdistributionfoundfor codecYouareusingpipversion10.0.1,howeverversion18.1is available.Youshouldconsiderupgradingviathe'python-mpip install--upgradepip'command. thenIdidthepipupgradefollowedastheabovetoversion18.1: $python-mpipinstall--upgradepip andtheCommandwindowsshowedasbelow: Installingcollectedpackages:pipFoundexistinginstallation:pip 10.0.1 Uninstallingpip-10.0.1: Successfullyuninstalledpip-10.0.1Successfullyinstalledpip-18.1 andIused $piplist tocheckthepipversionis18.1>>>Itdidupgrade. thenIdidinstallcodecsagain: $pipinstallcodec andtheCommandwindowsshowedasbelow: CollectingcodecCouldnotfindaversionthatsatisfiesthe requirementcodec(fromversions:)Nomatchingdistributionfoundfor codec soIputanothercommand: $pipinstall--upgradepip-vvv andtheCommandwindowsshowedasbelow: Configvariable'Py_DEBUG'isunset,PythonABItagmaybeincorrect Configvariable'WITH_PYMALLOC'isunset,PythonABItagmaybe incorrect --------leaveoutbetweensection---------------------------------------- Requirementalreadyup-to-date:pipin c:\users\XXX\appdata\local\programs\python\python37\lib\site-packages (18.1) WhatshouldIdonext? Isanyonecouldhelpme,please. pythonpython-3.xpip Share Follow editedDec4,2018at22:26 phd 73.6k1111goldbadges105105silverbadges143143bronzebadges askedDec4,2018at22:12 HenrychenHenrychen 3511goldbadge11silverbadge33bronzebadges 1 Didyouhappentoinstalltensorflowrecently? – Shivid Dec4,2018at22:43 Addacomment  |  1Answer 1 Sortedby: Resettodefault Highestscore(default) Trending(recentvotescountmore) Datemodified(newestfirst) Datecreated(oldestfirst) 6 codecdoesn'tprovideanyinstallationpackages—nowheels,noeggs,nosourcedistributions. Itsgitrepositorydoesn'tcontainanycodebeyondsetup.py. I'msurethepackageisnotwhatyouwant.You'reprobablylookingformodulecodecs.Itisinthestandardrepository,thatisit'salwaysavailable,noneedtoinstallit. Share Follow answeredDec4,2018at22:25 phdphd 73.6k1111goldbadges105105silverbadges143143bronzebadges 1 Thankyousomuch,Justlikeyourmention"codecs"noneedtoinstallit.Appreciateyourhelp.. – Henrychen Dec8,2018at4:04 Addacomment  |  YourAnswer ThanksforcontributingananswertoStackOverflow!Pleasebesuretoanswerthequestion.Providedetailsandshareyourresearch!Butavoid…Askingforhelp,clarification,orrespondingtootheranswers.Makingstatementsbasedonopinion;backthemupwithreferencesorpersonalexperience.Tolearnmore,seeourtipsonwritinggreatanswers. Draftsaved Draftdiscarded Signuporlogin SignupusingGoogle SignupusingFacebook SignupusingEmailandPassword Submit Postasaguest Name Email Required,butnevershown PostYourAnswer Discard Byclicking“PostYourAnswer”,youagreetoourtermsofservice,privacypolicyandcookiepolicy Nottheansweryou'relookingfor?Browseotherquestionstaggedpythonpython-3.xpiporaskyourownquestion. TheOverflowBlog HowtoearnamillionreputationonStackOverflow:beofservicetoothers Therightwaytojobhop(Ep.495) FeaturedonMeta BookmarkshaveevolvedintoSaves Inboximprovements:markingnotificationsasread/unread,andafiltered... Revieweroverboard!Orarequesttoimprovetheonboardingguidancefornew... CollectivesUpdate:RecognizedMembers,Articles,andGitLab Shouldweburninatethe[script]tag? Related 2573 HowtoupgradeallPythonpackageswithpip? 605 HowcanIupgradespecificpackagesusingpipandarequirementsfile? 2705 HowdoIinstallpiponWindows? 1765 Installingspecificpackageversionwithpip 1571 HowcanIinstallpackagesusingpipaccordingtotherequirements.txtfilefromalocaldirectory? 1672 HowdoIinstallpiponmacOSorOSX? 984 pipinstallfromgitrepobranch 311 FailedtoinstallPythonCryptographypackagewithPIPandsetup.py 207 Upgradepythonpackagesfromrequirements.txtusingpipcommand 321 Couldnotfindaversionthatsatisfiestherequirementtensorflow HotNetworkQuestions Whyare"eat"and"drink"differentwordsinlanguages? Doyoupayforthebreakfastinadvance? Howtoelegantlyimplementthisoneusefulobject-orientedfeatureinMathematica? Alternativeversionsofbreathing? LeavingaTTjobthenre-enteringacademia:Areaofbusinessandmanagement Wouldmerfolkgainanyrealadvantagefrommounts(andbeastsofburden)? DoestheDemocraticPartyofficiallysupportrepealingtheSecondAmendment? Canyoufindit? Howtoremovetikznode? Whydostringhashcodeschangeforeachexecutionin.NET? Howdouncomputablenumbersrelatetouncomputablefunctions? Levinson'salgorithmandQRdecompositionforcomplexleast-squaresFIRdesign Shouldselectedoptionsberemovedfromsingle-andmulti-selectdropdownlists? Howtoproperlycolorcellsinalatextablewithoutscrewingupthelines? LaTeX2(e)vsLaTeX3 HowtoruntheGUIofWindowsFeaturesOn/OffusingPowershell Myfavoriteanimalisa-singularandpluralform What'sthedifferencebetween'Dynamic','Random',and'Procedural'generations? Howtoplug2.5mm²strandedwiresintoapushwirewago? Sortbycolumngroupandignoreothercolumnsfailingforthisexample,why? WhatisthecurrentstatusofwatchtowerimplementationsinOctober2022?Aretheymature,widelyinuse? Traditionally,andcurrently,whatstopshumanvotecountersfromalteringballotstomakethem'Spoilt/Invalidvotes? Awordfor"amessagetomyself" Howdoyoucalculatethetimeuntilthesteady-stateofadrug? morehotquestions Questionfeed SubscribetoRSS Questionfeed TosubscribetothisRSSfeed,copyandpastethisURLintoyourRSSreader. lang-py Yourprivacy Byclicking“Acceptallcookies”,youagreeStackExchangecanstorecookiesonyourdeviceanddiscloseinformationinaccordancewithourCookiePolicy. Acceptallcookies Customizesettings  



請為這篇文章評分?