Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Python modules in python3 krijgen  (gelezen 1637 keer)

Python modules in python3 krijgen
« Gepost op: 2011/04/16, 10:59:28 »
Ik ben een beetje vastgelopen. Ik weet niet hoe ik modules in python3 krijg, omdat ze gelijk naar python2.6 gaan, het standaard van Ubuntu. Hoe krijg ik ze toch in 3?
Desktop:
Processor: Intel® Core™2 Quad CPU Q8300 @ 2.50GHz × 4, Geheugen: 3.9Gb, GPU: nVidia 220GT OS: Windows 7 64 bit / Ubuntu 12.04 64 bit
Notebook:
Processor: Intel® Core™ i7-4700MQ, Geheugen: 8Gb, GPU: nVidia GTX765m (met Optimus) OS: Windows 8 64 bit / Elementary OS Luna 64 bit

Re: Python modules in python3 krijgen
« Reactie #1 Gepost op: 2011/04/30, 11:13:05 »
Niemand die het weet?
Desktop:
Processor: Intel® Core™2 Quad CPU Q8300 @ 2.50GHz × 4, Geheugen: 3.9Gb, GPU: nVidia 220GT OS: Windows 7 64 bit / Ubuntu 12.04 64 bit
Notebook:
Processor: Intel® Core™ i7-4700MQ, Geheugen: 8Gb, GPU: nVidia GTX765m (met Optimus) OS: Windows 8 64 bit / Elementary OS Luna 64 bit

Re: Python modules in python3 krijgen
« Reactie #2 Gepost op: 2011/04/30, 11:18:10 »
Kijken waar Python 3 geinstalleerd staat. Daar in de subdirectory /site-packages of /dist-packages . In het geval van de standaard 2.7 installatie is het /usr/lib/python2.7/dist-packages .

Re: Python modules in python3 krijgen
« Reactie #3 Gepost op: 2011/04/30, 12:04:08 »
Gevonden, alleen  in Python 3 is er geen directory site of dist-packages, waar moeten ze in Python 3 staan?
Desktop:
Processor: Intel® Core™2 Quad CPU Q8300 @ 2.50GHz × 4, Geheugen: 3.9Gb, GPU: nVidia 220GT OS: Windows 7 64 bit / Ubuntu 12.04 64 bit
Notebook:
Processor: Intel® Core™ i7-4700MQ, Geheugen: 8Gb, GPU: nVidia GTX765m (met Optimus) OS: Windows 8 64 bit / Elementary OS Luna 64 bit