Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98994

Problem with importing camelcase module to Python (VSCode terminal)

$
0
0

I am trying to import camelcase module to python:

from camelcase import CamelCase
txt = 'hello there world'
c = CamelCase()
print(c.hump(txt))

I get an error: ModuleNotFoundError: No module named 'camelcase'

I tried also:

import camelcase
txt = 'hello there world'
c = camelcase.CamelCase()
print(c.hump(txt))

Same issue. I have newest version of pip installed:

--pip --version
pip 20.0.2 from C:\Users\Eryk Słowiński\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\pip (python 3.7)

And for sure I have installed camelcase

--pip freeze
appdirs==1.4.3
camelcase==0.2
importlib-metadata==1.5.0
virtualenv==20.0.3
zipp==2.2.0

What am I doing wrong?


Viewing all articles
Browse latest Browse all 98994

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>