当前位置:网站首页>在终端pip install xxx但在pycharm却no module named xxx
在终端pip install xxx但在pycharm却no module named xxx
2022-06-24 06:42:00 【Mosquito...】
打开file -> settings -> python interpreter,发现自己使用的python环境中并没有cvxpy这个包,原因是这个我是在anaconda base环境下安装的这个包
base环境下是有这个包的:
这里只需要切换一下pycharm的python环境就好了

选择现有的环境即可,注意 anaconda 的 base 环境并不在 envs 文件夹下,而是 anaconda 的根目录,若想要选择 anaconda 中的其他虚拟环境,选择 envs 目录下的虚拟环境中对应的 python.exe 文件即可
最后确认就好了
边栏推荐
- Open source and innovation
- JVM調試工具-Arthas
- 0 foundation a literature club low code development member management applet (III)
- 大厂不是衡量能力的唯一出路,上财学姐毕业三年的经验分享
- Record the problem location experience when an application is suddenly killed
- The cloud monitoring system hertzbeat V1.1.0 is released, and a command starts the monitoring journey!
- 年中了,准备了少量的自动化面试题,欢迎来自测
- Multi sensor fusion track fusion
- One year since joining Tencent
- What is the main function of cloud disk? How to restore deleted pictures
猜你喜欢
随机推荐
[binary tree] - middle order traversal of binary tree
The data synchronization tool dataX has officially supported reading and writing tdengine
[binary number learning] - Introduction to trees
【图像融合】基于伪 Wigner 分布 (PWD) 实现图像融合附matlab代码
Introduction to raspberry pie 4B development board
潞晨科技获邀加入NVIDIA初创加速计划
FreeRTOS MPU使系统更健壮!
【帧率倍频】基于FPGA的视频帧率倍频系统verilog开发实现
Bay area enterprises quick look! The focus of the data regulations of Shenzhen Special Economic Zone just released is coming!
Application of intelligent reservoir management based on 3D GIS system
为什么要用lock 【readonly】object?为什么不要lock(this)?
C: use of mutex
OMX initialization process
Tencent host security captures Yapi remote code execution 0day vulnerability for wild exploitation. The attack is spreading and can be intercepted by firewall
Hyperledger fabric ledger snapshot - fast data synchronization
Development of IOT device end - establishment of development environment
RealNetworks vs. Microsoft: the battle in the early streaming media industry
On update current in MySQL_ TIMESTAMP
JVM debugging tool -jstack
mysql中的 ON UPDATE CURRENT_TIMESTAMP





![[binary number learning] - Introduction to trees](/img/7d/c01bb58bc7ec9c88f857d21ed07a2d.png)



